hyprland: add hyprspace plugin
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-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 / pacifidlog-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-11-23 22:39:28 -05:00
parent ca52a66a2d
commit 0d0b760df9
5 changed files with 29 additions and 6 deletions

View file

@ -48,9 +48,10 @@
- SUPER + {1..9}: Switch to numbered workspace.
- SUPER + Comma: Switch to previous numbered workspace.
- SUPER + Period: Switch to next numbered workspace.
- SUPER + Mouse Scroll Up: Switch to previous numbered workspace.
- SUPER + Mouse Scroll Down: Switch to next numbered workspace.
- SUPER + Mouse Scroll Up: Switch to previous numbered workspace.
- SUPER + Period: Switch to next numbered workspace.
- SUPER SHIFT + Tab: Toggle workspace overview.
- TOUCHPAD: 3 Finger Swipe Left/Right.
#### Multi-Monitor Workspace Management
@ -71,11 +72,11 @@ ______________________________________________________________________
- SUPER + C: Kill focused window.
- SUPER + F11: Show/hide top panel.
- SUPER + TAB: Open Window list.
- SUPER + V: Toggle floating window.
- SUPER SHIFT + Backslash: Toggle vertical/horizontal splits (dwindle layout only).
- SUPER SHIFT + G: Toggle groupbar.
- SUPER SHIFT + M: Swap window for master (master layout only).
- SUPER SHIFT + TAB: Open Window list.
- SUPER SHIFT + W: Toggle fullscreen.
#### Focus

View file

@ -21,6 +21,11 @@ in {
wayland.windowManager.hyprland = {
enable = true;
plugins = [
pkgs.hyprlandPlugins.hyprspace
];
settings = import ./settings.nix {inherit config lib pkgs;};
systemd = {

View file

@ -37,6 +37,7 @@ in {
"$mod SHIFT,period,exec,${lib.getExe pkgs.hyprnome} --move"
"$mod SHIFT,R,exec,${lib.getExe config.programs.rofi.package} -show run"
"$mod SHIFT,S,movetoworkspace,special:magic"
"$mod SHIFT,Tab,exec,${lib.getExe config.programs.rofi.package} -show window"
"$mod SHIFT,V,togglefloating"
"$mod SHIFT,W,fullscreen"
"$mod,B,exec,${lib.getExe cfg.defaultApps.webBrowser}"
@ -55,7 +56,7 @@ in {
"$mod,Right,changegroupactive,f"
"$mod,S,togglespecialworkspace,magic"
"$mod,T,exec,${lib.getExe cfg.defaultApps.terminal}"
"$mod,Tab,exec,${lib.getExe config.programs.rofi.package} -show window"
"$mod,Tab,overview:toggle"
"CTRL ALT,M,submap,move"
"CTRL ALT,R,submap,resize"
"CTRL,F12,exec,${helpers.screenshot}"
@ -190,6 +191,22 @@ in {
++ cfg.desktop.hyprland.laptopMonitors
++ cfg.desktop.hyprland.monitors;
plugin = {
overview = {
exitOnSwitch = true;
gaps_in = 5;
gaps_out = 6;
onBottom = true;
overrideGaps = true;
showEmptyWorkspace = true;
showNewWorkspace = true;
workspaceActiveBorder = "rgb(${config.lib.stylix.colors.base0D})";
workspaceBorderSize = 4;
workspaceInactiveBorder = "rgb(${config.lib.stylix.colors.base03})";
workspaceMargin = 40;
};
};
windowrulev2 = [
"center(1),class:(.blueman-manager-wrapped)"
"center(1),class:(blueberry.py)"

View file

@ -65,10 +65,10 @@ ______________________________________________________________________
- SUPER + C: Kill focused window.
- SUPER + F11: Show/hide top panel.
- SUPER + TAB: Open Window list.
- SUPER + V: Toggle floating window.
- SUPER SHIFT + Backslash: Toggle vertical/horizontal splits.
- SUPER SHIFT + G: Toggle tabbed layout.
- SUPER SHIFT + TAB: Open Window list.
- SUPER SHIFT + W: Toggle fullscreen.
#### Focus

View file

@ -101,10 +101,10 @@ in {
"${modifier}+Shift+Period" = "move container to workspace next; workspace next";
"${modifier}+Shift+R" = "exec ${lib.getExe config.programs.rofi.package} -show run";
"${modifier}+Shift+S" = "move scratchpad";
"${modifier}+Shift+Tab" = "exec ${lib.getExe config.programs.rofi.package} -show window";
"${modifier}+Shift+V" = "floating toggle";
"${modifier}+Shift+W" = "fullscreen toggle";
"${modifier}+T" = "exec ${lib.getExe cfg.defaultApps.terminal}";
"${modifier}+Tab" = "exec ${lib.getExe config.programs.rofi.package} -show window";
"Control+F12" = "exec ${helpers.screenshot}";
"Ctrl+Mod1+M" = "mode move";
"Ctrl+Mod1+R" = "mode resize";