diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2025-12-08 11:53:23 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2025-12-08 11:53:23 +0530 |
| commit | e6cf56ead8382d6bcd4d9f8d7a28490887bae92a (patch) | |
| tree | 95160419d00e5f278a0cefbf1916c4f9a852742d /quickshell/volume.sh | |
| parent | 6cdd44c09685f15b66bf247801a7d5fbc0f2d0f3 (diff) | |
miraged from waybar to quickshell
Diffstat (limited to 'quickshell/volume.sh')
| -rwxr-xr-x | quickshell/volume.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quickshell/volume.sh b/quickshell/volume.sh new file mode 100755 index 0000000..3059255 --- /dev/null +++ b/quickshell/volume.sh @@ -0,0 +1,2 @@ +volume=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Po '\d+(?=%)' | head -n 1) +echo "$volume" |
