nunOS/packages/3-gnome-extensions.sh

21 lines
520 B
Bash

sudo apt install xdotool
wget https://github.com/velitasali/gtktitlebar/releases/download/11.0/gtktitlebar-11.0.zip
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
sleep 1
echo "$name"
wmctrl -a $name
gnome-extensions enable gtktitlebar@velitasali.github.io