aboutsummaryrefslogtreecommitdiffstats
path: root/templates/qt-gtk
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 09:55:45 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 09:55:45 +0200
commit1e4d2b4be7ad20dd108503fb65c264673ca6457b (patch)
tree8d76604d4bdebe5fa4b4e60be2447df61475789f /templates/qt-gtk
parenta06d8f948c4d5a60bff992c3d6f26b5fb54f80cb (diff)
downloadunified-desktop-theme-1e4d2b4be7ad20dd108503fb65c264673ca6457b.tar.gz
unified-desktop-theme-1e4d2b4be7ad20dd108503fb65c264673ca6457b.zip
feat(install): track rofi scripts, wire nvim and hypr-theme, merge qt/gtk keys
The rofi menus' launch scripts lived loose in ~/bin, so the themes were tracked and the only things that open them were not. They now live in bin/ and are symlinked under the names hypr-theme's keybindings call. neovim gets a generated colorscheme: catppuccin/nvim with all 26 palette colours overridden from the active scheme, selected by rewriting only the colorscheme line of init.vim. hypr-theme is linked as the whole of ~/.config/hypr, leaving a real directory there alone. The qt-gtk templates were reference copies nothing installed. They now hold theme keys only and ini_merge writes them into the live qt5ct, qt6ct and gtk3 files key by key, keeping every other line; tests/ini-merge.sh checks it. The stale kvantum.kvconfig template is gone, install.sh writes that file. Fresh-machine fixes: settings.ini and ~/.config/gtk-4.0 are created when missing instead of aborting under set -e, and conky is found as a sibling checkout and skipped when absent, in udt-palette as well as install.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'templates/qt-gtk')
-rw-r--r--templates/qt-gtk/gtk3-settings.ini23
-rw-r--r--templates/qt-gtk/gtk4-gtk.css4
-rw-r--r--templates/qt-gtk/kvantum.kvconfig2
-rw-r--r--templates/qt-gtk/qt5ct.conf10
-rw-r--r--templates/qt-gtk/qt6ct.conf11
5 files changed, 11 insertions, 39 deletions
diff --git a/templates/qt-gtk/gtk3-settings.ini b/templates/qt-gtk/gtk3-settings.ini
index 7287705..f0fe1d8 100644
--- a/templates/qt-gtk/gtk3-settings.ini
+++ b/templates/qt-gtk/gtk3-settings.ini
@@ -1,24 +1,7 @@
-# Reference copy, not installed. install.sh never writes this file; it
-# only seds gtk-theme-name into the live ~/.config/gtk-3.0/settings.ini.
-# The icon and cursor keys below are the appearance drawer's to set.
+# Merged into ~/.config/gtk-3.0/settings.ini by install.sh, key by key: every
+# key here is set, every other key in the live file is left alone. Icons,
+# cursor, modules and sounds are the appearance drawer's to set.
[Settings]
gtk-application-prefer-dark-theme=true
-gtk-button-images=1
-gtk-cursor-theme-name=Oxygen_Zion
-gtk-cursor-theme-size=24
-gtk-decoration-layout=icon:minimize,maximize,close
-gtk-enable-animations=true
gtk-font-name=Noto Sans, 10
-gtk-icon-theme-name=Material-Black-Plum-Suru
-gtk-menu-images=1
-gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
-gtk-primary-button-warps-slider=false
gtk-theme-name=udt
-gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
-gtk-xft-dpi=98304
-gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
-gtk-enable-event-sounds=1
-gtk-enable-input-feedback-sounds=1
-gtk-xft-antialias=1
-gtk-xft-hinting=1
-gtk-xft-hintstyle=hintmedium
diff --git a/templates/qt-gtk/gtk4-gtk.css b/templates/qt-gtk/gtk4-gtk.css
index 9bf52c0..9d66353 100644
--- a/templates/qt-gtk/gtk4-gtk.css
+++ b/templates/qt-gtk/gtk4-gtk.css
@@ -1,6 +1,6 @@
-/* Catppuccin Macchiato (lavender) for GTK4 / libadwaita.
+/* The udt theme for GTK4 / libadwaita. Seeded by install.sh when missing.
* libadwaita ignores gtk-theme-name, so the theme's own stylesheet is imported
- * here instead. Assets are symlinked next to this file. */
+ * here instead, through the theme symlink install.sh keeps next to this file. */
@import url("theme/gtk.css");
/* vte terminal: local override, kept from the previous config. */
diff --git a/templates/qt-gtk/kvantum.kvconfig b/templates/qt-gtk/kvantum.kvconfig
deleted file mode 100644
index aa0ae60..0000000
--- a/templates/qt-gtk/kvantum.kvconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-[General]
-theme=catppuccin-macchiato-lavender
diff --git a/templates/qt-gtk/qt5ct.conf b/templates/qt-gtk/qt5ct.conf
index fd8aced..cb94ab7 100644
--- a/templates/qt-gtk/qt5ct.conf
+++ b/templates/qt-gtk/qt5ct.conf
@@ -1,14 +1,10 @@
-# Reference copy, not installed. install.sh never writes this file.
-# icon_theme is the appearance drawer's to set.
-# Theme-relevant keys only; the live file carries other settings.
+# Merged into ~/.config/qt5ct/qt5ct.conf by install.sh, key by key: every key
+# here is set, every other key in the live file is left alone. icon_theme is
+# the appearance drawer's to set, so it is not here.
[Appearance]
custom_palette=false
-icon_theme=Material-Black-Plum-Suru
standard_dialogs=xdgdesktopportal
style=kvantum-dark
[Fonts]
fixed="Inconsolata Nerd Font Mono,14,-1,5,50,0,0,0,0,0"
general="Noto Sans,14,-1,5,50,0,0,0,0,0,Regular"
-[Interface]
-[SettingsWindow]
-[Troubleshooting]
diff --git a/templates/qt-gtk/qt6ct.conf b/templates/qt-gtk/qt6ct.conf
index 82bb973..4de7efa 100644
--- a/templates/qt-gtk/qt6ct.conf
+++ b/templates/qt-gtk/qt6ct.conf
@@ -1,15 +1,10 @@
-# Reference copy, not installed. install.sh never writes this file.
-# icon_theme is the appearance drawer's to set.
-# Theme-relevant keys only; the live file carries other settings.
+# Merged into ~/.config/qt6ct/qt6ct.conf by install.sh, key by key: every key
+# here is set, every other key in the live file is left alone. icon_theme is
+# the appearance drawer's to set, so it is not here.
[Appearance]
custom_palette=false
-icon_theme=Material-Black-Plum-Suru
standard_dialogs=xdgdesktopportal
style=kvantum-dark
[Fonts]
fixed="Inconsolata Nerd Font Mono,14,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0"
general="Noto Sans,14,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0"
-[Interface]
-[QSSEditor]
-[SettingsWindow]
-[Troubleshooting]