busybox for dwmbar + wallpapers fixed: halloween

This commit is contained in:
inigoortega 2019-10-13 12:01:55 +02:00
parent ff3d774c49
commit 1078a7dc61
4 changed files with 6 additions and 7 deletions

View File

@ -258,7 +258,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.xpm
\ {View in imv}
\ imv -b 1D2330 -d %d &,
\ {View in feh}
\ feh %d &,
\ feh %f &,
\ {View in cacaview}
\ cacaview %c &,
filextype *.gif

View File

@ -1,11 +1,11 @@
# Exceptions:
setxkbmap gb
mksh $TSCRIPTS/loop.sh -l 0 -p 5 "mksh $TSCRIPTS/refresh-cpu-usage.sh" &
# ALWAYS ON TOP
dash $HOME/bin/dwmbar.sh &
busybox ash $HOME/bin/dwmbar.sh &
# ALWAYS ON TOP
sxhkd -c "$HOME/.config/sxhkd/sxhkdrc" &
mksh $TSCRIPTS/loop.sh -l 0 -p 5 "mksh $TSCRIPTS/refresh-cpu-usage.sh" &
mksh $SCRIPTS/set-random-wallpaper.sh &
mksh $TSCRIPTS/loop.sh -l 0 -p 33 "mksh $SCRIPTS/stop-100-pulseaudio.sh" &
redshift &

View File

@ -1,5 +1,5 @@
#!/usr/bin/env sh
p_num=$(ps -C dash | sed '2q;d' | awk '{print $1}')
p_num=$(pgrep busybox | head)
echo "$p_num"
kill -s 5 $p_num

View File

@ -7,12 +7,11 @@ case "$day" in
folder="$HALLOWEEN_WALLPAPERS"
;;
*)
folder="$WALLPAPERS"
folder="$WALLPAPERS/explicit"
;;
esac
list=$(find "$folder" -type f -not -regex ".*\.md" \
-not -regex "$folder/non-explicit/.*")
list=$(find "$folder" -type f -not -regex ".*\.md")
num_lines=$(printf "%b\n" "$list" | wc -l)