Added foot
This commit is contained in:
parent
4700eeae1a
commit
1e29d375de
@ -8,8 +8,12 @@ set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Your preferred terminal emulator
|
||||
set $term alacritty
|
||||
set $term $HOME/.config/sway/scripts/foot.sh
|
||||
set $term_cwd $term -D "$(swaycwd 2>/dev/null || echo $HOME)"
|
||||
set $term_float footclient -a floating_shell
|
||||
|
||||
# Your preferred application launcher
|
||||
# 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.
|
||||
|
||||
10
dot_config/sway/scripts/executable_foot.sh
Normal file
10
dot_config/sway/scripts/executable_foot.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
# wrapper script for foot
|
||||
|
||||
USER_CONFIG_PATH="${HOME}/.config/foot/foot.ini"
|
||||
|
||||
if [ -f "$USER_CONFIG_PATH" ]; then
|
||||
USER_CONFIG=$USER_CONFIG_PATH
|
||||
fi
|
||||
|
||||
foot -c "${USER_CONFIG:-"/usr/share/sway/templates/foot.ini"}" "$@" &
|
||||
Loading…
Reference in New Issue
Block a user