repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:dopefishh/dotfiles
[dotfiles.git]
/
x
/
.local
/
bin
/
bar
diff --git
a/x/.local/bin/bar
b/x/.local/bin/bar
index
079fac0
..
8655630
100755
(executable)
--- a/
x/.local/bin/bar
+++ b/
x/.local/bin/bar
@@
-17,8
+17,8
@@
eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell)
echo \
"W $wlan"\
echo \
"W $wlan"\
- "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "
100
$") |"\
+ "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "
[0-9]\?[0-9][0-9]
$") |"\
"⚡$bat"\
"Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
"$(date +"%Y-%m-%d %H:%M:%S") "\
"⚡$bat"\
"Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
"$(date +"%Y-%m-%d %H:%M:%S") "\
- "$(printf "% $((
(WIDTH-2)
/20+1))s")"
+ "$(printf "% $((
WIDTH
/20+1))s")"