diff options
author | Jasper Ras <jras@hostnet.nl> | 2024-11-29 09:08:34 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2024-11-29 09:08:34 +0100 |
commit | 5fc97f80ef4d5fe03ffbd2d60d4073ebf9514c27 (patch) | |
tree | 5e4f5ca4d9ee2552ddbaa370b3bfecda636ffdc4 /home-manager/compositor/hyprland.nix | |
parent | cb2dbb0192a1bfe3192d080eaf405e51d4f42888 (diff) |
hyprland tweaks
Diffstat (limited to 'home-manager/compositor/hyprland.nix')
-rw-r--r-- | home-manager/compositor/hyprland.nix | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/home-manager/compositor/hyprland.nix b/home-manager/compositor/hyprland.nix index 089497e..64bc288 100644 --- a/home-manager/compositor/hyprland.nix +++ b/home-manager/compositor/hyprland.nix @@ -1,15 +1,24 @@ -{ pkgs, config, monitor-names, ... }: +{ pkgs, monitor-names, ... }: let - pics = "${config.home.homeDirectory}/Pictures"; - default = "${pics}/wallpaper.jpg"; + wallpaper = ../static/gear5-luffy.jpg; in { home.packages = with pkgs; [ rofi-wayland-unwrapped rofi-rbw-wayland grimblast + hyprpicker + wl-clipboard ]; + # Required for hyprpicker's cursor but also seems to fix some icons for astal + home.pointerCursor = { + gtk.enable = true; + package = pkgs.gnome.adwaita-icon-theme; + name = "Adwaita"; + size = 16; + }; + services.wlsunset.enable = true; services.wlsunset.sunrise = "06:00"; services.wlsunset.sunset = "17:00"; @@ -95,6 +104,7 @@ in "$mod, W, hy3:changegroup, toggletab" "$mod, X, movecurrentworkspacetomonitor, +1" + "$mod SHIFT, C, exec, ${pkgs.hyprpicker}/bin/hyprpicker -a -f hex" "$mod SHIFT, D, exec, ${pkgs.rofi-rbw-wayland}/bin/rofi-rbw" "$mod SHIFT, H, hy3:movewindow, l" "$mod SHIFT, J, hy3:movewindow, d" @@ -143,14 +153,14 @@ in services.hyprpaper.enable = true; services.hyprpaper.settings = { - preload = [ "${default}" ]; - wallpaper = [ ",${default}" ]; + preload = [ "${wallpaper}" ]; + wallpaper = [ ",${wallpaper}" ]; }; programs.hyprlock.enable = true; programs.hyprlock.settings = { background = [ - { path = "${default}"; + { path = "${wallpaper}"; blur_passes = 2; monitor = ""; } |