fedora_sb_gtk4_tweaks.sh
· 1.7 KiB · Bash
Brut
#!/bin/bash
##------------------------##
## Check Adw-gt3 version! ##
##------------------------##
ADWGTKV=v5.2
mkdir -p ~/.local/share/themes
curl -sL https://github.com/lassekongo83/adw-gtk3/releases/download/${ADWGTKV}/adw-gtk3${ADWGTKV}.tar.xz | tar xJv -C ~/.local/share/themes
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak update
flatpak install org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3'
gsettings set org.gnome.desktop.interface color-scheme 'default'
## Gsettings tweaks
gsettings set org.gnome.desktop.interface font-name 'Nimbus Sans 11'
gsettings set org.gnome.desktop.interface monospace-font-name 'Hack 10'
gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
gsettings set org.gnome.desktop.interface font-hinting 'slight'
gsettings set org.gnome.desktop.wm.preferences audible-bell false
gsettings set org.gnome.desktop.interface clock-show-weekday true
gsettings set org.gnome.desktop.interface locate-pointer true
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy
gsettings set org.gnome.desktop.calendar show-weekdate true
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'minimize'
## Firefox
curl -sL https://git.oranki.net/jarno/firefox-gnome-theme/raw/branch/0ranki-main/scripts/install-by-curl.sh | bash
## Thunderbird
pushd /tmp
git clone https://git.oranki.net/jarno/thunderbird-gnome-theme.git
pushd thunderbird-gnome-theme
./scripts/install.sh -f ~/.var/app/org.mozilla.Thunderbird/.thunderbird
popd
popd
1 | #!/bin/bash |
2 | |
3 | ##------------------------## |
4 | ## Check Adw-gt3 version! ## |
5 | ##------------------------## |
6 | ADWGTKV=v5.2 |
7 | |
8 | mkdir -p ~/.local/share/themes |
9 | curl -sL https://github.com/lassekongo83/adw-gtk3/releases/download/${ADWGTKV}/adw-gtk3${ADWGTKV}.tar.xz | tar xJv -C ~/.local/share/themes |
10 | flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo |
11 | flatpak update |
12 | flatpak install org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark |
13 | gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3' |
14 | gsettings set org.gnome.desktop.interface color-scheme 'default' |
15 | |
16 | ## Gsettings tweaks |
17 | gsettings set org.gnome.desktop.interface font-name 'Nimbus Sans 11' |
18 | gsettings set org.gnome.desktop.interface monospace-font-name 'Hack 10' |
19 | gsettings set org.gnome.desktop.interface font-antialiasing 'rgba' |
20 | gsettings set org.gnome.desktop.interface font-hinting 'slight' |
21 | gsettings set org.gnome.desktop.wm.preferences audible-bell false |
22 | gsettings set org.gnome.desktop.interface clock-show-weekday true |
23 | gsettings set org.gnome.desktop.interface locate-pointer true |
24 | gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true |
25 | gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy |
26 | gsettings set org.gnome.desktop.calendar show-weekdate true |
27 | gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'minimize' |
28 | |
29 | ## Firefox |
30 | curl -sL https://git.oranki.net/jarno/firefox-gnome-theme/raw/branch/0ranki-main/scripts/install-by-curl.sh | bash |
31 | |
32 | ## Thunderbird |
33 | pushd /tmp |
34 | git clone https://git.oranki.net/jarno/thunderbird-gnome-theme.git |
35 | pushd thunderbird-gnome-theme |
36 | ./scripts/install.sh -f ~/.var/app/org.mozilla.Thunderbird/.thunderbird |
37 | popd |
38 | popd |
39 |