sway-bar: use i3status-rs

This commit is contained in:
Konstantin Koslowski 2020-12-18 15:27:40 +01:00
parent 5d3e9a8c28
commit cbca4939dd
2 changed files with 49 additions and 8 deletions

17
config
View file

@ -194,15 +194,16 @@ bindsym $mod+r mode "resize"
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
status_command i3status-rs $HOME/.config/sway/i3status.toml
font "Cascadia Code PL Regular 11"
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
separator #666666
background #222222
statusline #dddddd
focused_workspace #0088CC #0088CC #ffffff
active_workspace #333333 #333333 #ffffff
inactive_workspace #333333 #333333 #888888
urgent_workspace #2f343a #900000 #ffffff
}
}