move config to fedora-sway-asahi

This commit is contained in:
han
2024-12-16 11:41:30 +07:00
parent 0f1f51cc16
commit 4598c0496c
8 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Volume
volume=$(amixer get Capture | grep -m1 % | awk '{print $5}' | sed -e 's/\[//' -e 's/\]//')
# Battery
battery=$(cat /sys/class/power_supply/macsmc-battery/capacity)
# Date and Time
date=$(date +'%X %a, %d %b %y')
echo "Vol" $volume "|" "Bat" $battery"%" "|" $date