diff options
author | lassulus <git@lassul.us> | 2023-06-06 19:25:35 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-06-06 19:25:35 +0200 |
commit | 0156323836b3e5ca311ff7eb9a0213aacfe9be10 (patch) | |
tree | c9aaffd0e8eb12ebe2367b2cbf80c1adb4b12a0e /lass/2configs | |
parent | c1ef7c79b6783bc4289c085f43aec67b98c2a8ef (diff) |
l themes: make wayland compatible
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/themes.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lass/2configs/themes.nix b/lass/2configs/themes.nix index eb1a53987..e9f83deea 100644 --- a/lass/2configs/themes.nix +++ b/lass/2configs/themes.nix @@ -15,6 +15,7 @@ ${pkgs.coreutils}/bin/chown lass:users /var/theme/current_theme ${pkgs.xorg.xrdb}/bin/xrdb -merge /var/theme/config/xresources ${pkgs.procps}/bin/pkill -HUP xsettingsd + ${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme "$(cat /var/theme/config/gtk-theme)" else echo "theme $1 not found" fi @@ -37,17 +38,25 @@ in { ]; environment.systemPackages = [ switch-theme + pkgs.dracula-theme + pkgs.gnome3.adwaita-icon-theme ]; environment.etc = { + "themes/light/gtk-theme".text = '' + Adwaita + ''; "themes/light/xsettings.conf".text = '' - Net/ThemeName "Adwaita" + Net/ThemeName "Adwaita" ''; "themes/light/xresources".text = '' *background: #ffffff *foreground: #000000 ''; + "themes/dark/gtk-theme".text = '' + Dracula + ''; "themes/dark/xsettings.conf".text = '' - Net/ThemeName "Adwaita-dark" + Net/ThemeName "Dracula" ''; "themes/dark/xresources".text = '' *background: #000000 |