forked from kunsi/dotfiles
Franziska Kunsmann
a4406b81e2
Sometimes after suspending, the docked displays will get detected as DP5+6 instead of 3+4
53 lines
1,003 B
YAML
53 lines
1,003 B
YAML
# vim:ft=yaml
|
|
|
|
execute_after:
|
|
- xset s 90 10
|
|
- /home/kunsi/.fehbg
|
|
- sudo rfkill unblock wifi
|
|
|
|
on_failure:
|
|
- xrandr --auto
|
|
|
|
rules:
|
|
- name: 'presentation'
|
|
outputs_connected:
|
|
- HDMI-A-0
|
|
configure_row:
|
|
- HDMI-A-0
|
|
- eDP
|
|
primary: eDP
|
|
execute_after:
|
|
- xset s off
|
|
- systemctl --user stop redshift.service
|
|
|
|
- name: 'docked DP3+4'
|
|
outputs_connected:
|
|
- DisplayPort-3
|
|
- DisplayPort-4
|
|
configure_row:
|
|
- eDP
|
|
- DisplayPort-3
|
|
- DisplayPort-4
|
|
primary: DisplayPort-4
|
|
execute_after:
|
|
- xset s off
|
|
- sudo rfkill block wifi
|
|
- sudo light -S 100
|
|
|
|
- name: 'docked DP5+6'
|
|
outputs_connected:
|
|
- DisplayPort-5
|
|
- DisplayPort-6
|
|
configure_row:
|
|
- eDP
|
|
- DisplayPort-5
|
|
- DisplayPort-6
|
|
primary: DisplayPort-6
|
|
execute_after:
|
|
- xset s off
|
|
- sudo rfkill block wifi
|
|
- sudo light -S 100
|
|
|
|
- name: 'internal only'
|
|
configure_single: eDP
|
|
primary: eDP
|