-mkdir -pv ~/.config/{khal,khard,vdirsyncer,todoman,notmuch,msmtp,offlineimap,dunst,newsboat,tmux}
+mkdir -pv ~/.config/{khal,khard,vdirsyncer,todoman,notmuch,msmtp,offlineimap,dunst,tmux}
mkdir -pv ~/.mutt
mkdir -pv ~/.gnupg
mkdir -pv ~/.vim/{ftplugin,after/ftplugin,autoload,bundle,spell,pack/plugins/{opt,start}}
-mkdir -pv ~/.{local/bin,config/{i3,i3status}}
-mkdir -pv ~/.{ncmpcpp,config/mpd}
+mkdir -pv ~/.local/bin
chmod 700 ~/.gnupg
fi
fi
+eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell)
+
echo \
"W $wlan"\
"♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "100$") |"\
"⚡$bat"\
"Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
- "$(date +"%Y-%m-%d %H:%M:%S")"
+ "$(date +"%Y-%m-%d %H:%M:%S") "\
+ "$(printf "% $(((WIDTH-2)/10))s")"
#!/bin/bash
-PATH=$PATH:~/.local/bin
-
#To fix java applications in tiling (e.g. arduino)
export _JAVA_AWT_WM_NONREPARENTING=1
-xautolock -locker ~/.local/bin/lock.sh &
dunst &
+trayer --align right --widthtype request --SetPartialStrut false --height 22 &
eval "$(gpg-agent --daemon)"
xrdb -merge ~/.Xresources
fi
while true; do xsetroot -name "$(bar)"; sleep 1m; done &
-while true; do dwm >dwm.log 2>&1; done
+while true; do dwm 1>/tmp/dwm.log 2>&1; done