+ Added scripts directory
This commit is contained in:
parent
c42020a930
commit
08332199a2
23 changed files with 547 additions and 0 deletions
21
.scripts/video.sh
Executable file
21
.scripts/video.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/dash
|
||||
choices="Cancel\0icon\x1fzcancel
|
||||
Electron Player\0icon\x1fzE
|
||||
KODI\0icon\x1fzkodi
|
||||
Twitch\0icon\x1fztwitch
|
||||
VLC\0icon\x1fzvlc
|
||||
YouTube\0icon\x1fzyt"
|
||||
|
||||
message="What video player do you want to launch?"
|
||||
|
||||
chosen=$(echo -e "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
|
||||
|
||||
case "$chosen" in
|
||||
KODI) notify-send "Launching..." "KODI" && kodi ;;
|
||||
"Electron Player") notify-send "Launching..." "Electron Player" && electronplayer ;;
|
||||
VLC) notify-send "Launching..." "VLC" && vlc ;;
|
||||
YouTube) notify-send "Launching..." "$chosen" && urxvt -e youtube-viewer ;;
|
||||
Twitch) notify-send "Launching..." "$chosen" && urxvt -e twitch-curses ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue