dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

dwmstatus-refresh (151B)


      1 #!/bin/sh
      2 # Modified from lukesmithxyz/voidrice
      3 
      4 pid="$(pstree -lp | sed -n 's/.*-dwmstatus(.*-sleep(\([0-9]\+\))/\1/p')"
      5 [ -n "$pid" ] && kill "$pid"