mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
changed wappslocal added wappsmenu
This commit is contained in:
parent
512cd94460
commit
1135a62b01
@ -119,8 +119,11 @@ exec --no-startup-id i3-msg 'workspace $tag4; exec urxvtc -e screen -rd weechat;
|
|||||||
#zmenu
|
#zmenu
|
||||||
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
||||||
|
|
||||||
#gcmenu
|
#wappslocalmenu
|
||||||
bindsym $mod+Shift+s exec ~/.i3/gcmenu.sh
|
bindsym $mod+Control+Left exec ~/.i3/wappslocalmenu.sh
|
||||||
|
|
||||||
|
#wappslocalmenu
|
||||||
|
bindsym $mod+Control+Right exec ~/.i3/wappsmenu.sh
|
||||||
|
|
||||||
#screenbug
|
#screenbug
|
||||||
bindsym $mod+Control+x exec ~/screenbug.sh
|
bindsym $mod+Control+x exec ~/screenbug.sh
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
13
.i3/wappslocalmenu.sh
Executable file
13
.i3/wappslocalmenu.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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 2)
|
||||||
|
|
||||||
|
if [[ "$action" == "ompd" ]]
|
||||||
|
then
|
||||||
|
/usr/bin/google-chrome-stable --app="http://127.0.0.1/ompd"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "transmission" ]]
|
||||||
|
then
|
||||||
|
/usr/bin/google-chrome-stable --app="http://localhost:9091/transmission/web/"
|
||||||
|
fi
|
||||||
|
|
9
.i3/wappsmenu.sh
Executable file
9
.i3/wappsmenu.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
urll=$(echo -e | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "gsearch >" -w 500 -o 0.9 -y 21 -q)
|
||||||
|
|
||||||
|
lucky(){ url=$(echo "http://www.google.com/search?hl=en&q=$@&btnI=I%27m+Feeling+Lucky&aq=f&oq=" | sed 's/ /+/g'); google-chrome-stable --app=$url; };
|
||||||
|
|
||||||
|
if [[ $urll != "" ]]
|
||||||
|
then
|
||||||
|
lucky $urll
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user