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: info-camera-mic
A shell script for displaying an indicator of camera and microphone usage.
![info-camera-mic](screenshots/1.png)
## Module
```ini
[module/info-camera-mic]
type = custom/script
exec = ~/polybar-scripts/info-camera-mic.sh
interval = 5
```

View File

@@ -0,0 +1,11 @@
#!/bin/sh
if lsof /dev/video0 >/dev/null 2>&1; then
camera="#1"
fi
if pacmd list-sources 2>&1 | grep -q RUNNING; then
mic="#2"
fi
echo "$camera $mic"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB