aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/interface.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/interface.pp')
-rw-r--r--manifests/utils/interface.pp73
1 files changed, 59 insertions, 14 deletions
diff --git a/manifests/utils/interface.pp b/manifests/utils/interface.pp
index 8a67557..1c6e88f 100644
--- a/manifests/utils/interface.pp
+++ b/manifests/utils/interface.pp
@@ -16,20 +16,66 @@ class nodo::utils::interface inherits nodo::utils::interface::console {
'xinput',
'numlockx',
'autocutsel',
- 'parcellite',
+ 'clipit',
'unclutter',
'xserver-xephyr',
'policykit-1-gnome',
'firejail',
'sm',
'i3lock',
- 'materia-gtk-theme',
- 'blackbird-gtk-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',
@@ -39,6 +85,16 @@ class nodo::utils::interface inherits nodo::utils::interface::console {
ensure => installed,
}
+ # Absent on Debian trixie
+ package { [
+ 'parcellite',
+ ]:
+ ensure => $::lsbdistcodename ? {
+ 'trixie' => absent,
+ default => present,
+ }
+ }
+
# We need a workaround for this:
# https://bbs.archlinux.org/viewtopic.php?id=50647
# http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen
@@ -72,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,
}