From 12ba12f1461f8506087ae018a4ff233d31f7da84 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Sun, 27 Sep 2026 14:05:43 +0200 Subject: [PATCH] fix(sway): add missing qol --- stow/sway/.config/sway/input-output | 10 ++++++++++ stow/sway/.config/sway/keybinds | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/stow/sway/.config/sway/input-output b/stow/sway/.config/sway/input-output index 97bf8cc..7160846 100644 --- a/stow/sway/.config/sway/input-output +++ b/stow/sway/.config/sway/input-output @@ -1,6 +1,12 @@ input type:keyboard { xkb_layout "us","be" xkb_variant "altgr-intl","iso-alternate" + xkb_numlock enable +} + +# Disable numblock on laptop by default +input "1:1:AT_Translated_Set_2_keyboard" { + xkb_numlock disable } input type:touchpad { @@ -18,3 +24,7 @@ output * { output "Dell Inc. DELL P2214H 29C2937M4YTL" { transform 270 } + +# Clamshell style +bindswitch lid:on output eDP-1 disable +bindswitch lid:off output eDP-1 enable diff --git a/stow/sway/.config/sway/keybinds b/stow/sway/.config/sway/keybinds index 0c4bf47..18f073f 100644 --- a/stow/sway/.config/sway/keybinds +++ b/stow/sway/.config/sway/keybinds @@ -211,6 +211,9 @@ bindsym { $flag+Return exec $term Control+$alt+t exec $term + $flag+Shift+Return exec $term -e -- zellij a main + Control+$alt+Shift+t exec $term -e -- zellij a main + $alt+space exec $menu $alt+Tab focus prev $flag+Tab exec $window_switcher @@ -223,6 +226,9 @@ bindsym { # File explorer $flag+e exec $term -e vifm + + # Task manager + Control+Shift+Escape exec $term -e zenith } bindgesture {