summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lockbin25810 -> 24921 bytes
-rw-r--r--flake.nix6
-rw-r--r--home-manager/compositor/hyprland.nix54
3 files changed, 32 insertions, 28 deletions
diff --git a/flake.lock b/flake.lock
index 3dccb59..9b1a054 100644
--- a/flake.lock
+++ b/flake.lock
Binary files differ
diff --git a/flake.nix b/flake.nix
index 220f4b8..99f4ba0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,7 +9,11 @@
helix.url = "github:helix-editor/helix/master";
- hyprland.url = "github:hyprwm/Hyprland";
+ hyprland.url = "github:hyprwm/Hyprland?submodules=1&ref=v0.45.2-b";
+ hy3 = {
+ url = "github:outfoxxed/hy3?ref=hl0.45.0";
+ inputs.hyprland.follows = "hyprland";
+ };
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
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;