hyprland stuff

This commit is contained in:
blahai 2024-10-23 18:09:21 +03:00
parent 18dfa4c261
commit 75363a8e02
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc
3 changed files with 27 additions and 1 deletions

View file

@ -2,6 +2,8 @@
wayland.windowManager.hyprland.settings = {
exec-once = [
"${pkgs.swww}/bin/swww-daemon --format xrgb"
"${pkgs.floorp}/bin/floorp"
"sleep 3; ${pkgs.vesktop}/bin/vesktop"
"ags"
];
};

View file

@ -3,6 +3,10 @@
bindm = [ "Super, mouse:272, movewindow" "Super, mouse:273, resizewindow" ];
bindn = [
" , up, pass, JKPS"
];
bind = [
"Super, mouse_up, workspace, +1"
"Super, mouse_down, workspace, -1"
@ -11,7 +15,7 @@
"Super, R, exec, ${pkgs.anyrun}/bin/anyrun"
"Super, W, exec, ${pkgs.floorp}/bin/floorp"
"Super, Q, exec, ${pkgs.foot}/bin/foot"
"Super, Q, exec, wezterm"
"Super, C, killactive"
"Super, V, togglefloating"
"Super, E, exec, ${pkgs.nautilus}/bin/nautilus -w"
@ -27,6 +31,24 @@
"Super, Tab, exec, ags -t launcher"
"Super, X, exec, ags -t powermenu"
## Hyprland stuff
"Super, Z, movewindow"
# Swap windows
"Super+Shift, left, movewindow, l"
"Super+Shift, right, movewindow, r"
"Super+Shift, up, movewindow, u"
"Super+Shift, down, movewindow, d"
# Move focus
"Super, left, movefocus, l"
"Super, right, movefocus, r"
"Super, up, movefocus, u"
"Super, down, movefocus, d"
# Fullscreen
"Super+Shift, F, fullscreen, 0"
] ++ map (n:
"Alt, ${toString n}, movetoworkspacesilent, ${
toString (if n == 0 then 10 else n)

View file

@ -9,9 +9,11 @@
windowrule = [
"noblur,.*"
"workspace special, spotify"
"workspace 11 silent, JKPS"
"workspace 3 silent, vesktop"
"workspace 1 silent, floorp"
"float, ^(blueberry.py)$"
"float, ^(JKPS)(.*)"
];
windowrulev2 = [