Updated startup config

This commit is contained in:
2Shirt 2020-01-16 20:42:55 -07:00
parent 3265b19f3d
commit adce6db578
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 3 additions and 8 deletions

View file

@ -5,10 +5,6 @@ CONFIG_BASE="${HOME}/.config/conky/base.conf"
CONFIG_NEW="${HOME}/.config/conky/new.conf"
CONFIG_REAL="${HOME}/.config/conky/conky.conf"
CONFIG_BASE="${HOME}/.conkyrc_base"
CONFIG_NEW="${HOME}/.conkyrc_new"
CONFIG_REAL="${HOME}/.conkyrc"
IF_LIST=($(ip l \
| egrep '^[0-9]+:\s+(eth|en|wl)' \
| sed -r 's/^[0-9]+:\s+(\w+):.*/\1/' \

View file

@ -100,12 +100,11 @@ _ip="$(ip a show scope global \
| head -1 \
| sed -r 's#.*inet ([0-9]+.[0-9]+.[0-9]+.[0-9]+.)/.*#\1#')"
if [[ -e "$TEST_STATION_WALLPAPERS/${_hostname:+x}" ]]; then
feh --bg-fill "$TEST_STATION_WALLPAPERS/${_hostname:+x}"
ln -sf "$TEST_STATION_WALLPAPERS/${_hostname:+x}" "$HOME/.wallpaper"
elif [[ -e "$TEST_STATION_WALLPAPERS/${_ip:+x}" ]]; then
feh --bg-fill "$TEST_STATION_WALLPAPERS/${_ip:+x}"
else
feh --bg-fill "$HOME/.wallpaper"
ln -sf "$TEST_STATION_WALLPAPERS/${_ip:+x}" "$HOME/.wallpaper"
fi
feh --bg-fill "$HOME/.wallpaper"
echo "Done"
# Start desktop apps for i3