Firestarter: Stop hardcoding directories

This commit is contained in:
Salt 2020-09-16 12:51:43 -05:00
parent b1351da872
commit fb36639d48
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
#.fsdefaults
command -v tint2
tint2
command -v polybar && [ -r "/home/salt/.config/polybar/launch.sh" ]
sleep 5 && "/home/salt/.config/polybar/launch.sh"
command -v polybar && [ -r "$HOME/.config/polybar/launch.sh" ]
sleep 5 && "$HOME/.config/polybar/launch.sh"
command -v lxpanel
lxpanel
command -v lxqt-panel

View File

@ -3,7 +3,7 @@
:
# Note: the dumb sleep hack is because Conky crashes with window_type override if the WM hasn't loaded yet
# This gives the WM ample time to load up
command -v conky && [ -r "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf" ] && [[ "$HOSTNAME" == "lap"* ]]
sleep 5 && conky -c "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky-clock.conf"
command -v conky && [ -r "${XDG_CONFIG_HOME:-/home/salt/.config}/conky/conky.conf" ]
command -v conky && [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky-clock.conf" ] && [[ "$HOSTNAME" == "lap"* ]]
sleep 5 && conky -c "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky-clock.conf"
command -v conky && [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky.conf" ]
sleep 5 && conky

View File

@ -1,11 +1,11 @@
#.fsdefaults
[ -z "$DISPLAY" ]
:
command -v nitrogen && [ -r "/home/salt/.config/nitrogen/bg-saved.cfg" ]
command -v nitrogen && [ -r "$HOME/.config/nitrogen/bg-saved.cfg" ]
nitrogen --restore
command -v feh && [ -r "/home/salt/.fehbg" ]
command -v feh && [ -r "$HOME/.fehbg" ]
~/.fehbg
command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ "$(hostname)" == "dsk-cstm-0" ]
hsetroot -tile "/home/salt/.config/firestarter/tile.png"
hsetroot -tile "$HOME/.config/firestarter/tile.png"
command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ -r ~/.config/firestarter/center.png ]
hsetroot -tile "/home/salt/.config/firestarter/tile.png" -center "/home/salt/.config/firestarter/center.png"
hsetroot -tile "$HOME/.config/firestarter/tile.png" -center "$HOME/.config/firestarter/center.png"