From 282a085718b6cba16913771a80256040351d1746 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 25 Jul 2026 13:15:12 +0530 Subject: feat(waybar): add waybar module, refine hyprland config, add private configs - Add waybar with base16-themed bar, modules (workspaces, window, volume, battery, network, vpn, cpu, memory, date, time), and CSS style - Replace polybar with waybar in desktop imports - Launch waybar + hyprpaper on hyprland startup - Extract hyprpaper into its own module with eDP-2 output target - Tweak border colors (active: base07→base03, inactive: base03→base00) - Enable Nordzy cursor theme with hyprcursor support - Add private email (neomutt) and git (signing key) configs - Remove chromium force-device-scale-factor flag - Drop explicit desktop.hyprland.enable from user config - Add result to gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/desktop/hyprland/default.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'modules/desktop/hyprland/default.nix') diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index bd80157..9f52232 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -9,14 +9,11 @@ let in { imports = [ + ./hyprpaper.nix ./keybindings.nix ]; - options.desktop.hyprland = { - enable = lib.mkEnableOption "Hyprland Wayland compositor"; - }; - - config = lib.mkIf config.desktop.hyprland.enable { + config = lib.mkIf config.desktop.enable { wayland.windowManager.hyprland = { enable = true; configType = "lua"; @@ -35,10 +32,10 @@ in border_size = 1; col = { active_border = { - colors = [ (toHyprColor base07) ]; + colors = [ (toHyprColor base03) ]; angle = 45; }; - inactive_border = toHyprColor base03; + inactive_border = toHyprColor base00; }; layout = "dwindle"; }; @@ -52,6 +49,10 @@ in kb_layout = "us"; }; + cursor = { + enable_hyprcursor = true; + }; + dwindle = { preserve_split = true; }; @@ -109,12 +110,14 @@ in }; }; - services.hyprpaper = lib.mkIf config.media.feh.enable { + home.pointerCursor = { enable = true; - settings = { - preload = [ "${../../../assets/sapling.png}" ]; - wallpaper = [ ",${../../../assets/sapling.png}" ]; - }; + package = pkgs.rose-pine-hyprcursor; + name = "rose-pine-hyprcursor"; + size = 24; + hyprcursor.enable = true; + gtk.enable = false; + x11.enable = false; }; home.packages = with pkgs; [ -- cgit v1.2.3