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.

11 lines
300B

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