1
0
Fork 0
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:
Sergey Vlasov 2021-06-23 05:56:41 +03:00 committed by GitHub
parent 49864a4370
commit b42fce7aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 349 additions and 0 deletions

View file

@ -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}"