fix(theme): remove hyprland GTK_THEME override and inject gtk-application-prefer-dark-theme

This commit is contained in:
johannes committed 2026-08-16 17:40:02 +02:00
1 parent 0063fde73b
commit 7115fc5928
7 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
font-family = JetBrainsMono Nerd Font font-family = JetBrainsMono Nerd Font
theme = dark:Catppuccin Mocha,light:Catppuccin Latte theme = dark:Catppuccin Mocha,light:Catppuccin Latte
window-theme = ghostty window-theme = ghostty
#command = nu command = nu
background-blur = true background-blur = true
auto-update = check auto-update = check
macos-option-as-alt = left macos-option-as-alt = left
+1 -1
View File
@@ -64,7 +64,7 @@ hl.env("TERM", "ghostty")
hl.env("TERMINAL", "ghostty") hl.env("TERMINAL", "ghostty")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
hl.env("QT_QPA_PLATFORM", "wayland") hl.env("QT_QPA_PLATFORM", "wayland")
hl.env("GTK_THEME", "catppuccin-mocha-mauve-standard+default")
hl.env("PROTON_DLSS_UPGRADE", "1") hl.env("PROTON_DLSS_UPGRADE", "1")
--------------------- ---------------------
+5 -3
View File
@@ -86,9 +86,11 @@ def apply-theme [selected: string] {
let color_scheme = if $choice == "mocha" { "prefer-dark" } else { "prefer-light" } let color_scheme = if $choice == "mocha" { "prefer-dark" } else { "prefer-light" }
bash -lc $"gsettings set org.gnome.desktop.interface color-scheme ($color_scheme)" bash -lc $"gsettings set org.gnome.desktop.interface color-scheme ($color_scheme)"
if ($"($home)/.config/gtk-3.0/settings.ini" | path exists) { try {
bash -lc $'sed -i "s/^gtk-theme-name=.*/gtk-theme-name=($gtk_theme)/" "$HOME/.config/gtk-3.0/settings.ini"' mkdir $"($home)/.config/gtk-3.0"
} } catch {}
let prefer_dark = if $choice == "mocha" { "1" } else { "0" }
$"[Settings]\ngtk-theme-name=($gtk_theme)\ngtk-application-prefer-dark-theme=($prefer_dark)\n" | save -f $"($home)/.config/gtk-3.0/settings.ini"
} catch { } catch {
} }
+2
View File
@@ -45,6 +45,8 @@
owncloud-client owncloud-client
wl-clipboard wl-clipboard
obsidian obsidian
htop
btop
]; ];
home.file = { home.file = {
+3 -3
View File
@@ -2,7 +2,7 @@
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/home/johannes/.config/btop/themes/catppuccin_latte.theme" color_theme = "/home/johannes/.config/btop/themes/catppuccin_mocha.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency. #* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = false theme_background = false
@@ -61,7 +61,7 @@ graph_symbol_net = "default"
graph_symbol_proc = "default" graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. #* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "cpu net proc mem" shown_boxes = "cpu mem net proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 1000 update_ms = 1000
@@ -265,7 +265,7 @@ rsmi_measure_pcie_speeds = true
gpu_mirror_graph = true gpu_mirror_graph = true
#* Set which GPU vendors to show. Available values are "nvidia amd intel apple" #* Set which GPU vendors to show. Available values are "nvidia amd intel apple"
shown_gpus = "nvidia amd intel" shown_gpus = "nvidia amd apple"
#* Custom gpu0 model name, empty string to disable. #* Custom gpu0 model name, empty string to disable.
custom_gpu_name0 = "" custom_gpu_name0 = ""
+1 -1
View File
@@ -1,2 +1,2 @@
[flavor] [flavor]
use = "catppuccin-latte" use = "catppuccin-mocha"
+1 -1
View File
@@ -20,7 +20,7 @@
"npm:@ff-labs/pi-fff", "npm:@ff-labs/pi-fff",
"npm:@juicesharp/rpiv-ask-user-question" "npm:@juicesharp/rpiv-ask-user-question"
], ],
"theme": "catppuccin-tui-latte", "theme": "catppuccin-tui-mocha",
"hideThinkingBlock": true, "hideThinkingBlock": true,
"quietStartup": true, "quietStartup": true,
"enableInstallTelemetry": false, "enableInstallTelemetry": false,