nixos/config/polybar/startpolybar
2024-07-05 09:31:54 +04:00

11 lines
166 B
Bash
Executable file

#!/bin/sh
killall -q polybar
if [[ $(cat /etc/hostname) == "sakopc" ]]; then
polybar pc-monitor-1 &
polybar pc-monitor-2 &
else
polybar mainbar
fi