feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:27:23 +02:00
parent 1f3c2b9947
commit 7fb4f9ee73
No known key found for this signature in database
GPG key ID: 868FFD689D878939
132 changed files with 23 additions and 4881 deletions

View file

@ -1,17 +0,0 @@
#!/bin/bash
battery() {
BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
cat /sys/class/power_supply/${BAT}/capacity
}
battery_stat() {
BAT=`ls /sys/class/power_supply | grep BAT | head -n 1`
cat /sys/class/power_supply/${BAT}/status
}
if [[ "$1" == "--bat" ]]; then
battery
elif [[ "$1" == "--bat-st" ]]; then
battery_stat
fi