dots-of-war/files/.config/polybar/polybar-scripts/xmonad-status.sh

18 lines
277 B
Bash
Raw Normal View History

2020-05-09 13:24:23 +00:00
#!/bin/bash
if [ "$MONITOR" = "HDMI-A-0" ]; then
#while true; do
tail -f /tmp/xmonad-state-bar0
#done
2020-05-09 13:24:23 +00:00
else
#while true; do
tail -f /tmp/xmonad-state-bar1
#done
2020-05-09 13:24:23 +00:00
fi
#while true; do
#if read -r line </tmp/.xmonad-state-bar0; then
#echo "$line"
#fi
#done