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,19 @@
# Script: info-podman
Shows the number of Podman containers in one of the states: `created`, `exited`, `paused`, `running`, `unknown`
![info-podman](screenshots/1.png)
## Dependencies
* [`podman`](https://github.com/containers/podman)
## Module
```ini
[module/info-podman]
type = custom/script
exec = ~/polybar-scripts/info-podman.sh
interval = 60
```

View File

@@ -0,0 +1,9 @@
#!/bin/sh
STATUS="created exited paused running unknown"
for stat in $STATUS; do
output="$output $(podman ps -qf status="$stat" | wc -l) |"
done
echo "|$output"

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B