More config

This commit is contained in:
2026-03-06 23:42:56 +00:00
parent 3740b69b53
commit 6a444b9de5
6 changed files with 90 additions and 56 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Returns the battery percentage remaining as an integer.
# Used by the battery monitor and the Ctrl + Shift + Super + B hotkey.
upower -i $(upower -e | grep BAT) | awk '/percentage/ {
print int($2)
exit
}'