66 lines
2.4 KiB
Plaintext
66 lines
2.4 KiB
Plaintext
#
|
||
# Output configuration:
|
||
#
|
||
set $output_primary "Dell Inc. DELL P2319H 7C8XMM2"
|
||
set $output_secondary "Dell Inc. DELL P2317H F4VYG7561H1S"
|
||
set $output_laptop "Unknown 0x573D 0x00000000"
|
||
set $output_tv "Unknown Beyond TV 0x00000100"
|
||
set $output_home "Unknown W280 Ultra 0000000000000"
|
||
output $output_primary position 2760 120 transform 90
|
||
output $output_secondary position 1680 120 transform 270
|
||
output $output_laptop position 3840 540 transform 0 scale 1
|
||
output $output_tv position 5760 360 mode --custom 2560x1440@60Hz
|
||
output $output_home position 0 0 mode 3840x2160@60Hz scale 1
|
||
bindsym $mod+Shift+F4 output $output_primary transform 90 clockwise
|
||
bindsym $mod+F4 output $output_primary transform 90 anticlockwise
|
||
|
||
#
|
||
# Output render configuration:
|
||
#
|
||
output * max_render_time 5
|
||
|
||
#
|
||
# Workspaces
|
||
#
|
||
workspace 1 output $output_secondary
|
||
workspace 2 output $output_primary
|
||
workspace 10 output $output_laptop
|
||
workspace 7 output $output_tv $output_laptop
|
||
|
||
#
|
||
# Windows
|
||
#
|
||
assign [app_id="org.telegram.desktop.*"] workspace 9
|
||
for_window [instance="spotify"] move to workspace 9
|
||
assign [instance="mattermost"] workspace 10
|
||
assign [instance="google-chrome"] workspace 1
|
||
for_window [instance="google-chrome" title="^Meet – ...-....-..."] move container to workspace 7
|
||
for_window [instance="google-chrome" title="^apps$"] move container to workspace 10
|
||
#
|
||
# Shortcuts
|
||
#
|
||
bindsym XF86Favorites exec google-chrome --password-store=gnome --new-window $MICROSEC_DAILY
|
||
bindsym $mod+Shift+Control+a exec google-chrome --password-store=gnome --new-window $MICROSEC_PAGES
|
||
|
||
#
|
||
# Display controls:
|
||
#
|
||
# Remember to configure udev. See https://blog.tcharles.fr/ddc-ci-screen-control-on-linux/
|
||
set $monitor_global --noverify --sleep-multiplier 0.1
|
||
set $monitor_primary --bus 8
|
||
# Display brightness controls:
|
||
set $monitor_brightness_step 0x0a
|
||
bindsym --locked $mod+F2 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 - $monitor_brightness_step
|
||
bindsym --locked $mod+F3 exec ddcutil $monitor_global $monitor_primary setvcp 0x10 + $monitor_brightness_step
|
||
|
||
#
|
||
# Display output toggle:
|
||
#
|
||
bindsym --locked $mod+Shift+F1 output $output_primary disable
|
||
bindsym --locked $mod+F1 output $output_primary enable
|
||
# This is so crazy performant that I did not notice it worked. Was expecting my main display to go blank for a while but it didn't even flash
|
||
bindswitch --reload --locked lid:on output $output_laptop disable
|
||
bindswitch --reload --locked lid:off output $output_laptop enable
|
||
|
||
# vim: ai ts=4 sw=4 et
|