diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-08 21:54:46 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-08 21:54:46 +1000 |
| commit | acd1f3966d03e7297f4d3f5e09df0191024e5b42 (patch) | |
| tree | 288e28490a5947af035fbf73396aa55f06208e20 | |
| parent | 8c46faca8cfb4361501cb5b8bac92b5a656e5648 (diff) | |
Add example status_command to default config
| -rw-r--r-- | config.in | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -202,6 +202,11 @@ 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 + colors { statusline #ffffff background #323232 |
