1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-09-26 14:00:57 +02:00
eoli3n-dotfiles/.i3/rofi_custom.sh

43 lines
828 B
Bash
Raw Normal View History

2016-09-20 17:30:29 +02:00
#!/bin/bash
2017-01-15 12:55:50 +01:00
action=$(echo -e "ompd\nompd-git\nspotify\ntransmission\nnicotine\nstreamstudio\nnetflix\nmps-youtube" | rofi -dmenu -p "custom:")
2016-09-20 17:30:29 +02:00
if [[ "$action" == "ompd" ]]
then
2016-10-27 10:48:53 +02:00
/usr/bin/google-chrome-stable --app="http://127.0.0.1/OMPD"
fi
if [[ "$action" == "ompd-git" ]]
then
/usr/bin/google-chrome-stable --app="http://127.0.0.1/ompd_test"
2016-09-20 17:30:29 +02:00
fi
if [[ "$action" == "transmission" ]]
then
/usr/bin/google-chrome-stable --app="http://localhost:9091/transmission/web/"
fi
2016-10-11 19:30:38 +02:00
if [[ "$action" == "streamstudio" ]]
then
streamstudio
fi
if [[ "$action" == "netflix" ]]
then
/usr/bin/google-chrome-stable --app="https://www.netflix.com"
fi
if [[ "$action" == "mps-youtube" ]]
then
urxvtc -e mpsyt
fi
if [[ "$action" == "nicotine" ]]
then
2017-01-15 12:55:50 +01:00
nicotine
2016-10-11 19:30:38 +02:00
fi
if [[ "$action" == "spotify" ]]
then
blockify
fi