mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
i3/scripts: tabtoLastWorkspace
This commit is contained in:
parent
4195d1dd8f
commit
e1c6d9d32b
1 changed files with 28 additions and 0 deletions
28
i3/scripts/tabToLastWorkspace.sh
Executable file
28
i3/scripts/tabToLastWorkspace.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
delay="0.3"
|
||||
|
||||
# Press Alt + Shift + 0
|
||||
sleep $delay
|
||||
xdotool keydown alt keydown shift keydown 0
|
||||
sleep $delay
|
||||
xdotool keyup 0 keyup shift keyup alt
|
||||
sleep $delay
|
||||
|
||||
# Press Win + f
|
||||
xdotool keydown Super_L keydown f
|
||||
xdotool keyup f keyup Super_L
|
||||
|
||||
# Press Win + Shift + 0
|
||||
xdotool keydown Super_L keydown shift keydown 0
|
||||
xdotool keyup 0 keyup shift keyup Super_L
|
||||
|
||||
# Press Win + 0
|
||||
xdotool keydown Super_L keydown 0
|
||||
xdotool keyup 0 keyup Super_L
|
||||
# sleep $delay
|
||||
|
||||
# Press Win + Shift + Space
|
||||
xdotool keydown Super_L keydown shift keydown space
|
||||
xdotool keyup space keyup shift keyup Super_L
|
||||
# sleep $delay
|
||||
Loading…
Add table
Add a link
Reference in a new issue