Browse Source

Move toggle_outputs to sway directory

It is not specific to thinkpad hardware but it is specific to sway; this is more appropriate
master
John Mertz 1 year ago
parent
commit
93731a44e2
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      sway/toggle_outputs.sh

+ 9
- 0
sway/toggle_outputs.sh View File

@@ -0,0 +1,9 @@
#!/bin/bash

CURRENT=`cat /home/jpm/.config/last_display`

if [ "$CURRENT" == "detached" ]; then
/home/jpm/scripts/sway/displays.pl stacked
else
/home/jpm/scripts/sway/displays.pl detached
fi

Loading…
Cancel
Save