'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',
'parcellite',
]:
ensure => $::lsbdistcodename ? {
- 'trixie' => absent,
- default => present,
+ 'trixie' => absent,
+ default => present,
}
}
'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,
}