From 44a54187ae130587fb54c28f66d1a8ada7a59885 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 16 Jul 2022 12:58:30 +0200 Subject: Adapt to home-manager cursor config changes --- gui/qtile.nix | 13 +++++++------ gui/xmonad.nix | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'gui') diff --git a/gui/qtile.nix b/gui/qtile.nix index 7f0d5a8..edbfe80 100644 --- a/gui/qtile.nix +++ b/gui/qtile.nix @@ -13,12 +13,6 @@ in { xsession = { enable = true; - pointerCursor = { - package = pkgs.vanilla-dmz; - name = "Vanilla-DMZ-AA"; - size = if hidpi then 48 else 16; - }; - windowManager.command = "qtile start"; initExtra = '' @@ -26,6 +20,13 @@ in { ''; }; + home.pointerCursor = { + x11.enable = true; + package = pkgs.vanilla-dmz; + name = "Vanilla-DMZ-AA"; + size = if hidpi then 48 else 16; + }; + home.packages = [ # wm pkgs-unstable.qtile diff --git a/gui/xmonad.nix b/gui/xmonad.nix index 139e357..126948c 100644 --- a/gui/xmonad.nix +++ b/gui/xmonad.nix @@ -13,12 +13,6 @@ in { xsession = { enable = true; - pointerCursor = { - package = pkgs.vanilla-dmz; - name = "Vanilla-DMZ-AA"; - size = if hidpi then 48 else 16; - }; - windowManager.xmonad = { enable = true; enableContribAndExtras = true; @@ -30,6 +24,13 @@ in { ''; }; + home.pointerCursor = { + x11.enable = true; + package = pkgs.vanilla-dmz; + name = "Vanilla-DMZ-AA"; + size = if hidpi then 48 else 16; + }; + home.packages = with pkgs; [ # lockscreen i3lock -- cgit v1.2.3