28 lines
740 B
Plaintext
28 lines
740 B
Plaintext
|
#!/bin/zsh
|
||
|
source "$HOME/.config/wryn/env.zsh"
|
||
|
|
||
|
COMMAND=$1
|
||
|
case $COMMAND in
|
||
|
next ) $DOTWRYN/bin/youtube-music next ;;
|
||
|
prev ) $DOTWRYN/bin/youtube-music prev ;;
|
||
|
play ) $DOTWRYN/bin/youtube-music play ;;
|
||
|
|
||
|
volumeup ) $DOTWRYN/bin/pulseaudio sink up ;;
|
||
|
volumedown ) $DOTWRYN/bin/pulseaudio sink down ;;
|
||
|
volumemute ) $DOTWRYN/bin/pulseaudio sink mute ;;
|
||
|
micmute ) $DOTWRYN/bin/pulseaudio source mute ;;
|
||
|
|
||
|
backlightup ) $DOTWRYN/bin/backlight up ;;
|
||
|
backlightdown ) $DOTWRYN/bin/backlight down ;;
|
||
|
|
||
|
lock ) $DOTWRYN/bin/i3lock ;;
|
||
|
|
||
|
bgrandomize ) $DOTWRYN/bin/randomize-background ;;
|
||
|
|
||
|
alternateterm ) $DOTWRYN/bin/kitty/alternate-theme ;;
|
||
|
|
||
|
logout ) $DOTWRYN/bin/i3/logout ;;
|
||
|
|
||
|
launch ) $DOTWRYN/bin/i3/launch-or-show ${@:2} ;;
|
||
|
esac
|