From 4bfbf28ca4a9836d6b78e6a5e246c4cee08bc942 Mon Sep 17 00:00:00 2001 From: Hemish Date: Tue, 4 May 2021 01:00:45 +0530 Subject: [PATCH] Improved code for budgie and gnome themeing and fixed bugs in installer 'permission denied' --- desktop_linux_themer/desktop_linux_themer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop_linux_themer/desktop_linux_themer.py b/desktop_linux_themer/desktop_linux_themer.py index ac28536..364667e 100755 --- a/desktop_linux_themer/desktop_linux_themer.py +++ b/desktop_linux_themer/desktop_linux_themer.py @@ -21,7 +21,9 @@ if event in [sg.WIN_CLOSED, "Exit"]: break elif event == "Set GTK+ Theme": - themerobj.changeGtkTheme(values["gtk"]) + themerobj.changeGtkTheme(values["gtk"]) + if themerobj.memCurrentSession in themerobj.GNOMEsessions or themerobj.memCurrentSession in themerobj.BudgieSessions: + themerobj.changeWMtheme(values["gtk"]) # because budgie and gnome dont care about window manager theme elif event == "Set WM Theme": themerobj.changeWMtheme(values["WM"]) elif event == "Set Desktop Theme":