Change hard-coded terminal variable from Alacritty to alacritty environmental variable.

This commit is contained in:
inference 2022-11-17 22:03:43 +00:00
parent e300aadaa8
commit 64b37fe55e

View File

@ -1,4 +1,4 @@
# Sway Configuration File # Sway - Configuration
# Copyright 2022 Inference # Copyright 2022 Inference
# License: BSD 3-Clause Clear # License: BSD 3-Clause Clear
@ -15,11 +15,11 @@ bindsym $mod+Shift+c reload
# Restart Sway. # Restart Sway.
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# Exit Sway (log out of Wayland session). # Exit Sway (exit Wayland session).
bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit Sway?' -b 'Yes' 'swaymsg exit' bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit Sway?' -b 'Yes' 'swaymsg exit'
# Start terminal. # Start terminal.
bindsym $mod+Return exec alacritty bindsym $mod+Return exec $TERM
# Kill focused window. # Kill focused window.
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill