summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-03 11:16:57 +0200
committerlassulus <git@lassul.us>2023-07-03 11:16:57 +0200
commitaccd095c5b86350a78315e2d3a1fe237fe4d449f (patch)
treeade887896455bfe5a416e0ec872fd4b884de27ee /lass/2configs
parentb5a295da8f224a8984771be227e1f3a44fa36cb5 (diff)
l themes: ignore gsettings errors
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/themes.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/themes.nix b/lass/2configs/themes.nix
index e9f83deea..60e2f7aec 100644
--- a/lass/2configs/themes.nix
+++ b/lass/2configs/themes.nix
@@ -15,7 +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)"
+ ${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme "$(cat /var/theme/config/gtk-theme)" || :
else
echo "theme $1 not found"
fi