getdwmstat 179 B

1234567
  1. #!/bin/sh
  2. # get dwm's status (source: http://dwm.suckless.org/dwmgetstatus)
  3. # trivial add comment
  4. xprop -root -notype -f WM_NAME 8u \
  5. | sed -n -r '5s,WM_NAME = \"(.*)\",\1,p'