feat: Replace hyprland-relative-workspace with hyprnome

This also has the advantage of fixing an issue where
hyprland-relative-workspace would prevent new workspaces from being
created in the previous direction when a special workspace was present.
This commit is contained in:
Donovan Glover 2023-08-30 16:13:44 -04:00
parent 8dcf4d6634
commit 768ca2232c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 8 additions and 7 deletions

View File

@ -5,6 +5,8 @@ let
modifier = "SUPER"; modifier = "SUPER";
in in
{ {
home.packages = with pkgs; [ hyprnome ];
xdg.configFile."hypr/gaps.sh" = { xdg.configFile."hypr/gaps.sh" = {
executable = true; executable = true;
text = /* bash */ '' text = /* bash */ ''
@ -196,12 +198,12 @@ in
bind = $SUPER_SHIFT, H, splitratio, -0.05 bind = $SUPER_SHIFT, H, splitratio, -0.05
bind = $SUPER_SHIFT, L, splitratio, +0.05 bind = $SUPER_SHIFT, L, splitratio, +0.05
bind = $SUPER, 1, exec, hyprland-relative-workspace b bind = $SUPER, 1, exec, hyprnome --previous
bind = $SUPER, 2, exec, hyprland-relative-workspace f bind = $SUPER, 2, exec, hyprnome
bind = $SUPER, F11, exec, hyprland-relative-workspace b bind = $SUPER, F11, exec, hyprnome --previous
bind = $SUPER, F12, exec, hyprland-relative-workspace f bind = $SUPER, F12, exec, hyprnome
bind = $SUPER_SHIFT, 1, exec, hyprland-relative-workspace b --with-window bind = $SUPER_SHIFT, 1, exec, hyprnome --previous --move
bind = $SUPER_SHIFT, 2, exec, hyprland-relative-workspace f --with-window bind = $SUPER_SHIFT, 2, exec, hyprnome --move
bind = CTRL, Alt_L, submap, passthrough bind = CTRL, Alt_L, submap, passthrough
submap = passthrough submap = passthrough

View File

@ -92,7 +92,6 @@
ironbar ironbar
wallust wallust
activate-linux-wayland activate-linux-wayland
hyprland-relative-workspace
tango tango
obs-studio obs-studio
nvd nvd