mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 21:21:53 -05:00
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
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:
parent
36dd74bc9b
commit
0c7342a659
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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"}";
|
||||||
|
|
Loading…
Reference in a new issue