pub / dotfiles

Configuration of software on my computer
git clone https://src.jayvii.de/pub/dotfiles.git
Home | Log | Files | Exports | Refs | RSS

donotdisturb_status.sh (177B)


      1 #!/usr/bin/env bash
      2 
      3 TIMEOUT=1
      4 
      5 while [ ! -z $(pidof waybar) ]; do
      6   if [ $(makoctl mode) != "default" ]; then
      7     echo '🔕'
      8   else
      9     echo '🔔'
     10   fi
     11   sleep $TIMEOUT
     12 done