diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-01-05 10:01:29 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-01-05 10:01:29 +0100 |
commit | 3a6c87e8de0e4dbef7f0f8ab4c59587607af876b (patch) | |
tree | 8f3c2e74b5a3aa8b49a05112c2509bc6c55aae3e /home-manager/compositor | |
parent | cde896f6fcbe12d6e5fec062c9588809c560cd4f (diff) |
Fix hy3
Diffstat (limited to 'home-manager/compositor')
-rw-r--r-- | home-manager/compositor/hyprland.nix | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/home-manager/compositor/hyprland.nix b/home-manager/compositor/hyprland.nix index 2657d33..f4c35de 100644 --- a/home-manager/compositor/hyprland.nix +++ b/home-manager/compositor/hyprland.nix @@ -1,4 +1,4 @@ -{ pkgs, monitor-names, ... }: +{ pkgs, inputs, monitor-names, ... }: let wallpaper = ../static/wallpaper.jpg; in @@ -25,9 +25,9 @@ in wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.systemd.enable = true; - # wayland.windowManager.hyprland.plugins = with pkgs; [ - # hyprlandPlugins.hy3 - # ]; + wayland.windowManager.hyprland.plugins = [ + inputs.hy3.packages.x86_64-linux.hy3 + ]; wayland.windowManager.hyprland.settings = { "$terminal" = "alacritty"; @@ -42,7 +42,7 @@ in }; general = { - # "layout" = "hy3"; + "layout" = "hy3"; "border_size" = 2; "col.active_border" = "rgba(fe8423ee) rgba(e11701ee) 45deg"; "col.inactive_border" = "rgba(595959aa)"; @@ -91,48 +91,48 @@ in bind = [ "$mod, Return, exec, alacritty" - # "$mod, Semicolon, hy3:makegroup, h" + "$mod, Semicolon, hy3:makegroup, h" "$mod, D, exec, ${pkgs.rofi-wayland-unwrapped}/bin/rofi -show drun" "$mod, F, fullscreen, 1" - # "$mod, H, hy3:movefocus, l" - # "$mod, J, hy3:movefocus, d" - # "$mod, K, hy3:movefocus, u" - # "$mod, L, hy3:movefocus, 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, V, hy3:makegroup, v" + "$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" - # "$mod SHIFT, K, hy3:movewindow, u" - # "$mod SHIFT, L, hy3:movewindow, r" + "$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" + "$mod SHIFT, Q, hy3:killactive" ] ++ ( builtins.concatLists (builtins.genList (i: let ws = i + 1; in [ "$mod, code:1${toString i}, workspace, ${toString ws}" - # "$mod SHIFT, code:1${toString i}, hy3:movetoworkspace, ${toString ws}" + "$mod SHIFT, code:1${toString i}, hy3:movetoworkspace, ${toString ws}" ] ) 9) ); - # plugin = { - # hy3 = { - # tabs = { - # "col.active" = "0xFFFE8423"; - # "col.inactive" = "0xFF103543"; - # "col.text.inactive" = "0xFFFECDB2"; - # }; - # }; - # }; + plugin = { + hy3 = { + tabs = { + "col.active" = "0xFFFE8423"; + "col.inactive" = "0xFF103543"; + "col.text.inactive" = "0xFFFECDB2"; + }; + }; + }; }; programs.waybar.enable = true; |