diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-15 19:36:15 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-15 19:36:15 -0400 |
commit | c584329c04c0fa590f9c54e7f6cfd0fa021fd0cb (patch) | |
tree | 3ca09dc0a682c61652405cafcabc61298ef97c9c | |
parent | c66c4a60d8c47759b3ca54fcdda0a7c7ad731817 (diff) |
correct setbg script, separate date/time in dwmbar
-rwxr-xr-x | .local/bin/dwmbar/dwmb-date | 2 | ||||
-rwxr-xr-x | .local/bin/setbg | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/dwmbar/dwmb-date b/.local/bin/dwmbar/dwmb-date index e2198bd..9f2d485 100755 --- a/.local/bin/dwmbar/dwmb-date +++ b/.local/bin/dwmbar/dwmb-date @@ -1,3 +1,3 @@ #!/bin/sh -date +" %a %b %d | %H:%M " +date +" %a %b %d " diff --git a/.local/bin/setbg b/.local/bin/setbg index 03f2bd0..b32783b 100755 --- a/.local/bin/setbg +++ b/.local/bin/setbg @@ -4,10 +4,9 @@ # Run by itself, set the wallpaper (at X start). # If given a file, set that as the new wallpaper. # If given a directory, choose random file in it. -# If wal is installed, also generate a colorscheme. # Location of link to wallpaper link. -bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}/wall.png" +bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}wall.png" [ -f "$1" ] && ln -sf "$(readlink -f "$1")" "$bgloc" && notify-send -i "$bgloc" "Changing wallpaper..." |