@@ -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