From fa19eac19da5412f4866db3e082072934a11d303 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Wed, 1 Sep 2021 00:37:22 -0400 Subject: [PATCH] i3: move cursor theme --- modules/i3/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/i3/default.nix b/modules/i3/default.nix index ca977a1..f23bd57 100644 --- a/modules/i3/default.nix +++ b/modules/i3/default.nix @@ -15,8 +15,6 @@ in services.xserver.windowManager.i3 = { enable = true; extraSessionCommands = '' - mkdir -p ~/.local/share/icons/default - ln -sf /run/current-system/sw/share/icons/Yaru/cursor.theme ~/.local/share/icons/default/index.theme echo 'Xft.dpi: 96' > ~/.Xresources echo 'Xcursor.size: 24' >> ~/.Xresources xsetroot -solid '#333333' @@ -81,6 +79,11 @@ in xfce.thunar xfce.thunar-archive-plugin caffeine-ng + + (runCommand "default_cursor" { } '' + mkdir -p $out/share/icons/default + ln -sf /run/current-system/sw/share/icons/Yaru/cursor.theme $out/share/icons/default/index.theme + '') ]; }; }