Skip to content

Commit 50064c8

Browse files
committed
🐛 fix: fix(xfce): set xfwm4 window border theme via xfconf-query
Add xfconf-query for xfwm4 /general/theme when applying dark or light theme so window borders match the selected theme variant.
1 parent fbcfd5b commit 50064c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

biglinux-livecd/usr/share/biglinux/livecd/services.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ def _apply_dark_theme(self, desktop_env: str):
260260
# Apply theme immediately via xfconf-query
261261
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/ThemeName", "-s", "adw-gtk3-dark"])
262262
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/IconThemeName", "-s", "bigicons-papient-dark"])
263+
self._run_command(["xfconf-query", "-c", "xfwm4", "-p", "/general/theme", "-s", "adw-gtk3-dark"])
263264

264265
# Configure Kvantum theme
265266
kvantum_dir = os.path.join(home, ".config", "Kvantum")
@@ -318,6 +319,7 @@ def _apply_light_theme(self, desktop_env: str):
318319
# Apply theme immediately via xfconf-query
319320
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/ThemeName", "-s", "adw-gtk3"])
320321
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/IconThemeName", "-s", "bigicons-papient-light"])
322+
self._run_command(["xfconf-query", "-c", "xfwm4", "-p", "/general/theme", "-s", "adw-gtk3"])
321323

322324
# Configure Kvantum theme
323325
kvantum_dir = os.path.join(home, ".config", "Kvantum")

0 commit comments

Comments
 (0)