~tardypad/dotfiles

ref: e0559832d0222c315135f2044b903bc8147a7057 dotfiles/files/configs/sway/config.d/outputs -rw-r--r-- 955 bytes
e0559832 — Damien Tardy-Panis Decrease font size again 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Define wallpaper
output * bg $base02 solid_color

# monitors
set $laptop_monitor eDP-1
set $external_monitor HDMI-A-2

# position and resolution
output $laptop_monitor pos 0,0 res 2560x1440
output $external_monitor pos 2560,0 res 1920x1080

# all main workspaces on main output
workspace 1  output $external_monitor
workspace 2  output $external_monitor
workspace 3  output $external_monitor
workspace 4  output $external_monitor
workspace 5  output $external_monitor
workspace 6  output $external_monitor
workspace 7  output $external_monitor
workspace 8  output $external_monitor
workspace 9  output $external_monitor
workspace 10 output $external_monitor

# unused workspace on extra output
# so that the output is initialized with it
# instead of a main workspace
workspace 11 output $laptop_monitor

# disable laptop monitor usage when lid is closed
bindswitch lid:on output $laptop_monitor disable
bindswitch lid:off output $laptop_monitor enable