diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2026-01-04 14:20:56 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2026-01-04 14:20:56 -0300 |
| commit | 856351c00f7f8e41ab86b2e635d35d8076870dfe (patch) | |
| tree | 42e803f684d1aa8ba703c18e5739d98e1d0ba70d | |
| parent | 84639c699f9151c4862b1855c130dfd4e0cb20cc (diff) | |
| download | puppet-nodo-856351c00f7f8e41ab86b2e635d35d8076870dfe.tar.gz puppet-nodo-856351c00f7f8e41ab86b2e635d35d8076870dfe.tar.bz2 | |
| -rw-r--r-- | manifests/utils/interface.pp | 66 |
1 files changed, 50 insertions, 16 deletions
diff --git a/manifests/utils/interface.pp b/manifests/utils/interface.pp index 2e6d7b4..1c6e88f 100644 --- a/manifests/utils/interface.pp +++ b/manifests/utils/interface.pp @@ -23,14 +23,59 @@ class nodo::utils::interface inherits nodo::utils::interface::console { 'firejail', 'sm', 'i3lock', - 'materia-gtk-theme', - 'blackbird-gtk-theme', - 'obsidian-icon-theme', 'alacritty', ]: ensure => installed, } + # Themes + package { [ + 'obsidian-icon-theme', + 'blackbird-gtk-theme', + + # These are needed to bring uniform look on tools such as nm-tray + # + # References: + # + # * https://doc.qt.io/qt-6/qpa.html + # * https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications + # * https://wiki.gentoo.org/wiki/GTK_themes_in_Qt_applications + # * https://itsfoss.gitlab.io/blog/how-to-add-qtqpaplatformthemeqt5ct-environment-variable-in-arch-linux/ + # * https://unix.stackexchange.com/questions/680483/how-to-add-qt-qpa-platformtheme-qt5ct-environment-variable-in-arch-linux + # * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983536 + 'breeze-icon-theme', + 'qt5ct', + 'qt6ct', + ]: + ensure => installed, + } + + # Themes available until Debian bookworm + package { [ + 'materia-gtk-theme', + ]: + ensure => $::lsbdistcodename ? { + 'bookworm' => present, + default => absent, + } + } + + # Themes not in use + package { [ + # Check https://wiki.archlinux.org/title/GTK + # https://wiki.gnome.org/Apps/DconfEditor + 'gtk-theme-switch', + 'gtk-smooth-themes', + 'dconf-editor', + 'lxappearance', + + # xsettingsd is a daemon that implements the XSETTINGS specification. + # https://codeberg.org/derat/xsettingsd + 'xsettingsd', + ]: + ensure => absent, + } + # Fonts package { [ 'xfonts-terminus', @@ -45,8 +90,8 @@ class nodo::utils::interface inherits nodo::utils::interface::console { 'parcellite', ]: ensure => $::lsbdistcodename ? { - 'trixie' => absent, - default => present, + 'trixie' => absent, + default => present, } } @@ -83,17 +128,6 @@ class nodo::utils::interface inherits nodo::utils::interface::console { 'xterm', 'eterm', 'gnome-terminal', - - # Check https://wiki.archlinux.org/title/GTK - # https://wiki.gnome.org/Apps/DconfEditor - 'gtk-theme-switch', - 'gtk-smooth-themes', - 'dconf-editor', - 'lxappearance', - - # xsettingsd is a daemon that implements the XSETTINGS specification. - # https://codeberg.org/derat/xsettingsd - 'xsettingsd', ]: ensure => absent, } |
