Grobi: Display setting merging

This commit is contained in:
Tobias Manske 2023-08-18 19:23:07 +02:00
parent 23a1aab45c
commit df556a9b31
Signed by: tobias
GPG Key ID: 9164B527694A0709
1 changed files with 4 additions and 20 deletions

View File

@ -21,7 +21,6 @@ on_failure:
# (LVDS1). It may even be placed in a Docking Station, which adds more outputs
# that aren't present outside it.
rules:
# I use a modified version of grobi available at https://github.com/rad4day/grobi
# which allows to specify a display rotation as ::<rotation>.
# This config will throw errors in default grobi!
@ -50,14 +49,12 @@ rules:
- name: "Regus Office"
outputs_connected:
- eDP-1
- DP-1-DEL-41367-825642060-DELL S2721QS-FHP9M43
- DP-2-DEL-41367-825642060-DELL S2721QS-FHP9M43
configure_column:
- DP-1@3840x2160
- DP-2@3840x2160
- eDP-1
primary: DP-1
primary: DP-2
atomic: false
execute_after:
- xset s 300 120
- name: "ATIS"
outputs_connected:
@ -68,8 +65,6 @@ rules:
- eDP-1
primary: DP-1
atomic: false
execute_after:
- xset s on
- name: FSI
outputs_connected:
@ -82,10 +77,6 @@ rules:
- eDP-1@2256x1504
primary: DP4-3
atomic: false
execute_after:
- xset s on
- rfkill block wifi
- bluetoothctl power on
- name: "ATIS-Horizontal"
outputs_connected:
@ -104,10 +95,6 @@ rules:
- eDP-1
configure_single: eDP-1
primary: eDP-1
execute_after:
- rfkill unblock wifi
- xset s on
- systemctl --user start redshift-gtk.service
- name: "Presentation"
outputs_connected:
@ -121,6 +108,7 @@ rules:
execute_after:
- xset s off
- systemctl --user stop redshift-gtk.service
- dunstctl set-paused true
# If none of the rules above match, it's a good idea to have a fallback rule
@ -129,7 +117,3 @@ rules:
- name: Fallback
configure_single: eDP-1
primary: eDP-1
execute_after:
- rfkill unblock wifi
- xset s on
- systemctl --user start redshift-gtk.service