i3: Sort workspaces on dock

This commit is contained in:
2022-06-01 19:06:16 +02:00
parent abf0916002
commit 2906eb5bec
2 changed files with 51 additions and 1 deletions

View File

@ -10,12 +10,13 @@ execute_after:
# run these commands before exiting
on_failure:
- xrandr --auto
- xset s on
# 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
# processing stops.
#
# The rules belowe are written for a typical Laptop in mind, which hase several
# The rules below are written for a typical Laptop in mind, which hase several
# external connectors (HDMI2, HDMI3) in addition to the internal display
# (LVDS1). It may even be placed in a Docking Station, which adds more outputs
# that aren't present outside it.
@ -45,6 +46,7 @@ rules:
- xrandr --output DP1-1 --set "Broadcast RGB" "Full"
- xrandr --output DP1-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:
@ -116,6 +118,7 @@ rules:
primary: eDP1
execute_after:
- rfkill unblock wifi
- xset s on
- systemctl --user start redshift-gtk.service
# If none of the rules above match, it's a good idea to have a fallback rule
@ -126,4 +129,5 @@ rules:
primary: eDP1
execute_after:
- rfkill unblock wifi
- xset s on
- systemctl --user start redshift-gtk.service