This website requires JavaScript.
Explore
Help
Register
Sign In
qugalet
/
dwmblocks
Watch
1
Star
0
Fork
You've already forked dwmblocks
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
6802c81903
dwmblocks
/
blocks
/
battery.sh
4 lines
91 B
Bash
Raw
Normal View
History
Unescape
Escape
Change dash to sh in shebang
2020-07-18 12:00:48 +00:00
#!/bin/sh
Adding my personal blocks
2020-07-06 20:06:10 +00:00
read
-r capacity </sys/class/power_supply/BAT0/capacity
Improved block colors and added battery_button
2020-07-26 19:31:24 +00:00
echo
"
${
capacity
}
%
"
Reference in a new issue
Copy permalink