diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e3a0e537..0f8a61dc 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -5,6 +5,11 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" +# History +HISTSIZE=1000 +SAVEHIST=1000 +HISTFILE=$ZDOTDIR/.history + autoload -U compinit zstyle ':completion:*' menu select zmodload zsh/complist diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index 67844024..e01c7eb3 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -31,6 +31,8 @@ mountusb() { \ mountandroid() { \ chosen=$(echo "$anddrives" | dmenu -i -p "Which Android device?" | cut -d : -f 1) getmount "$HOME -maxdepth 3 -type d" + simple-mtpfs --device "$chosen" "$mp" + echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter" simple-mtpfs --device "$chosen" "$mp" notify-send "🤖 Android Mounting" "Android device mounted to $mp." } diff --git a/.xprofile b/.xprofile index f42ffb06..8a61905c 100644 --- a/.xprofile +++ b/.xprofile @@ -6,7 +6,7 @@ autorandr -c remaps & # run the remaps script, switching caps/esc and more; check it for more info setbg & # set the background with the `setbg` script -# xcompmgr & # xcompmgr for transparency +xcompmgr & # xcompmgr for transparency dunst & # dunst for notifications sxhkd -m 1 & # Bind keys with sxhkd xset r rate 300 50 & # Speed xrate up