Skip to content

Commit

Permalink
💄 gtk[theme]: set GTK_THEME env
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmiranda committed Jul 3, 2024
1 parent 9437ff6 commit fdcb3e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/Linux_Post_Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- [🛜 Bluetooth](#-bluetooth)
- [💅 Cosmetics](#-cosmetics)
- [🖼 Lock Screen](#-lock-screen)
- [💄 Qt5](#-qt5)
- [💄 Qt5 \& GTK](#-qt5--gtk)
- [👋 SDDM greeter](#-sddm-greeter)
- [☢️ GRUB Theme](#️-grub-theme)
- [📦 Pacman](#-pacman)
Expand Down Expand Up @@ -122,14 +122,15 @@ KernelExperimental = true
betterlockscreen -u ~/wallpapers/dual/pacman.jpg --display 1 --span
```

### 💄 Qt5
### 💄 Qt5 & GTK

```bash
sudo vim /etc/environment
```

```bash
QT_QPA_PLATFORMTHEME=qt5ct
GTK_THEME=Matcha-dark-azul # Change if GTK theme is different
```

### 👋 SDDM greeter
Expand Down
1 change: 1 addition & 0 deletions home/.config/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[Settings]
gtk-application-prefer-dark-theme=1
gtk-icon-theme-name=Papirus-Dark
gtk-theme-name=Matcha-dark-azul
gtk-cursor-theme-name=Breeze_Light
Expand Down
3 changes: 3 additions & 0 deletions home/dots/personal/.exports
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export TERMINAL=alacritty
# export GDK_DPI_SCALE=0.5
export QT_AUTO_SCREEN_SCALE_FACTOR=1

# Set GTK Theme env variable from settings
export GTK_THEME=$(grep "gtk-theme-name" ~/.config/gtk-3.0/settings.ini | awk -F "=" '{print $2}')

export PATH=~/.local/bin:$PATH
export PATH=~/bin:$PATH

Expand Down

0 comments on commit fdcb3e3

Please sign in to comment.