diff options
author | Adrian Kummerlaender | 2019-07-16 20:26:36 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2019-07-16 20:26:36 +0200 |
commit | 3dad0c779f22fe2a134c8586460c3e8450fd7036 (patch) | |
tree | 53ee9f1274b0a941a3eb9ed7a2a0a8ab19a17b8b /gui/qtile.nix | |
parent | e437263098ffadb84ff61c64579809332a750ea2 (diff) | |
download | nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar.gz nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar.bz2 nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar.lz nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar.xz nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.tar.zst nixos_home-3dad0c779f22fe2a134c8586460c3e8450fd7036.zip |
Add basic qtile wm config
Diffstat (limited to 'gui/qtile.nix')
-rw-r--r-- | gui/qtile.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gui/qtile.nix b/gui/qtile.nix new file mode 100644 index 0000000..12aa042 --- /dev/null +++ b/gui/qtile.nix @@ -0,0 +1,40 @@ +{ config, pkgs, ... }: + +let + hidpi = config.custom.hidpi; + +in { + imports = [ + ./gtk.nix + ./rofi.nix + ./twmn.nix + ]; + + xsession = { + enable = true; + + pointerCursor = { + package = pkgs.vanilla-dmz; + name = "Vanilla-DMZ-AA"; + size = if hidpi then 48 else 16; + }; + + windowManager.command = "qtile"; + }; + + home.packages = with pkgs; [ + # wm + qtile + # lockscreen + i3lock + ]; + + home.file.".config/qtile/config.py".source = ./conf/qtile.py; + + services.screen-locker = { + enable = true; + lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000"; + }; + + services.flameshot.enable = true; +} |