dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit e0c1993a37d4335b0b44cdbd8e1abe7c804078f1
parent c2acc918cf1814b17980dd9c391a0b0585e052be
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sun, 22 Nov 2020 18:10:07 +0100

set-theme: use realpath to resolve images

Former-commit-id: 1a8c132f0a81b3a2c122f0d88561c33c74602d59
Diffstat:
Mscripts/set-theme | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/set-theme b/scripts/set-theme @@ -46,9 +46,9 @@ EOF set_terminal_and_wallpaper() { if [ "$1" = "light" ]; then - /usr/local/bin/wal --saturate 0.8 -i ~/Pictures/Backgrounds/light.jpg -l; + /usr/local/bin/wal --saturate 0.8 -i "$(realpath ~/Pictures/Backgrounds/light.jpg)" -l; else - /usr/local/bin/wal -i ~/Pictures/Backgrounds/dark.jpg; + /usr/local/bin/wal -i "$(realpath ~/Pictures/Backgrounds/dark.jpg)"; fi }