dots-of-war/eww-laptop/.config/eww/scripts/getvol
ElKowar 6096e7f94f
work adjustments
lazy and update

update lazy

add lsp-lines

copilot and stuff

äf

update

Re-set up laptop

slight changes to hyprland config

update neovim

eww rice

vert bar

update

asdf
2024-05-20 16:35:23 +02:00

12 lines
250 B
Bash
Executable file

#!/bin/sh
if command -v pamixer &>/dev/null; then
if [ true == $(pamixer --get-mute) ]; then
echo 0
exit
else
pamixer --get-volume
fi
else
amixer -D pulse sget Master | awk -F '[^0-9]+' '/Left:/{print $3}'
fi