add missing configs for wayland wm

This commit is contained in:
Alexander Navarro 2025-01-29 16:19:45 -03:00
parent 1088826254
commit 2ceae5e293
6 changed files with 386 additions and 0 deletions

13
config/waybar/sway-bar.sh Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Date
date=$(date "+%a %F %R")
# Battery
battery=$(cat /sys/class/power_supply/BAT*/capacity)
# Alsa master volume
volume=$(amixer get Master | grep "Right:" | cut -f 7,8 -d " ")
# Status bar
echo "Vol: $volume | Bat: ${battery}% | $date"