diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-25 13:15:12 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-25 13:15:12 +0530 |
| commit | 282a085718b6cba16913771a80256040351d1746 (patch) | |
| tree | 5eff9995c4f29b64c4880e104d998537f1cde896 /modules/desktop/hyprland/default.nix | |
| parent | 892b62a3129a6ae30fa6b039e3f88d370d418319 (diff) | |
| download | home-manager-config-282a085718b6cba16913771a80256040351d1746.tar.gz home-manager-config-282a085718b6cba16913771a80256040351d1746.zip | |
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
Diffstat (limited to 'modules/desktop/hyprland/default.nix')
| -rw-r--r-- | modules/desktop/hyprland/default.nix | 27 |
1 files changed, 15 insertions, 12 deletions
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; [ |
