sway: Add key mapping for alacritty

This commit is contained in:
Sanchayan Maity 2022-04-15 16:47:17 +05:30
parent ef1ed4b7d1
commit a4aa6fe892

View file

@ -10,6 +10,7 @@ set $prev bracketleft
set $next bracketright set $next bracketright
# Your preferred terminal emulator # Your preferred terminal emulator
set $term foot set $term foot
set $alt_term alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # 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. # on the original workspace that the command was run on.
@ -89,6 +90,7 @@ input "type:keyboard" {
# #
# Start a terminal # Start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+f exec $alt_term
# Kill focused window # Kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@ -182,7 +184,7 @@ input "type:keyboard" {
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
# Make the current focus fullscreen # Make the current focus fullscreen
bindsym $mod+f fullscreen bindsym $mod+Shift+f fullscreen
# Toggle the current focus between tiling and floating mode # Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle