diff --git a/grobi/grobi.conf b/grobi/grobi.conf index 7d2c9f8..7aed420 100644 --- a/grobi/grobi.conf +++ b/grobi/grobi.conf @@ -11,6 +11,7 @@ execute_after: on_failure: - xrandr --auto - xset s on + - xset s 300 60 # 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 @@ -40,63 +41,24 @@ rules: primary: DP1 execute_after: - xset s on - - nmcli c up Kabelgebundene\ Verbindung\ 2 - rfkill block wifi - bluetoothctl power on - - xrandr --output DP1-1 --set "Broadcast RGB" "Full" - - xrandr --output DP1-2 --set "Broadcast RGB" "Full" + - xrandr --output DP3-1 --set "Broadcast RGB" "Full" + - xrandr --output DP3-2 --set "Broadcast RGB" "Full" - systemctl --user start redshift-gtk.service - /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" outputs_connected: - eDP1 - DP1-DEL-41367-825642060-DELL S2721QS-FHP9M43 - configure_column: - - DP1@3840x2160 + configure_row: - eDP1 - primary: eDP1 + - DP1@3840x2160 + primary: DP1 atomic: false execute_after: - - xset s on - - - name: Mobile - outputs_disconnected: - - DP1-1 - - DP1-2 - configure_single: eDP1 - primary: eDP1 - execute_after: - - rfkill unblock wifi - - systemctl --user start redshift-gtk.service + - xset s 300 120 - name: "ATIS" outputs_connected: @@ -110,10 +72,9 @@ rules: execute_after: - xset s on - - name: Mobile - outputs_disconnected: - - DP1-1 - - DP1-2 + - name: "Mobile" + outputs_connected: + - eDP1 configure_single: eDP1 primary: eDP1 execute_after: @@ -121,6 +82,20 @@ rules: - xset s on - 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 # which enables an output device that is always present, so you can debug # what's going on.