mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
added gcmenu
This commit is contained in:
parent
f08eb7e063
commit
512cd94460
@ -119,6 +119,9 @@ exec --no-startup-id i3-msg 'workspace $tag4; exec urxvtc -e screen -rd weechat;
|
||||
#zmenu
|
||||
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
||||
|
||||
#gcmenu
|
||||
bindsym $mod+Shift+s exec ~/.i3/gcmenu.sh
|
||||
|
||||
#screenbug
|
||||
bindsym $mod+Control+x exec ~/screenbug.sh
|
||||
|
||||
|
28
.i3/gcmenu.sh
Executable file
28
.i3/gcmenu.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
action=$(echo -e "ompd\nsoundcloud\ngmaps\nnetflix\ntransmission" | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "wapps >" -w 190 -o 0.9 -y 21 -l 5)
|
||||
|
||||
if [[ "$action" == "ompd" ]]
|
||||
then
|
||||
/usr/bin/google-chrome-stable --app="http://127.0.0.1/ompd"
|
||||
fi
|
||||
|
||||
if [[ "$action" == "soundcloud" ]]
|
||||
then
|
||||
/usr/bin/google-chrome-stable --app="https://soundcloud.com/stream"
|
||||
fi
|
||||
|
||||
if [[ "$action" == "gmaps" ]]
|
||||
then
|
||||
/usr/bin/google-chrome-stable --app="http://www.googlemaps.com"
|
||||
fi
|
||||
|
||||
if [[ "$action" == "netflix" ]]
|
||||
then
|
||||
/usr/bin/google-chrome-stable --app="https://www.netflix.com"
|
||||
fi
|
||||
|
||||
if [[ "$action" == "transmission" ]]
|
||||
then
|
||||
/usr/bin/google-chrome-stable --app="http://localhost:9091/transmission/web/"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user