diff options
| author | Simon <vesspa0330@gmail.com> | 2025-01-22 23:09:10 -0500 |
|---|---|---|
| committer | Simon <vesspa0330@gmail.com> | 2025-01-22 23:09:10 -0500 |
| commit | 485f926fb3bfdcec03829e5743f9f3af6f6a9062 (patch) | |
| tree | 107c14d2414dde1b42c9e8085e5ae7dd576f463d /i3blocks_volume | |
| parent | a22fb4cd71a926e930646be021190e4c7cd11d52 (diff) | |
played with picom, added blur, border-radius, and global inactive
opacity. added icons to i3bar and roughly centered date/time. looks much
nicer
Diffstat (limited to 'i3blocks_volume')
| -rwxr-xr-x | i3blocks_volume | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/i3blocks_volume b/i3blocks_volume new file mode 100755 index 0000000..787e621 --- /dev/null +++ b/i3blocks_volume @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then + echo " mute" +else + echo " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')" +fi |
