fix(sway): add missing qol

This commit is contained in:
Tibo De Peuter 2026-09-27 14:05:43 +02:00
parent 603659b77d
commit 12ba12f146
No known key found for this signature in database
GPG key ID: 9187B5FA0F4B6F6D
2 changed files with 16 additions and 0 deletions

View file

@ -1,6 +1,12 @@
input type:keyboard { input type:keyboard {
xkb_layout "us","be" xkb_layout "us","be"
xkb_variant "altgr-intl","iso-alternate" 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 { input type:touchpad {
@ -18,3 +24,7 @@ output * {
output "Dell Inc. DELL P2214H 29C2937M4YTL" { output "Dell Inc. DELL P2214H 29C2937M4YTL" {
transform 270 transform 270
} }
# Clamshell style
bindswitch lid:on output eDP-1 disable
bindswitch lid:off output eDP-1 enable

View file

@ -211,6 +211,9 @@ bindsym {
$flag+Return exec $term $flag+Return exec $term
Control+$alt+t 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+space exec $menu
$alt+Tab focus prev $alt+Tab focus prev
$flag+Tab exec $window_switcher $flag+Tab exec $window_switcher
@ -223,6 +226,9 @@ bindsym {
# File explorer # File explorer
$flag+e exec $term -e vifm $flag+e exec $term -e vifm
# Task manager
Control+Shift+Escape exec $term -e zenith
} }
bindgesture { bindgesture {