feat: get return focus after restarting gnome-shell working
This commit is contained in:
parent
ae8d7c1f74
commit
f81398c397
BIN
gtktitlebar-11.0.zip
Normal file
BIN
gtktitlebar-11.0.zip
Normal file
Binary file not shown.
|
@ -1,2 +1,16 @@
|
||||||
|
sudo apt install xdotool
|
||||||
|
|
||||||
wget https://github.com/velitasali/gtktitlebar/releases/download/11.0/gtktitlebar-11.0.zip
|
wget https://github.com/velitasali/gtktitlebar/releases/download/11.0/gtktitlebar-11.0.zip
|
||||||
sudo unzip gtktitlebar-11.0.zip -d /usr/share/gnome-shell/extensions
|
yes | sudo unzip gtktitlebar-11.0.zip -d /usr/share/gnome-shell/extensions
|
||||||
|
rm gtktitlebar-11.0.zip
|
||||||
|
|
||||||
|
name=$(xdotool getwindowfocus getwindowname)
|
||||||
|
killall -3 gnome-shell && sleep 5
|
||||||
|
# sleep 1 && wmctrl -a $name
|
||||||
|
wmctrl -a "hephaestus@kedalion: ~/nunOS"
|
||||||
|
echo 1
|
||||||
|
# xdotool key a
|
||||||
|
xdotool key Tab
|
||||||
|
xdotool key Return
|
||||||
|
xdotool key a
|
||||||
|
wmctrl -a "$name"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user