Skip to content

Commit

Permalink
Apply only the gtk3 theme by default
Browse files Browse the repository at this point in the history
  • Loading branch information
realmazharhussain committed Sep 30, 2023
1 parent ddfdab8 commit 313a714
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions immersive-dark-mode
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ def re_set_theme(*args):
if settings['color-scheme'] != 'prefer-dark':
#settings['cursor-theme'] = 'Adwaita'
#settings['icon-theme'] = 'Adwaita'
#settings['gtk-theme'] = 'Adwaita' # GTK3 Theme
#gtk_css.unlink(missing_ok=True) # GTK4 Theme Support
#gtk_css.symlink_to(light_css) # GTK4 Theme Support
settings['gtk-theme'] = 'Adwaita' # GTK3 Theme
#gtk_css.unlink(missing_ok=True) # GTK4 Theme Support
#gtk_css.symlink_to(light_css) # GTK4 Theme Support
else:
#settings['cursor-theme'] = 'Adwaita'
#settings['icon-theme'] = 'Adwaita'
#settings['gtk-theme'] = 'Adwaita-dark' # GTK3 Theme
#gtk_css.unlink(missing_ok=True) # GTK4 Theme Support
#gtk_css.symlink_to(dark_css) # GTK4 Theme Support
settings['gtk-theme'] = 'Adwaita-dark' # GTK3 Theme
#gtk_css.unlink(missing_ok=True) # GTK4 Theme Support
#gtk_css.symlink_to(dark_css) # GTK4 Theme Support


from pathlib import Path
Expand Down

0 comments on commit 313a714

Please sign in to comment.