diff --git a/i3/config b/i3/config index 3c78e3b..a80c358 100644 --- a/i3/config +++ b/i3/config @@ -46,7 +46,7 @@ bindsym $mod+XF86MonBrightnessDown exec "xbacklight -dec 5 -time 0 -steps 1" bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')" bindsym XF86AudioRaiseVolume exec "amixer set Master 7%+ unmute" bindsym XF86AudioLowerVolume exec "amixer set Master 7%- unmute" -bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle" +bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle;amixer set Master 0%" # Toggle toucpad bindsym $mod+backslash exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')" # Movement @@ -107,7 +107,7 @@ bindsym $mod+shift+u focus child bindsym --release $mod+n exec "~/.i3/run.sh paste" # Exit/restart i3 bindsym $mod+q restart -bindsym $mod+shift+q exec "i3-nagbar -m 'Shutdown/Restart/Logout' -t warning -b Shutdown 'sudo /sbin/poweroff' -b Restart 'sudo /sbin/shutdown -r now' -b Logout 'i3-msg exit' -b Sleep 'slock&until echo mem|sudo tee /sys/power/state>/dev/null;do sleep 1;done;sleep 4;nmcli radio wifi off;sleep 3;nmcli radio wifi on'" +bindsym $mod+shift+q exec "i3-nagbar -m 'Shutdown/Restart/Logout' -t warning -b Shutdown 'sudo /sbin/poweroff' -b Restart 'sudo /sbin/shutdown -r now' -b Logout 'i3-msg exit' -b Sleep 'amixer set Master 0% mute;slock&until echo mem|sudo tee /sys/power/state>/dev/null;do sleep 1;done;sleep 4;nmcli radio wifi off;sleep 3;nmcli radio wifi on'" # Wallpaper bindsym $mod+shift+w exec "~/.i3/run.sh wall" diff --git a/shells/zshrc b/shells/zshrc index ea747eb..77498f9 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -346,7 +346,7 @@ fixsh(){ } mv() { /bin/mv -v "$@" } m() { mv "$@" } -compdef _cp c cfat m mv cp +compdef _cp c cfat m mv cp adb apush apull paste() { NAME="-d title=Command run at $(date '+%d/%h/%y %H:%M:%S') on $(hostname)" if [[ ! -z "$1" ]]; then