back and forward buttons on chromium
This commit is contained in:
parent
e634f2a628
commit
f4b51b51e7
1 changed files with 6 additions and 4 deletions
|
@ -6,11 +6,11 @@ if [ "$1" = "btn1" ]; then
|
||||||
if [ "$active_window" = "anki" ]; then
|
if [ "$active_window" = "anki" ]; then
|
||||||
wtype " "
|
wtype " "
|
||||||
elif [ "$active_window" = "foot" ]; then
|
elif [ "$active_window" = "foot" ]; then
|
||||||
wtype -M ctrl -M shift -k c
|
wtype -M ctrl -M shift -k c -m ctrl -m shift
|
||||||
wtype -m ctrl
|
elif [ "$active_window" = "chromium-browser" ]; then
|
||||||
|
wtype -M alt -P right -p right -m alt
|
||||||
else
|
else
|
||||||
wtype -M ctrl -k c
|
wtype -M ctrl -k c -m ctrl
|
||||||
wtype -m ctrl
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$active_window" = "anki" ]; then
|
if [ "$active_window" = "anki" ]; then
|
||||||
|
@ -18,6 +18,8 @@ else
|
||||||
elif [ "$active_window" = "foot" ]; then
|
elif [ "$active_window" = "foot" ]; then
|
||||||
wtype -M ctrl -M shift -k v
|
wtype -M ctrl -M shift -k v
|
||||||
wtype -m ctrl
|
wtype -m ctrl
|
||||||
|
elif [ "$active_window" = "chromium-browser" ]; then
|
||||||
|
wtype -M alt -P left -p left -m alt
|
||||||
else
|
else
|
||||||
wtype -M ctrl -k v
|
wtype -M ctrl -k v
|
||||||
wtype -m ctrl
|
wtype -m ctrl
|
||||||
|
|
Loading…
Add table
Reference in a new issue