From fadcccd3bfd7b61aceed1b8ca034e5c849d00509 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 1 Nov 2021 13:19:29 +0100 Subject: Play around with Qtile as an alternative to Xmonad --- gui/qtile.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'gui/qtile.nix') diff --git a/gui/qtile.nix b/gui/qtile.nix index 12aa042..7f0d5a8 100644 --- a/gui/qtile.nix +++ b/gui/qtile.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, pkgs-unstable, ... }: let hidpi = config.custom.hidpi; @@ -19,14 +19,18 @@ in { size = if hidpi then 48 else 16; }; - windowManager.command = "qtile"; + windowManager.command = "qtile start"; + + initExtra = '' + xsetroot -solid "#000000" + ''; }; - home.packages = with pkgs; [ + home.packages = [ # wm - qtile + pkgs-unstable.qtile # lockscreen - i3lock + pkgs.i3lock ]; home.file.".config/qtile/config.py".source = ./conf/qtile.py; -- cgit v1.2.3