From 07e346f06591ea92b7399ba27c4eb1c3c18f191d Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 8 May 2017 22:24:12 -0400 Subject: [PATCH] Modifications --- i3/config | 4 ++-- shells/zshrc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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