Use the terminal alias in term_float command

This commit is contained in:
Alexander Oakman 2024-08-20 02:16:06 +03:00
parent 94b0219902
commit 89a7a823ad

View file

@ -15,7 +15,7 @@ set $flock /usr/share/sway/scripts/flock.sh
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty set $term alacritty
set $term_cwd $term --working-directory "$(/usr/share/sway/scripts/swaycwd.sh 2>/dev/null || echo $HOME)" set $term_cwd $term --working-directory "$(/usr/share/sway/scripts/swaycwd.sh 2>/dev/null || echo $HOME)"
set $term_float alacritty --class floating_shell -e set $term_float $term --class floating_shell -e
# Rofi theme # Rofi theme
set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foreground: $text; border-color: $blue;} window {border: 2;}" set $rofi_theme "* {lightbg: $base; background: $base; lightfg: $blue; foreground: $text; border-color: $blue;} window {border: 2;}"