550 B
550 B
Script: system-eprivacy
A small script to manage the ePrivacy state for ThinkPads.
Dependencies
inotify-tools
Configuration
You have to add the /usr/bin/tee /proc/acpi/ibm/lcdshadow
command to the /etc/sudoers
NOPASSWD of your user:
user ALL = NOPASSWD: /usr/bin/tee /proc/acpi/ibm/lcdshadow
Module
[module/system-eprivacy]
type = custom/script
exec = ~/polybar-scripts/system-eprivacy.sh
tail = true
click-left = ~/polybar-scripts/system-eprivacy.sh --toggle &