forked from taffybar/taffybar
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New implementation of the WindowSwitcher component.
The new WindowSwitcher is built on a Menu widget (as it should have been from the very beginning, I guess) It's much simpler, looks better and is fully configurable from the taffybar.rc file.
- Loading branch information
1 parent
f61c444
commit 3df98a1
Showing
3 changed files
with
70 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
gtk_color_scheme = "black:#000000\nwhite:#FFFFFF\ngreen:#00FF00\nred:#FF0000" | ||
|
||
style "default" { | ||
bg[NORMAL] = "#000000" | ||
fg[NORMAL] = "#FFFFFF" | ||
text[NORMAL] = "#FFFFFF" | ||
bg[NORMAL] = @black | ||
fg[NORMAL] = @white | ||
text[NORMAL] = @white | ||
fg[PRELIGHT] = @green | ||
bg[PRELIGHT] = @black | ||
} | ||
|
||
style "active-window" = "default" { | ||
fg[NORMAL] = @green | ||
} | ||
|
||
style "notification-button" = "default" { | ||
text[NORMAL] = "#FF0000" | ||
fg[NORMAL] = "#FF0000" | ||
text[NORMAL] = @red | ||
fg[NORMAL] = @red | ||
} | ||
|
||
widget "Taffybar*" style "default" | ||
widget "Taffybar*WindowSwitcher*label" style "active-window" | ||
widget "*NotificationCloseButton" style "notification-button" |