Merge pull request #1 from vladdoster/patch-3

Patch 3
This commit is contained in:
Vlad Doster 2020-01-26 19:56:01 -05:00 committed by GitHub
commit 007ace1138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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."
}

View File

@ -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