hyprland: add hy3
This commit is contained in:
parent
c5e42d858b
commit
9e2ab640fd
4 changed files with 34 additions and 10 deletions
|
@ -27,18 +27,25 @@ in {
|
|||
workspace = toString i;
|
||||
in "$mainMod SHIFT, ${key}, split-movetoworkspacesilent, ${workspace}"
|
||||
) (genList (i: i + 1) 10)
|
||||
++ map (
|
||||
i: let
|
||||
mod = a: b: a - (b * (a / b));
|
||||
key = toString (mod i 10);
|
||||
index = toString i;
|
||||
in "$mainMod CONTROL, ${key}, hy3:focustab, index, ${index}"
|
||||
) (genList (i: i + 1) 10)
|
||||
++ [
|
||||
"$mainMod, RETURN, exec, ${pkgs.foot}/bin/foot"
|
||||
"$mainMod, Q, killactive"
|
||||
"$mainMod, Q, hy3:killactive"
|
||||
"$mainMod, F, fullscreen, 0"
|
||||
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill fuzzel || ${pkgs.fuzzel}/bin/fuzzel"
|
||||
"$mainMod, SPACE, togglefloating, active"
|
||||
|
||||
# Move Windows
|
||||
"$mainMod SHIFT, H, movewindow, l"
|
||||
"$mainMod SHIFT, J, movewindow, d"
|
||||
"$mainMod SHIFT, K, movewindow, u"
|
||||
"$mainMod SHIFT, L, movewindow, r"
|
||||
"$mainMod SHIFT, H, hy3:movewindow, l, once"
|
||||
"$mainMod SHIFT, J, hy3:movewindow, d, once"
|
||||
"$mainMod SHIFT, K, hy3:movewindow, u, once"
|
||||
"$mainMod SHIFT, L, hy3:movewindow, r, once"
|
||||
|
||||
# Screenshotting
|
||||
"$mainMod, S, exec, ${pkgs.grimblast}/bin/grimblast copy area"
|
||||
|
@ -56,14 +63,22 @@ in {
|
|||
|
||||
# Restart waybar
|
||||
"$mainMod CONTROL, B, exec, ${pkgs.procps}/bin/pkill waybar || ${pkgs.waybar}/bin/waybar"
|
||||
|
||||
# hy3 group settings
|
||||
"$mainMod, Z, hy3:makegroup, h"
|
||||
"$mainMod SHIFT, Z, hy3:makegroup, v"
|
||||
"$mainMod, U, hy3:makegroup, tab"
|
||||
"$mainMod, A, hy3:changefocus, raise"
|
||||
"$mainMod SHIFT, A, hy3:changefocus, lower"
|
||||
"$mainMod, C, hy3:changegroup, opposite"
|
||||
];
|
||||
|
||||
binde = [
|
||||
# window focus
|
||||
"$mainMod, H, movefocus, l"
|
||||
"$mainMod, J, movefocus, d"
|
||||
"$mainMod, K, movefocus, u"
|
||||
"$mainMod, L, movefocus, r"
|
||||
"$mainMod, H, hy3:movefocus, l"
|
||||
"$mainMod, J, hy3:movefocus, d"
|
||||
"$mainMod, K, hy3:movefocus, u"
|
||||
"$mainMod, L, hy3:movefocus, r"
|
||||
];
|
||||
|
||||
# Media controls
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
(inputs'.split-monitor-workspaces.packages)
|
||||
split-monitor-workspaces
|
||||
;
|
||||
inherit (inputs'.hy3.packages) hy3;
|
||||
inherit (lib) mkIf mkDefault;
|
||||
in {
|
||||
imports = [
|
||||
|
@ -51,6 +52,7 @@ in {
|
|||
# Split-monitor-workspaces provides awesome-like workspace behaviour
|
||||
plugins = [
|
||||
split-monitor-workspaces
|
||||
hy3
|
||||
];
|
||||
|
||||
# Xwayland for X applications
|
||||
|
|
|
@ -47,6 +47,7 @@ in {
|
|||
};
|
||||
|
||||
general = {
|
||||
layout = "hy3";
|
||||
gaps_in = 0;
|
||||
gaps_out = 0;
|
||||
border_size = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue