Grobi: Generic ATIS layout

This commit is contained in:
Tobias Manske 2022-05-10 14:47:31 +02:00
parent e5eca3e850
commit d466973ed3
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 202689A59D645C1C
1 changed files with 52 additions and 19 deletions

View File

@ -3,8 +3,8 @@
# The commands listed in execute_after will be run after an output
# configuration was changed.
execute_after:
- i3-msg "exec setxkbmap de"
- polybar-msg cmd restart
# - polybar-msg cmd restart
- ~/.fehbg
# if anything goes wrong (connection the X server died or some other error),
# run these commands before exiting
@ -21,22 +21,22 @@ on_failure:
# 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!
# 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!
- name: Docking Station
outputs_connected:
- DP1-1-BNQ-30887-21573-BenQ GL2450H-X4F00171019
- DP1-2-BNQ-30887-21573-BenQ GL2450H-ACB00126019
- HDMI2-SAM-3953-1129860145-S34J55x-H4LT100404
- DP3-1-BNQ-30887-21573-BenQ GL2450H-X4F00171019
- DP3-2-BNQ-30887-21573-BenQ GL2450H-ACB00126019
- DP1-SAM-3953-1129860145-S34J55x-H4LT100404
configure_row:
- DP1-2@1920x1080::left
- HDMI2@3440x1440
- DP1-1@1920x1080::right
- DP3-2@1920x1080::left
- DP1@3440x1440
- DP3-1@1920x1080::right
# atomic instructs grobi to only call xrandr once and configure all the
# outputs. This does not always work with all graphic cards.
atomic: false
primary: HDMI2
primary: DP1
execute_after:
- xset s on
- nmcli c up Kabelgebundene\ Verbindung\ 2
@ -45,15 +45,14 @@ rules:
- xrandr --output DP1-1 --set "Broadcast RGB" "Full"
- xrandr --output DP1-2 --set "Broadcast RGB" "Full"
- systemctl --user start redshift-gtk.service
- ~/.fehbg
- name: "KIT 50.34 -118"
outputs_connected:
- eDP1
- HDMI2-SNY-33283-16843009-SONY PJ-
configure_row:
- eDP1
- HDMI2@1920x1200
- eDP1
- HDMI2@1920x1200
primary: eDP1
atomic: false
execute_after:
@ -66,8 +65,8 @@ rules:
- eDP1
- HDMI2-SNY-33795-16843009-SONY PJ-
configure_row:
- eDP1
- HDMI2@1280x720
- eDP1
- HDMI2@1280x720
primary: eDP1
atomic: false
execute_after:
@ -75,6 +74,39 @@ rules:
- 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
- eDP1
primary: eDP1
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
- name: "ATIS"
outputs_connected:
- eDP1
- DP1
configure_column:
- DP1@1920x1080
- eDP1
primary: DP1
atomic: false
execute_after:
- xset s on
- name: Mobile
outputs_disconnected:
@ -83,9 +115,7 @@ rules:
configure_single: eDP1
primary: eDP1
execute_after:
- xautolock -enable
- rfkill unblock wifi
- xcalib -o 0 ~/Nextcloud/Ablage/x380.icm
- systemctl --user start redshift-gtk.service
# If none of the rules above match, it's a good idea to have a fallback rule
@ -94,3 +124,6 @@ rules:
- name: Fallback
configure_single: eDP1
primary: eDP1
execute_after:
- rfkill unblock wifi
- systemctl --user start redshift-gtk.service