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.

13 lines
381B

  1. #!/bin/sh
  2. xrandr \
  3. --output DP-2-1 --mode 1920x1080 --pos 0x0 --rotate left \
  4. --output DP-2-2 --mode 1920x1080 --pos 1080x0 --rotate normal \
  5. --output DP-2-3 --off \
  6. --output eDP-1 --primary --mode 1920x1080 --pos 1080x1080 --rotate normal \
  7. --output HDMI-2 --off \
  8. --output HDMI-1 --off \
  9. --output DP-2 --off \
  10. --output DP-1 --off
  11. echo "work" > ~/.config/screenlayout/i3.current