|
|
|
|
@@ -21,7 +21,8 @@ binds {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
|
|
|
|
Mod+T hotkey-overlay-title="Open a Terminal" { spawn "kgx"; }
|
|
|
|
|
// Mod+T hotkey-overlay-title="Open a Terminal" { spawn "kgx"; }
|
|
|
|
|
Mod+T { spawn "/home/ficik/.local/bin/wezterm-launcher"; }
|
|
|
|
|
Mod+G hotkey-overlay-title="Open a Files" { spawn "nautilus" "-w"; }
|
|
|
|
|
Alt+F2 hotkey-overlay-title="Run an Application: fuzzel" { spawn "dms" "ipc" "launcher" "open"; }
|
|
|
|
|
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
|
|
|
|
@@ -43,10 +44,10 @@ binds {
|
|
|
|
|
|
|
|
|
|
// Example media keys mapping using playerctl.
|
|
|
|
|
// This will work with any MPRIS-enabled media player.
|
|
|
|
|
XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; }
|
|
|
|
|
XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; }
|
|
|
|
|
XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; }
|
|
|
|
|
XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }
|
|
|
|
|
XF86AudioPlay allow-when-locked=true { spawn-sh "dms ipc mpris playPause"; }
|
|
|
|
|
XF86AudioStop allow-when-locked=true { spawn-sh "dms ipc mpris stop"; }
|
|
|
|
|
XF86AudioPrev allow-when-locked=true { spawn-sh "dms ipc mpris previous"; }
|
|
|
|
|
XF86AudioNext allow-when-locked=true { spawn-sh "dms ipc mpris next"; }
|
|
|
|
|
|
|
|
|
|
// Example brightness key mappings for brightnessctl.
|
|
|
|
|
// You can use regular spawn with multiple arguments too (to avoid going through "sh"),
|
|
|
|
|
@@ -61,6 +62,7 @@ binds {
|
|
|
|
|
Mod+E repeat=false { toggle-overview; }
|
|
|
|
|
|
|
|
|
|
Mod+Q repeat=false { close-window; }
|
|
|
|
|
Alt+F4 repeat=false { close-window; }
|
|
|
|
|
|
|
|
|
|
Mod+Left { focus-column-left; }
|
|
|
|
|
Mod+A { focus-column-left; }
|
|
|
|
|
@@ -131,8 +133,8 @@ binds {
|
|
|
|
|
// ...
|
|
|
|
|
|
|
|
|
|
Mod+Page_Down { focus-workspace-down; }
|
|
|
|
|
Mod+S { focus-workspace-down; }
|
|
|
|
|
Mod+Page_Up { focus-workspace-up; }
|
|
|
|
|
Mod+S { focus-workspace-down; }
|
|
|
|
|
Mod+W { focus-workspace-up; }
|
|
|
|
|
Mod+U { focus-workspace-down; }
|
|
|
|
|
Mod+I { focus-workspace-up; }
|
|
|
|
|
@@ -140,6 +142,8 @@ binds {
|
|
|
|
|
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
|
|
|
|
|
Mod+Ctrl+U { move-column-to-workspace-down; }
|
|
|
|
|
Mod+Ctrl+I { move-column-to-workspace-up; }
|
|
|
|
|
Mod+Ctrl+S { move-column-to-workspace-down; }
|
|
|
|
|
Mod+Ctrl+W { move-column-to-workspace-up; }
|
|
|
|
|
|
|
|
|
|
// Alternatively, there are commands to move just a single window:
|
|
|
|
|
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
|
|
|
|
|
@@ -296,4 +300,6 @@ binds {
|
|
|
|
|
// Powers off the monitors. To turn them back on, do any input like
|
|
|
|
|
// moving the mouse or pressing any other key.
|
|
|
|
|
Mod+Shift+P { power-off-monitors; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Ctrl+Shift+C { spawn "sh" "-c" "wl-copy $(wl-paste -p)"; }
|
|
|
|
|
}
|
|
|
|
|
|