sway: add tab and split binds (#86)
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-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

* sway: add tab and split binds

* sway: move capslock override to user config
This commit is contained in:
Aly Raffauf 2024-08-11 12:40:09 -04:00 committed by GitHub
parent 36dd74bc9b
commit 0c7342a659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -67,6 +67,8 @@ ______________________________________________________________________
- 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 + G: Toggle tabbed layout.
- SUPER SHIFT + W: Toggle fullscreen. - SUPER SHIFT + W: Toggle fullscreen.
#### Focus #### Focus

View file

@ -65,7 +65,7 @@ in {
gaps = { gaps = {
inner = 5; inner = 5;
outer = 5; outer = 6;
}; };
input = { input = {
@ -81,7 +81,6 @@ in {
"type:keyboard" = { "type:keyboard" = {
xkb_layout = "us"; xkb_layout = "us";
xkb_variant = "altgr-intl"; xkb_variant = "altgr-intl";
xkb_options = "caps:ctrl_modifier";
}; };
}; };
@ -98,7 +97,9 @@ in {
"${modifier}+Period" = "workspace next"; "${modifier}+Period" = "workspace next";
"${modifier}+R" = "exec ${lib.getExe config.programs.rofi.package} -show combi"; "${modifier}+R" = "exec ${lib.getExe config.programs.rofi.package} -show combi";
"${modifier}+S" = "scratchpad show"; "${modifier}+S" = "scratchpad show";
"${modifier}+Shift+Backslash" = "layout toggle split";
"${modifier}+Shift+Comma" = "move container to workspace prev; workspace prev"; "${modifier}+Shift+Comma" = "move container to workspace prev; workspace prev";
"${modifier}+Shift+G" = "layout toggle splitv tabbed";
"${modifier}+Shift+Period" = "move container to workspace next; workspace next"; "${modifier}+Shift+Period" = "move container to workspace next; workspace next";
"${modifier}+Shift+R" = "exec ${lib.getExe config.programs.rofi.package} -show run"; "${modifier}+Shift+R" = "exec ${lib.getExe config.programs.rofi.package} -show run";
"${modifier}+Shift+S" = "move scratchpad"; "${modifier}+Shift+S" = "move scratchpad";

View file

@ -20,6 +20,8 @@
floating.criteria = [{app_id = "Bitwarden";} {app_id = "org.keepassxc.KeePassXC";}]; floating.criteria = [{app_id = "Bitwarden";} {app_id = "org.keepassxc.KeePassXC";}];
input."type:keyboard".xkb_options = "caps:ctrl_modifier";
keybindings = { keybindings = {
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}"; "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
"${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}"; "${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}";