Skip to content

Commit a132d4a

Browse files
committed
🐛 fix: Fix for applying the light and dark themes in XFCE
1 parent 2b0e37b commit a132d4a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

biglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Application Information
1010
APP_NAME = "BigLinux Calamares Config"
1111
APP_ID = "com.biglinux.calamares-config"
12-
APP_VERSION = "1.0.4"
12+
APP_VERSION = "1.0.5"
1313

1414
# Paths and Directories
1515
BASE_DIR = Path(__file__).parent.parent.parent

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ def _apply_dark_theme(self, desktop_env: str):
248248
"icon-theme": "'bigicons-papient-dark'"
249249
}
250250
})
251+
# Apply theme immediately via xfconf-query
252+
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/ThemeName", "-s", "adw-gtk3-dark"])
253+
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/IconThemeName", "-s", "bigicons-papient-dark"])
251254

252255
# Configure Kvantum theme
253256
kvantum_dir = os.path.join(home, ".config", "Kvantum")
@@ -303,6 +306,9 @@ def _apply_light_theme(self, desktop_env: str):
303306
"icon-theme": "'bigicons-papient'"
304307
}
305308
})
309+
# Apply theme immediately via xfconf-query
310+
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/ThemeName", "-s", "adw-gtk3"])
311+
self._run_command(["xfconf-query", "-c", "xsettings", "-p", "/Net/IconThemeName", "-s", "bigicons-papient"])
306312

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

0 commit comments

Comments
 (0)