Skip to content

Instantly share code, notes, and snippets.

View eaceaser's full-sized avatar

Ed Ceaser eaceaser

View GitHub Profile
@eaceaser
eaceaser / 40-sway-hotplug.rules
Last active January 12, 2021 08:17
Simple script to detect monitor changes
ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr/bin/machinectl --uid=<YOUR-USER-NAME> shell .host /bin/bash -c '/bin/systemctl start --no-block --user sway-monitor'"

Keybase proof

I hereby claim:

  • I am eaceaser on github.
  • I am asdf (https://keybase.io/asdf) on keybase.
  • I have a public key whose fingerprint is 1744 D69F 0C7F CCDF 68F4 4463 706F 2560 16E5 C09A

To claim this, I am signing this object: