dotwryn/bin/i3/utils
yage 4c274248f1 MISC
- added sync media directories
- zsh plugin update
2022-03-07 12:35:14 -07:00

28 lines
741 B
Bash
Executable File

#!/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/set-background random ;;
alternateterm ) $DOTWRYN/bin/kitty/alternate-theme ;;
logout ) $DOTWRYN/bin/i3/logout ;;
launch ) $DOTWRYN/bin/i3/launch-or-show ${@:2} ;;
esac