Modifications

This commit is contained in:
Austen Adler 2017-05-08 22:24:12 -04:00
parent cb838ded70
commit 07e346f065
2 changed files with 3 additions and 3 deletions

View File

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

View File

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