1
0
Fork 0

add kitty as possible terminal

also make terminal configurable in sway config
This commit is contained in:
tastytea 2024-03-10 12:31:17 +01:00
parent 9d701b2c1e
commit f4dfa8026e
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,6 @@
# override in config.local
set $terminal 'urxvt'
include config.keybinds include config.keybinds
include config.theme include config.theme
include config.common include config.common

View File

@ -4,7 +4,7 @@ set $mod Mod4
floating_modifier $mod floating_modifier $mod
# start a terminal # start a terminal
bindsym $mod+Return exec alacritty bindsym $mod+Return exec $$terminal
# close focused window (doesn't work, where did i get this?) # close focused window (doesn't work, where did i get this?)
bindsym $mod+q close bindsym $mod+q close

View File

@ -93,7 +93,9 @@ fi
export CCACHE_DIR="/var/cache/ccache" export CCACHE_DIR="/var/cache/ccache"
# Set terminal # 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" export TERMINAL="alacritty"
elif command -v xfce4-terminal > /dev/null; then elif command -v xfce4-terminal > /dev/null; then
export TERMINAL="xfce4-terminal" export TERMINAL="xfce4-terminal"