A variety of simple automation scripts and enhancements to Sway and i3.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 line
241B

  1. [Unit]
  2. Description=Give ownership of backlight to %I
  3. [Service]
  4. ExecStart=chown %i:%i \
  5. /sys/class/backlight/intel_backlight/brightness \
  6. /sys/class/leds/tpacpi::kbd_backlight/brightness
  7. [Install]
  8. WantedBy=multi-user.target