2024-01-28 16:37:10 -06:00
..
2024-01-28 16:37:10 -06:00
2024-01-28 16:37:10 -06:00

Script: system-eprivacy

A small script to manage the ePrivacy state for ThinkPads.

system-eprivacy

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 &