.config/sway/status
#!/bin/sh date_formatted=$(date "+%a %F %H:%M") linux_version=$(uname -r | cut -d '-' -f1) battery_status=$(cat /sys/class/power_supply/BAT0/status) battery_perc=$(cat /sys/class/power_supply/BAT0/capacity) echo "$linux_version | $battery_perc% $battery_status | $date_formatted "