summaryrefslogtreecommitdiff
path: root/home-manager/compositor/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/compositor/hyprland.nix')
-rw-r--r--home-manager/compositor/hyprland.nix54
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;