feat: add quick project opener
This commit is contained in:
6
configs/waybar/scripts/power-consumption
Executable file
6
configs/waybar/scripts/power-consumption
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
echo - | awk "{printf \"%.1f\", \
|
||||
$(( \
|
||||
$(cat /sys/class/power_supply/BAT0/current_now) * \
|
||||
$(cat /sys/class/power_supply/BAT0/voltage_now) \
|
||||
)) / 1000000000000 }" ; echo "W "
|
Reference in New Issue
Block a user