From 770261725aa2c2cc794b37414150b1c56dd39df1 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 12 Aug 2023 21:51:57 +0300 Subject: [PATCH] try qtile --- hosts/sakotop/configuration.nix | 3 +- modules/desktop/default.nix | 1 + modules/desktop/qtile/default.nix | 54 +++++++++++++++++-------------- 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 3b4c7ef8..6dc4498f 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -20,8 +20,9 @@ desktop = { kitty.enable = true; dwm.enable = false; + qtile.enable = true; awesome.enable = false; - xmonad.enable = true; + xmonad.enable = false; picom.enable = true; dunst.enable = true; browsers = { diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index bb724b19..824dd4b6 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -6,6 +6,7 @@ ./dwm ./hyprland ./xmonad + ./qtile # desktop environ men t s s s s ./kde ./gnome diff --git a/modules/desktop/qtile/default.nix b/modules/desktop/qtile/default.nix index 80e065dd..8e5ca264 100644 --- a/modules/desktop/qtile/default.nix +++ b/modules/desktop/qtile/default.nix @@ -1,9 +1,14 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.desktop.qtile; -in { + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.qtile; +in { options.modules.desktop.qtile = { enable = mkEnableOption false; }; @@ -17,19 +22,18 @@ in enable = true; }; displayManager = { - defaultSession = "none+qtile"; - lightdm = { - enable = true; - background = ../../../config/background.png; - greeters.gtk = { + defaultSession = "none+qtile"; + lightdm = { enable = true; - theme = { - name = "vimix-dark-ruby"; - package = pkgs.vimix-gtk-themes; + background = ../../../config/background.png; + greeters.gtk = { + enable = true; + theme = { + name = "vimix-dark-ruby"; + package = pkgs.vimix-gtk-themes; + }; }; }; - - }; }; libinput = { enable = true; @@ -44,7 +48,7 @@ in accelProfile = "flat"; }; }; - }; + }; users.users.sako.packages = with pkgs; [ rofi # network @@ -60,9 +64,9 @@ in flameshot ]; - home-manager.users.sako = { pkgs , ...}: { + home-manager.users.sako = {pkgs, ...}: { home.pointerCursor = { - name = "Catppuccin-Mocha-Dark"; + name = "Catppuccin-Mocha-Dark"; size = 16; x11 = { enable = true; @@ -80,13 +84,13 @@ in source = ../../../config/background.png; }; }; - xdg.configFile = { - awesome = { - enable = true; - source = ../../../config/awesome; - recursive = true; - }; - }; + #xdg.configFile = { + # qtile = { + # enable = true; + # source = ../../../config/qtile; + # recursive = true; + # }; + #}; }; }; }