sway: make use of foot server

The foot server allows for faster start up of individual terminals.

There is a second keybind as a fallback, in case the foot server isn't running.
This commit is contained in:
buffet 2023-09-04 00:04:38 +02:00
parent 86ec9d7ce2
commit 87190c1402

View file

@ -5,7 +5,7 @@ set $down j
set $up k set $up k
set $right l set $right l
set $term foot set $term footclient
set $browser firefox-wayland set $browser firefox-wayland
set $lock swaylock set $lock swaylock
@ -22,11 +22,13 @@ seat * hide_cursor when-typing enable
exec wl-paste -t text --watch clipman store --no-persist exec wl-paste -t text --watch clipman store --no-persist
exec mako exec mako
exec fcitx5 exec fcitx5
exec foot -s
### Key bindings ### Key bindings
floating_modifier $mod normal floating_modifier $mod normal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+Alt+Return exec foot # fallback terminal
bindsym $mod+i exec $browser bindsym $mod+i exec $browser
bindsym $mod+Shift+y exec $lock bindsym $mod+Shift+y exec $lock