hpyrland: improve master layout settings and binds
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-09-22 15:52:29 -04:00
parent ec1814f76a
commit fb1083dc46
3 changed files with 12 additions and 16 deletions

View file

@ -73,8 +73,9 @@ ______________________________________________________________________
- SUPER + F11: Show/hide top panel. - SUPER + F11: Show/hide top panel.
- SUPER + TAB: Open Window list. - SUPER + TAB: Open Window list.
- SUPER + V: Toggle floating window. - SUPER + V: Toggle floating window.
- SUPER SHIFT + Backslash: Toggle vertical/horizontal splits. - SUPER SHIFT + Backslash: Toggle vertical/horizontal splits (dwindle layout only).
- SUPER SHIFT + G: Toggle groupbar. - SUPER SHIFT + G: Toggle groupbar.
- SUPER SHIFT + M: Swap window for master (master layout only).
- SUPER SHIFT + W: Toggle fullscreen. - SUPER SHIFT + W: Toggle fullscreen.
#### Focus #### Focus

View file

@ -27,37 +27,38 @@ in {
bind = bind =
[ [
''$mod,M,exec,${lib.getExe config.programs.rofi.package} -show power-menu -modi "power-menu:${lib.getExe pkgs.rofi-power-menu} --choices=logout/lockscreen/suspend/shutdown/reboot"''
",PRINT,exec,${helpers.screenshot}"
"$mod CTRL,L,exec,${lib.getExe pkgs.swaylock}" "$mod CTRL,L,exec,${lib.getExe pkgs.swaylock}"
"$mod SHIFT,backslash,togglesplit"
"$mod SHIFT,comma,exec,${lib.getExe pkgs.hyprnome} --previous --move"
"$mod SHIFT,G,togglegroup" "$mod SHIFT,G,togglegroup"
"$mod SHIFT,M,layoutmsg,swapwithmaster master"
"$mod SHIFT,period,exec,${lib.getExe pkgs.hyprnome} --move"
"$mod SHIFT,R,exec,${lib.getExe config.programs.rofi.package} -show run" "$mod SHIFT,R,exec,${lib.getExe config.programs.rofi.package} -show run"
"$mod SHIFT,S,movetoworkspace,special:magic" "$mod SHIFT,S,movetoworkspace,special:magic"
"$mod SHIFT,V,togglefloating" "$mod SHIFT,V,togglefloating"
"$mod SHIFT,W,fullscreen" "$mod SHIFT,W,fullscreen"
"$mod SHIFT,backslash,togglesplit"
"$mod SHIFT,comma,exec,${lib.getExe pkgs.hyprnome} --previous --move"
"$mod SHIFT,period,exec,${lib.getExe pkgs.hyprnome} --move"
"$mod,B,exec,${lib.getExe cfg.defaultApps.webBrowser}" "$mod,B,exec,${lib.getExe cfg.defaultApps.webBrowser}"
"$mod,C,killactive" "$mod,C,killactive"
"$mod,comma,exec,${lib.getExe pkgs.hyprnome} --previous"
"$mod,E,exec,${lib.getExe cfg.defaultApps.editor}" "$mod,E,exec,${lib.getExe cfg.defaultApps.editor}"
"$mod,F,exec,${lib.getExe cfg.defaultApps.fileManager}" "$mod,F,exec,${lib.getExe cfg.defaultApps.fileManager}"
"$mod,F11,exec,pkill -SIGUSR1 waybar" "$mod,F11,exec,pkill -SIGUSR1 waybar"
"$mod,H,changegroupactive,b" "$mod,H,changegroupactive,b"
"$mod,L,changegroupactive,f" "$mod,L,changegroupactive,f"
"$mod,Left,changegroupactive,b" "$mod,Left,changegroupactive,b"
"$mod,mouse_down,workspace,+1"
"$mod,mouse_up,workspace,-1"
"$mod,period,exec,${lib.getExe pkgs.hyprnome}"
"$mod,R,exec,${lib.getExe config.programs.rofi.package} -show combi" "$mod,R,exec,${lib.getExe config.programs.rofi.package} -show combi"
"$mod,Right,changegroupactive,f" "$mod,Right,changegroupactive,f"
"$mod,S,togglespecialworkspace,magic" "$mod,S,togglespecialworkspace,magic"
"$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}" "$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}"
"$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window" "$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window"
"$mod,comma,exec,${lib.getExe pkgs.hyprnome} --previous"
"$mod,mouse_down,workspace,+1"
"$mod,mouse_up,workspace,-1"
"$mod,period,exec,${lib.getExe pkgs.hyprnome}"
",PRINT,exec,${helpers.screenshot}"
"CTRL ALT,M,submap,move" "CTRL ALT,M,submap,move"
"CTRL ALT,R,submap,resize" "CTRL ALT,R,submap,resize"
"CTRL,F12,exec,${helpers.screenshot}" "CTRL,F12,exec,${helpers.screenshot}"
''$mod,M,exec,${lib.getExe config.programs.rofi.package} -show power-menu -modi "power-menu:${lib.getExe pkgs.rofi-power-menu} --choices=logout/lockscreen/suspend/shutdown/reboot"''
] ]
++ builtins.map (x: "$mod SHIFT,${toString x},movetoworkspace,${toString x}") [1 2 3 4 5 6 7 8 9] ++ builtins.map (x: "$mod SHIFT,${toString x},movetoworkspace,${toString x}") [1 2 3 4 5 6 7 8 9]
++ builtins.map (x: "$mod,${toString x},workspace,${toString x}") [1 2 3 4 5 6 7 8 9] ++ builtins.map (x: "$mod,${toString x},workspace,${toString x}") [1 2 3 4 5 6 7 8 9]
@ -168,11 +169,6 @@ in {
}; };
}; };
master = {
always_center_master = true;
new_status = false;
};
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = true;
disable_splash_rendering = true; disable_splash_rendering = true;

View file

@ -89,7 +89,6 @@
}; };
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
bind = ["$mod SHIFT,M,layoutmsg,swapwithmaster master"];
general.layout = lib.mkForce "master"; general.layout = lib.mkForce "master";
master = { master = {