Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 550 Bytes

File metadata and controls

30 lines (18 loc) · 550 Bytes

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 &