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
33e1fa4
..
8655630
100755
(executable)
--- a/
x/.local/bin/bar
+++ b/
x/.local/bin/bar
@@
-13,9
+13,12
@@
if ip -br a | grep -q '^wlp'; then
fi
fi
fi
fi
+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}') |"\
"⚡$bat"\
"Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
- "$(date +"%Y-%m-%d %H:%M:%S")"
+ "$(date +"%Y-%m-%d %H:%M:%S") "\
+ "$(printf "% $((WIDTH/20+1))s")"