nixos/config/polybar/startpolybar

12 lines
166 B
Text
Raw Permalink Normal View History

2023-07-03 18:22:49 +04:00
#!/bin/sh
killall -q polybar
2024-07-05 09:30:36 +04:00
if [[ $(cat /etc/hostname) == "sakopc" ]]; then
2024-07-05 09:31:54 +04:00
polybar pc-monitor-1 &
polybar pc-monitor-2 &
2024-07-05 09:30:36 +04:00
else
polybar mainbar
fi