Grobi: Config cleanup

This commit is contained in:
Tobias Manske 2022-11-02 19:13:24 +01:00
parent 599537bcaf
commit 0e91f32f60
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -11,6 +11,7 @@ execute_after:
on_failure: on_failure:
- xrandr --auto - xrandr --auto
- xset s on - xset s on
- xset s 300 60
# These are the rules grobi tries to match to the current output configuration. # These are the rules grobi tries to match to the current output configuration.
# The rules are evaluated top to bottom, the first matching rule is applied and # The rules are evaluated top to bottom, the first matching rule is applied and
@ -40,63 +41,24 @@ rules:
primary: DP1 primary: DP1
execute_after: execute_after:
- xset s on - xset s on
- nmcli c up Kabelgebundene\ Verbindung\ 2
- rfkill block wifi - rfkill block wifi
- bluetoothctl power on - bluetoothctl power on
- xrandr --output DP1-1 --set "Broadcast RGB" "Full" - xrandr --output DP3-1 --set "Broadcast RGB" "Full"
- xrandr --output DP1-2 --set "Broadcast RGB" "Full" - xrandr --output DP3-2 --set "Broadcast RGB" "Full"
- systemctl --user start redshift-gtk.service - systemctl --user start redshift-gtk.service
- /home/rad4day/.config/i3/scripts/ws-dock.sh - /home/rad4day/.config/i3/scripts/ws-dock.sh
- name: "KIT 50.34 -118"
outputs_connected:
- eDP1
- HDMI2-SNY-33283-16843009-SONY PJ-
configure_row:
- eDP1
- HDMI2@1920x1200
primary: eDP1
atomic: false
execute_after:
- xset s off
- chromium "https://s.kit.edu/50.34-118"
- systemctl --user stop redshift-gtk.service
- name: "KIT 50.34 -108"
outputs_connected:
- eDP1
- HDMI2-SNY-33795-16843009-SONY PJ-
configure_row:
- eDP1
- HDMI2@1280x720
primary: eDP1
atomic: false
execute_after:
- xset s off
- chromium "https://s.kit.edu/50.34-108"
- systemctl --user stop redshift-gtk.service
- name: "Regus Office" - name: "Regus Office"
outputs_connected: outputs_connected:
- eDP1 - eDP1
- DP1-DEL-41367-825642060-DELL S2721QS-FHP9M43 - DP1-DEL-41367-825642060-DELL S2721QS-FHP9M43
configure_column: configure_row:
- DP1@3840x2160
- eDP1 - eDP1
primary: eDP1 - DP1@3840x2160
primary: DP1
atomic: false atomic: false
execute_after: execute_after:
- xset s on - xset s 300 120
- name: Mobile
outputs_disconnected:
- DP1-1
- DP1-2
configure_single: eDP1
primary: eDP1
execute_after:
- rfkill unblock wifi
- systemctl --user start redshift-gtk.service
- name: "ATIS" - name: "ATIS"
outputs_connected: outputs_connected:
@ -110,10 +72,9 @@ rules:
execute_after: execute_after:
- xset s on - xset s on
- name: Mobile - name: "Mobile"
outputs_disconnected: outputs_connected:
- DP1-1 - eDP1
- DP1-2
configure_single: eDP1 configure_single: eDP1
primary: eDP1 primary: eDP1
execute_after: execute_after:
@ -121,6 +82,20 @@ rules:
- xset s on - xset s on
- systemctl --user start redshift-gtk.service - systemctl --user start redshift-gtk.service
- name: "Presentation"
outputs_connected:
- eDP1
- DP1
configure_row:
- eDP1
- DP1@1920x1200
primary: eDP1
atomic: false
execute_after:
- xset s off
- systemctl --user stop redshift-gtk.service
# If none of the rules above match, it's a good idea to have a fallback rule # If none of the rules above match, it's a good idea to have a fallback rule
# which enables an output device that is always present, so you can debug # which enables an output device that is always present, so you can debug
# what's going on. # what's going on.