1
0
Fork 0

Update triple setup

main
Ambrose Chua 2021-09-06 15:23:35 +08:00
parent 107960b1a5
commit 3d9e393692
1 changed files with 7 additions and 22 deletions

View File

@ -9,7 +9,7 @@ set $output_right "Dell Inc. DELL P2719H DNJQPS2"
output $output_mini position 56 800 transform 270
output $output_left position 1080 0 transform 270
output $output_right position 2160 0 transform 90
output * bg ~/.wallpaper/daniel-j-schwarz-a4M-Vegh7Y4-unsplash.jpg fill
# output * bg ~/.wallpaper/daniel-j-schwarz-a4M-Vegh7Y4-unsplash.jpg fill
#
# Display controls:
@ -18,28 +18,13 @@ output * bg ~/.wallpaper/daniel-j-schwarz-a4M-Vegh7Y4-unsplash.jpg fill
set $monitor_global --noverify --sleep-multiplier 0.1
set $monitor_mini --bus 0
set $monitor_left --bus 5
set $monitor_right --bus 6
set $monitor_right --bus 4
# Display source controls:
mode "monitor" {
# switch the left display to DisplayPort
bindsym F1 exec ddcutil $monitor_global $monitor_left setvcp 0x60 0x0f
# switch the left display to VGA
bindsym F3 exec ddcutil $monitor_global $monitor_left setvcp 0x60 0x01
# switch the right display to DisplayPort
bindsym F2 exec ddcutil $monitor_global $monitor_right setvcp 0x60 0x0f
# switch the right display to VGA
bindsym F4 exec ddcutil $monitor_global $monitor_right setvcp 0x60 0x01
# switch both displays to DisplayPort
bindsym F5 exec (ddcutil $monitor_global $monitor_left setvcp 0x60 0x0f) & (ddcutil $monitor_global $monitor_right setvcp 0x60 0x0f)
# switch both displays to VGA
bindsym F6 exec (ddcutil $monitor_global $monitor_left setvcp 0x60 0x01) & (ddcutil $monitor_global $monitor_right setvcp 0x60 0x01)
# return to default mode
bindsym Pause mode "default"
}
bindsym Pause mode "monitor"
set $monitor_prefix Mod4+Alt
bindsym $monitor_prefix+F1 exec ddcutil $monitor_global $monitor_left setvcp 0x60 0x0f
bindsym $monitor_prefix+F2 exec ddcutil $monitor_global $monitor_right setvcp 0x60 0x0f
bindsym $monitor_prefix+F3 exec ddcutil $monitor_global $monitor_left setvcp 0x60 0x01
bindsym $monitor_prefix+F4 exec ddcutil $monitor_global $monitor_right setvcp 0x60 0x01
# Display brightness controls:
set $monitor_brightness_step 0x0a
set $monitor_mini_brightness_step 0x03