Update status bar and dunst
This commit is contained in:
parent
db43e95259
commit
b893bf61a3
5
.xinitrc
5
.xinitrc
@ -7,10 +7,11 @@ picom &
|
|||||||
xwallpaper --center .config/wall.png
|
xwallpaper --center .config/wall.png
|
||||||
xautolock -time 12 -locker "systemctl suspend" -detectsleep &
|
xautolock -time 12 -locker "systemctl suspend" -detectsleep &
|
||||||
xss-lock -- slock &
|
xss-lock -- slock &
|
||||||
dunst &
|
#dunst crashes X for some reason on my device so I put it in screen to prevent that
|
||||||
|
screen -dm dunst notifs
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
xsetroot -name "$(mpc -f %title% | head -n 1) $(mpc status | awk '/^\[playing\]/ { sub(/\/.+/,"",$4); print $3 }') | $(date) $(acpi | cut -d',' -f2)"
|
xsetroot -name "$(mpc -f %title% | head -n 1) $(mpc status | awk '/^\[playing\]/ { sub(/\/.+/,"",$4); print $3 }') | $(date) | $(acpi | cut -d',' -f2)"
|
||||||
sleep 2
|
sleep 2
|
||||||
done &
|
done &
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user