(sway/bar) added keybinding & display for keymaps

This commit is contained in:
zegonix
2025-06-11 23:02:02 +02:00
parent 0389ba6559
commit 9139126295
3 changed files with 21 additions and 5 deletions

View File

@@ -50,8 +50,12 @@ for_window [class="steam_app.*"] inhibit_idle open
exec nm-applet
### configuring input
input * accel_profile flat
input * pointer_accel 0.53
input type:keyboard {
xkb_layout "us,us(intl)"
}
input type:pointer accel_profile flat
input type:pointer pointer_accel 0.53
### configuring keybindings
@@ -152,6 +156,9 @@ bindsym $mod+i move workspace to output down
bindsym $mod+o move workspace to output up
bindsym $mod+p move workspace to output right
# switch keyboard layout
bindsym $mod+Shift+n exec swaymsg input type:keyboard xkb_switch_layout next
## take screenshots
#bindsym $mod+s exec maim -su | xclip -selection clipboard -t image/png
#bindsym $mod+Shift+s exec maim -su "${HOME}/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"