dwmbar added to xinitrc
This commit is contained in:
parent
e2a66c3830
commit
bf8c6b1e20
2 changed files with 9 additions and 2 deletions
6
.local/bin/dwmbar
Executable file
6
.local/bin/dwmbar
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
while :; do
|
||||
xsetroot -name "$(sed 's/^/🔋:/' /sys/class/power_supply/BAT?/capacity 2>/dev/null | tr '\n' ' ') $(date '+%Y %b %d (%a) %I:%M%p')"
|
||||
sleep 30
|
||||
done
|
3
.xinitrc
3
.xinitrc
|
@ -12,5 +12,6 @@ xcompmgr & # xcompmgr for transparency
|
|||
dunst & # dunst for notifications
|
||||
|
||||
while :; do
|
||||
ssh-agent dwm
|
||||
dwmbar &
|
||||
ssh-agent dwm || break
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue