A variety of simple automation scripts and enhancements to Sway and i3.
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.

12 lines
226B

  1. #!/bin/bash
  2. CURRENT=`cat /home/jpm/.config/last_display`
  3. if [ "$CURRENT" == "detached" ]; then
  4. /home/jpm/scripts/sway/displays.pl stacked
  5. else
  6. /home/jpm/scripts/sway/displays.pl detached
  7. fi
  8. pkill mako
  9. mako &