power menu, redshift, polybar

This commit is contained in:
azpsen
2024-01-28 16:37:10 -06:00
parent 89516a6ce1
commit 319b44ecbd
307 changed files with 7642 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
# Script: system-thinklight
A small script that displays the Thinklight state from ThinkPad ACPI driver.
![system-thinklight](screenshots/1.png)
## Module
```ini
[module/system-thinklight]
type = custom/script
exec = ~/polybar-scripts/system-thinklight.sh
interval = 10
```

View File

@@ -0,0 +1,7 @@
#!/bin/sh
if [ "$(cat /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness)" = "0" ]; then
echo "#1"
else
echo "#2 Thinklight"
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB