summaryrefslogtreecommitdiff
path: root/home-manager
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-27 21:34:23 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-27 21:34:23 +0100
commit1ea292d55e5fd100a2533b16bbce228a07c32a2c (patch)
treef7455cec7e07d23cd32b6b7150409463aa8e477f /home-manager
parentf41f94466c090d51be119331ec1a5e835d426a0d (diff)
add wlsunset and hy3
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/compositor/hyprland.nix43
1 files changed, 28 insertions, 15 deletions
diff --git a/home-manager/compositor/hyprland.nix b/home-manager/compositor/hyprland.nix
index f9209d8..4aebddf 100644
--- a/home-manager/compositor/hyprland.nix
+++ b/home-manager/compositor/hyprland.nix
@@ -10,8 +10,16 @@ in
grimblast
];
+ services.wlsunset.enable = true;
+ services.wlsunset.sunrise = "06:00";
+ services.wlsunset.sunset = "17:00";
+
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.systemd.enable = true;
+ wayland.windowManager.hyprland.plugins = with pkgs; [
+ hyprlandPlugins.hy3
+ ];
+
wayland.windowManager.hyprland.settings = {
"$terminal" = "alacritty";
"$mod" = "SUPER";
@@ -25,6 +33,7 @@ in
};
general = {
+ "layout" = "hy3";
"border_size" = 2;
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
"col.inactive_border" = "rgba(595959aa)";
@@ -72,23 +81,27 @@ in
bind =
[
- "$mod, P, exec, ${pkgs.grimblast}/bin/grimblast copy area"
- "$mod SHIFT, P, exec, ${pkgs.grimblast}/bin/grimblast copy screen"
+ "$mod, Return, exec, alacritty"
+ "$mod, Semicolon, hy3:makegroup, h"
"$mod, D, exec, ${pkgs.rofi-wayland-unwrapped}/bin/rofi -show drun"
- "$mod SHIFT, D, exec, ${pkgs.rofi-rbw-wayland}/bin/rofi-rbw"
"$mod, F, fullscreen, 1"
- "$mod, Return, exec, alacritty"
- "$mod SHIFT, Q, killactive"
- "$mod, X, movecurrentworkspacetomonitor, mon:+1"
- "$mod SHIFT, X, movewindow, mon:+1"
- "$mod, h, movefocus, l"
- "$mod, j, movefocus, d"
- "$mod, k, movefocus, u"
- "$mod, l, movefocus, r"
- "$mod SHIFT, h, swapwindow, l"
- "$mod SHIFT, j, swapwindow, d"
- "$mod SHIFT, k, swapwindow, u"
- "$mod SHIFT, l, swapwindow, r"
+ "$mod, H, hy3:movefocus, l"
+ "$mod, J, hy3:movefocus, d"
+ "$mod, K, hy3:movefocus, u"
+ "$mod, L, hy3:movefocus, r"
+ "$mod, P, exec, ${pkgs.grimblast}/bin/grimblast copy area"
+ "$mod, Q, exec, ${pkgs.hyprlock}/bin/hyprlock"
+ "$mod, V, hy3:makegroup, v"
+ "$mod, W, hy3:changegroup, toggletab"
+ "$mod, X, hy3:movetoworkspace, +1"
+
+ "$mod SHIFT, D, exec, ${pkgs.rofi-rbw-wayland}/bin/rofi-rbw"
+ "$mod SHIFT, H, hy3:movewindow, l"
+ "$mod SHIFT, J, hy3:movewindow, d"
+ "$mod SHIFT, K, hy3:movewindow, u"
+ "$mod SHIFT, L, hy3:movewindow, r"
+ "$mod SHIFT, P, exec, ${pkgs.grimblast}/bin/grimblast copy screen"
+ "$mod SHIFT, Q, hy3:killactive"
]
++ (
builtins.concatLists (builtins.genList (i: