add base dotfiles
This commit is contained in:
commit
968449de49
31 changed files with 2121 additions and 0 deletions
9
.config/eww/scripts/volume
Executable file
9
.config/eww/scripts/volume
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
raw_percent=$(pamixer --get-volume-human)
|
||||
if [ "$raw_percent" == "muted" ]; then
|
||||
echo "0"
|
||||
else
|
||||
percent=$(echo "$raw_percent" | sed 's/[^0-9]*//g')
|
||||
echo "$percent"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue