mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-24 03:31:23 +02:00
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:
parent
8dcf4d6634
commit
768ca2232c
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user