-
Notifications
You must be signed in to change notification settings - Fork 1
/
gnome-extensions
executable file
·59 lines (49 loc) · 3.25 KB
/
gnome-extensions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env bash
sudo apt install -y gnome-shell-extension-manager
pipx install gnome-extensions-cli --system-site-packages
# Install extensions
gnome-extensions-cli install [email protected]
gnome-extensions-cli install [email protected]
gnome-extensions-cli install just-perfection-desktop@just-perfection
gnome-extensions-cli install [email protected]
gnome-extensions-cli install [email protected]
gnome-extensions-cli install window-title-is-back@fthx
sudo apt install -y gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor
gnome-extensions-cli install [email protected]
# Compile extensions schemas to be able to change their settings with gsettings
# - https://github.com/basecamp/omakub/blob/54c8a75cf9e93544a1d32fa4499b57b2840fee82/install/desktop/set-gnome-extensions.sh#L22
# - https://askubuntu.com/a/491224
for extension in ~/.local/share/gnome-shell/extensions/* ; do
schema=$(find "$extension/schemas" -type "f" -name "*.gschema.xml" | head -n 1 | xargs realpath)
if [[ -z $schema ]]; then
echo "No schema found for $extension. Skipped"
continue
fi
sudo cp "$schema" /usr/share/glib-2.0/schemas/
done
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
# Auto move windows settings
gsettings set org.gnome.shell.extensions.auto-move-windows application-list "['code_code.desktop:1', 'jetbrains-webstorm-7e1a045a-440d-45c8-a58d-b7c78039e5db.desktop:1', 'firefox_firefox.desktop:2', 'firefox-developer.desktop:2', 'spotify_spotify.desktop:3', 'com.discordapp.Discord.desktop:3', 'google-chrome.desktop:2']"
# Clipboard History settings
gsettings set org.gnome.shell.extensions.clipboard-history paste-on-selection false
gsettings set org.gnome.shell.extensions.clipboard-history next-entry "['<Control>F12']"
gsettings set org.gnome.shell.extensions.clipboard-history prev-entry "['<Control>F11']"
# Weather or Not settings
gsettings set org.gnome.shell.extensions.weatherornot position 'left'
# Window title is back settings
gsettings set org.gnome.shell.extensions.window-title-is-back show-title false
gsettings set org.gnome.shell.extensions.window-title-is-back fixed-width false
gsettings set org.gnome.shell.extensions.window-title-is-back colored-icon true
gsettings set org.gnome.shell.extensions.window-title-is-back ease-time 0
# system-monitor-next settings
gsettings set org.gnome.shell.extensions.system-monitor cpu-style 'digit'
gsettings set org.gnome.shell.extensions.system-monitor cpu-refresh-time 3500
gsettings set org.gnome.shell.extensions.system-monitor disk-show-menu false
gsettings set org.gnome.shell.extensions.system-monitor disk-show-text false
gsettings set org.gnome.shell.extensions.system-monitor gpu-show-text false
gsettings set org.gnome.shell.extensions.system-monitor icon-display false
gsettings set org.gnome.shell.extensions.system-monitor memory-style 'digit'
gsettings set org.gnome.shell.extensions.system-monitor memory-refresh-time 3500
gsettings set org.gnome.shell.extensions.system-monitor net-display false
gsettings set org.gnome.shell.extensions.system-monitor net-show-menu false
gsettings set org.gnome.shell.extensions.system-monitor net-show-text false