dotfiles/.config/sway/outputs/default-screen.conf

36 lines
1013 B
Plaintext
Executable File

### Output configuration
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# Default wallpaper output * bg $background fill
#
# output $ext_monitor pos 0 0 res 1920x1080 output $int_monitor pos 1920 0 res 1920x1080
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output $ext_monitor pos 0 0 res 1920x1080
output $int_monitor pos 1920 0 res 1920x1080
# focus output $ext_monitor
# focus output $int_monitor
bindswitch --reload --locked lid:on output $int_monitor disable
bindswitch --reload --locked lid:off output $int_monitor enable
workspace 1 output $ext_monitor
workspace 2 output $ext_monitor
workspace 3 output $ext_monitor
workspace 4 output $ext_monitor
workspace 5 output $ext_monitor
workspace 6 output $int_monitor
workspace 7 output $int_monitor
workspace 8 output $int_monitor
workspace 9 output $int_monitor
workspace 0 output $int_monitor