power menu, redshift, polybar
This commit is contained in:
20
.config/polybar/scripts/isrunning-noisetorch/README.md
Normal file
20
.config/polybar/scripts/isrunning-noisetorch/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Script: isrunning-noisetorch
|
||||
|
||||
A script that outputs an icon if noisetorch is loaded as a pulseaudio module.
|
||||
|
||||

|
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
* [NoiseTorch](https://github.com/lawl/NoiseTorch)
|
||||
|
||||
|
||||
## Module
|
||||
|
||||
```ini
|
||||
[module/isrunning-noisetorch]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/modules/isrunning-noisetorch.sh
|
||||
interval = 20
|
||||
```
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
nmodules="$(pactl list modules short | grep -c noisetorch)"
|
||||
[ "$nmodules" = 0 ] && echo "" || echo ""
|
||||
|
||||
BIN
.config/polybar/scripts/isrunning-noisetorch/screenshots/1.png
Normal file
BIN
.config/polybar/scripts/isrunning-noisetorch/screenshots/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 494 B |
Reference in New Issue
Block a user