#!/usr/bin/env bash

# Cheap hack to get pointerCursor working because for some reason it doesn't...
xsetroot -xcf /etc/profiles/per-user/anish/share/icons/capitaine-cursors/cursors/left_ptr 32

pkill -u $UID -x polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

polybar mybar >$XDG_DATA_HOME/polybar.log 2>&1 &
