diff --git a/home/.zshrc.local b/home/.zshrc.local index 53a1d59..b7cf900 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -84,8 +84,11 @@ function touchpad() { touchpad="SynPS/2 Synaptics TouchPad" if [[ $1 == "disable" ]];then xinput disable "$touchpad" + notify-send "Touchpad" "Disabled" -i ~/.local/share/icons/Paper/48x48/notifications/notification-touchpad-disabled-symbolic.svg + else xinput enable "$touchpad" + notify-send "Touchpad" "Enabled" -i ~/.local/share/icons/Paper/48x48/notifications/notification-input-touchpad-symbolic.svg fi } @@ -99,6 +102,7 @@ alias dynamic-colors="~/.dynamic-colors/bin/dynamic-colors" ## Screen settings function ränder() { + ( case "$1" in "office") xrandr \ @@ -138,9 +142,13 @@ function ränder() { ;; *) echo "Invalid Preset" + notify-send "ränder" "Invalid Preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png + invalid="true" ;; esac + [ -z $invalid ] && notify-send "ränder" "Switched to preset $1" -i ~/.local/share/icons/Paper/48x48/devices/video-display.png feh --bg-fill ~/bg.jpg + ) } # Bugs