Get rid of main taskbar and move time/date to window title bar.

nontntnt 2021-08-12 16:05:40 +00:00
parent e1b043141c
commit ccc5f20402

@ -225,3 +225,31 @@ And remember to restart the udevmon service:
sudo systemctl restart udevmon
```
# Get rid of main taskbar and move time/date to window title bar.
For those of us who want every pixel of real state!
I have marked the main changes with **bold**.
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
# This makes the tabs come at the same height as the bar. We then make the bar transparent
and we have them both "fused"
**mode overlay**
# 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
# Workspace buttons don't look good when the bar is transparent
**workspace_buttons no**
colors {
statusline #ffffff
#background #323232
# Transparent bar
**background #ffffff10**
inactive_workspace #32323200 #32323200 #5c5c5c
}
}