Skip to content

Commit 011f8b9

Browse files
committed
🐛 fix: I corrected the name of the Adwaita theme; it was capitalized in the name Adw-gtk and should be adw-gtk, the same for the dark version
1 parent 8c6f4e6 commit 011f8b9

1 file changed

Lines changed: 26 additions & 12 deletions

File tree

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

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,25 @@ def _apply_dark_theme(self, desktop_env: str):
206206

207207
# Set GTK theme for each desktop environment
208208
if desktop_env == "Cinnamon":
209-
logger.info("Setting Cinnamon GTK theme to Adw-gtk3-dark")
209+
logger.info("Setting Cinnamon GTK theme to adw-gtk3-dark")
210210
self._run_command([
211211
"dconf", "write",
212212
"/org/cinnamon/desktop/interface/gtk-theme",
213-
"'Adw-gtk3-dark'"
213+
"'adw-gtk3-dark'"
214+
])
215+
# Set Cinnamon Shell theme
216+
logger.info("Setting Cinnamon Shell theme to Big-Orange")
217+
self._run_command([
218+
"dconf", "write",
219+
"/org/cinnamon/theme/name",
220+
"'Big-Orange'"
214221
])
215222
elif desktop_env == "GNOME":
216-
logger.info("Setting GNOME GTK theme to Adw-gtk3-dark")
223+
logger.info("Setting GNOME GTK theme to adw-gtk3-dark")
217224
self._run_command([
218225
"dconf", "write",
219226
"/org/gnome/desktop/interface/gtk-theme",
220-
"'Adw-gtk3-dark'"
227+
"'adw-gtk3-dark'"
221228
])
222229
# Set GNOME Shell theme
223230
logger.info("Setting GNOME Shell theme to Big-Blue")
@@ -227,11 +234,11 @@ def _apply_dark_theme(self, desktop_env: str):
227234
"'Big-Blue'"
228235
])
229236
elif desktop_env == "XFCE":
230-
logger.info("Setting XFCE GTK theme to Adw-gtk3-dark")
237+
logger.info("Setting XFCE GTK theme to adw-gtk3-dark")
231238
self._run_command([
232239
"xfconf-query", "-c", "xsettings",
233240
"-p", "/Net/ThemeName",
234-
"-s", "Adw-gtk3-dark"
241+
"-s", "adw-gtk3-dark"
235242
])
236243

237244
# Configure Kvantum theme
@@ -267,18 +274,25 @@ def _apply_light_theme(self, desktop_env: str):
267274

268275
# Set GTK theme for each desktop environment
269276
if desktop_env == "Cinnamon":
270-
logger.info("Setting Cinnamon GTK theme to Adw-gtk3")
277+
logger.info("Setting Cinnamon GTK theme to adw-gtk3")
271278
self._run_command([
272279
"dconf", "write",
273280
"/org/cinnamon/desktop/interface/gtk-theme",
274-
"'Adw-gtk3'"
281+
"'adw-gtk3'"
282+
])
283+
# Set Cinnamon Shell theme
284+
logger.info("Setting Cinnamon Shell theme to Big-Orange-Light")
285+
self._run_command([
286+
"dconf", "write",
287+
"/org/cinnamon/theme/name",
288+
"'Big-Orange-Light'"
275289
])
276290
elif desktop_env == "GNOME":
277-
logger.info("Setting GNOME GTK theme to Adw-gtk3")
291+
logger.info("Setting GNOME GTK theme to adw-gtk3")
278292
self._run_command([
279293
"dconf", "write",
280294
"/org/gnome/desktop/interface/gtk-theme",
281-
"'Adw-gtk3'"
295+
"'adw-gtk3'"
282296
])
283297
# Set GNOME Shell theme
284298
logger.info("Setting GNOME Shell theme to Big-Blue")
@@ -288,11 +302,11 @@ def _apply_light_theme(self, desktop_env: str):
288302
"'Big-Blue'"
289303
])
290304
elif desktop_env == "XFCE":
291-
logger.info("Setting XFCE GTK theme to Adw-gtk3")
305+
logger.info("Setting XFCE GTK theme to adw-gtk3")
292306
self._run_command([
293307
"xfconf-query", "-c", "xsettings",
294308
"-p", "/Net/ThemeName",
295-
"-s", "Adw-gtk3"
309+
"-s", "adw-gtk3"
296310
])
297311

298312
# Configure Kvantum theme

0 commit comments

Comments
 (0)