CLI config/dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
135 B

  1. #!/usr/bin/env sh
  2. wm_name='calendar'
  3. if xdo id -a "$wm_name" > /dev/null; then
  4. xdo kill $(xdo id -a "$wm_name")
  5. else
  6. calendar &
  7. fi