bar {
position top
mode dock
strip_workspace_numbers yes
gaps 5
status_edge_padding 0# When the status_command prints a new line to stdout, swaybar updates.
status_command whileprintf \"%s :: %s" \"$(date +'%H:%M')\" \"$(cat /sys/class/power_supply/BAT0/capacity)%\"; dosleep60; done
colors {
statusline #f6f6f6
background #272727
inactive_workspace #272727 #272727 #f6f6f6
focused_workspace #f6f6f6 #f6f6f6 #272727
}
}
I’m currently fighting waybar to make it look similar to what you got. Do you happen to have config files to share?
Sure:
bar { position top mode dock strip_workspace_numbers yes gaps 5 status_edge_padding 0 # When the status_command prints a new line to stdout, swaybar updates. status_command while printf \"%s :: %s" \"$(date +'%H:%M')\" \"$(cat /sys/class/power_supply/BAT0/capacity)%\"; do sleep 60; done colors { statusline #f6f6f6 background #272727 inactive_workspace #272727 #272727 #f6f6f6 focused_workspace #f6f6f6 #f6f6f6 #272727 } }