Update
This commit is contained in:
15
local/share/sway/scripts/foot.sh
Executable file
15
local/share/sway/scripts/foot.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env sh
|
||||
# wrapper script for foot
|
||||
|
||||
USER_CONFIG_PATH="${HOME}/.config/foot/foot.ini"
|
||||
USER_THEME_CONFIG_PATH="${HOME}/.config/foot/foot-theme.ini"
|
||||
|
||||
if [ -f "$USER_THEME_CONFIG_PATH" ]; then
|
||||
USER_CONFIG=$USER_THEME_CONFIG_PATH
|
||||
fi
|
||||
|
||||
if [ -f "$USER_CONFIG_PATH" ]; then
|
||||
USER_CONFIG=$USER_CONFIG_PATH
|
||||
fi
|
||||
|
||||
foot -c "${USER_CONFIG:-"/usr/share/sway/templates/foot.ini"}" $@
|
||||
Reference in New Issue
Block a user