diff options
author | Adrian Kummerlaender | 2018-05-05 13:14:11 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-05-05 13:14:11 +0200 |
commit | dadd30ae95c473a8614751f8bf41b26667140f1a (patch) | |
tree | 072fd3350e088d098316cdb60a2fc707e6b89ad1 | |
parent | dea9a66fccca94ed27387246e384f3dcb20501f6 (diff) | |
download | nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar.gz nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar.bz2 nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar.lz nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar.xz nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.tar.zst nixos_home-dadd30ae95c473a8614751f8bf41b26667140f1a.zip |
Add X cursor config
-rw-r--r-- | gui/default.nix | 8 | ||||
-rw-r--r-- | gui/xmonad.nix | 16 |
2 files changed, 13 insertions, 11 deletions
diff --git a/gui/default.nix b/gui/default.nix index 2d27f7c..d83b10f 100644 --- a/gui/default.nix +++ b/gui/default.nix @@ -25,14 +25,6 @@ ''; }; - xsession = { - enable = true; - initExtra = '' - xsetroot -cursor_name left_ptr - xset b off - ''; - }; - imports = [ # desktop environment ./xmonad.nix diff --git a/gui/xmonad.nix b/gui/xmonad.nix index 85f86c2..da7d73a 100644 --- a/gui/xmonad.nix +++ b/gui/xmonad.nix @@ -1,9 +1,19 @@ { pkgs, ... }: { - xsession.windowManager.xmonad = { + xsession = { enable = true; - enableContribAndExtras = true; - config = ./conf/xmonad.hs; + + pointerCursor = { + package = pkgs.vanilla-dmz; + name = "Vanilla-DMZ-AA"; + size = 16; + }; + + windowManager.xmonad = { + enable = true; + enableContribAndExtras = true; + config = ./conf/xmonad.hs; + }; }; } |