Re-implement bar borders (by Angelo Haller)
This re-introduces borders around the workspace buttons in i3bar. No additional pixels will be consumed (you will not lose any space for your windows).
This commit is contained in:
@ -998,19 +998,19 @@ background::
|
||||
statusline::
|
||||
Text color to be used for the statusline.
|
||||
focused_workspace::
|
||||
Text color/background color for a workspace button when the workspace
|
||||
Border, background and text color for a workspace button when the workspace
|
||||
has focus.
|
||||
active_workspace::
|
||||
Text color/background color for a workspace button when the workspace
|
||||
Border, background and text color for a workspace button when the workspace
|
||||
is active (visible) on some output, but the focus is on another one.
|
||||
You can only tell this apart from the focused workspace when you are
|
||||
using multiple monitors.
|
||||
inactive_workspace::
|
||||
Text color/background color for a workspace button when the workspace
|
||||
Border, background and text color for a workspace button when the workspace
|
||||
does not have focus and is not active (visible) on any output. This
|
||||
will be the case for most workspaces.
|
||||
urgent_workspace::
|
||||
Text color/background color for workspaces which contain at least one
|
||||
Border, background and text color for a workspace button when the workspace
|
||||
window with the urgency hint set.
|
||||
|
||||
*Syntax*:
|
||||
@ -1019,21 +1019,21 @@ colors {
|
||||
background <color>
|
||||
statusline <color>
|
||||
|
||||
colorclass <foreground> <background>
|
||||
colorclass <border> <background> <text>
|
||||
}
|
||||
----------------------------------------
|
||||
|
||||
*Example*:
|
||||
*Example (default colors)*:
|
||||
--------------------------------------
|
||||
bar {
|
||||
colors {
|
||||
background #000000
|
||||
statusline #ffffff
|
||||
|
||||
focused_workspace #ffffff #285577
|
||||
active_workspace #ffffff #333333
|
||||
inactive_workspace #888888 #222222
|
||||
urgent_workspace #ffffff #900000
|
||||
focused_workspace #4c7899 #285577 #ffffff
|
||||
active_workspace #333333 #5f676a #ffffff
|
||||
inactive_workspace #333333 #222222 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
}
|
||||
}
|
||||
--------------------------------------
|
||||
|
Reference in New Issue
Block a user