add kitty as possible terminal
also make terminal configurable in sway config
This commit is contained in:
parent
9d701b2c1e
commit
f4dfa8026e
@ -1,3 +1,6 @@
|
||||
# override in config.local
|
||||
set $terminal 'urxvt'
|
||||
|
||||
include config.keybinds
|
||||
include config.theme
|
||||
include config.common
|
||||
|
@ -4,7 +4,7 @@ set $mod Mod4
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
bindsym $mod+Return exec $$terminal
|
||||
|
||||
# close focused window (doesn't work, where did i get this?)
|
||||
bindsym $mod+q close
|
||||
|
@ -93,7 +93,9 @@ fi
|
||||
export CCACHE_DIR="/var/cache/ccache"
|
||||
|
||||
# Set terminal
|
||||
if command -v alacritty > /dev/null; then
|
||||
if command -v kitty > /dev/null; then
|
||||
export TERMINAL="kitty"
|
||||
elif command -v alacritty > /dev/null; then
|
||||
export TERMINAL="alacritty"
|
||||
elif command -v xfce4-terminal > /dev/null; then
|
||||
export TERMINAL="xfce4-terminal"
|
||||
|
Loading…
x
Reference in New Issue
Block a user