mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-28 21:21:02 +01:00
i3,sway: add bar color options for the focused output (#2135)
Both i3bar and swaybar can use different colors for the bar on the currently focused monitor output; add color options for this feature.
This commit is contained in:
parent
49864a4370
commit
b42fce7aaa
18 changed files with 349 additions and 0 deletions
|
|
@ -102,6 +102,18 @@ rec {
|
|||
optionalString (colors.separator != null)
|
||||
"separator ${colors.separator}"
|
||||
}
|
||||
${
|
||||
optionalString (colors.focusedBackground != null)
|
||||
"focused_background ${colors.focusedBackground}"
|
||||
}
|
||||
${
|
||||
optionalString (colors.focusedStatusline != null)
|
||||
"focused_statusline ${colors.focusedStatusline}"
|
||||
}
|
||||
${
|
||||
optionalString (colors.focusedSeparator != null)
|
||||
"focused_separator ${colors.focusedSeparator}"
|
||||
}
|
||||
${
|
||||
optionalString (colors.focusedWorkspace != null)
|
||||
"focused_workspace ${barColorSetStr colors.focusedWorkspace}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue