sway: Add a key mapping to start kitty with session

This commit is contained in:
Sanchayan Maity 2021-10-13 12:39:01 +05:30
parent 952af3ae06
commit 8e1b5c1a34
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ set $prev bracketleft
set $next bracketright
# Your preferred terminal emulator
set $term kitty
set $term_session kitty --session ~/.config/kitty/session.conf
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
@ -86,6 +87,7 @@ input "type:keyboard" {
#
# Start a terminal
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec $term_session
# Kill focused window
bindsym $mod+Shift+q kill