mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-10-01 05:40:49 -07:00
update waybar
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"include": ["~/.config/waybar/modules/custom-codexbar.json"],
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"height": 40,
|
||||
@@ -328,13 +329,4 @@
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": false,
|
||||
},
|
||||
"custom/codexbar": {
|
||||
"exec": "codexbar --icon \"<span font='Font Awesome 7 Brands'></span>\" | sed 's/ *|//g'",
|
||||
"return-type": "json",
|
||||
"interval": 300,
|
||||
"signal": 12,
|
||||
"tooltip": true,
|
||||
"on-click": "python3 ~/.config/waybar/scripts/aibar-popup.py",
|
||||
"on-click-right": "python3 ~/.config/waybar/scripts/aibar-popup.py --claude",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -344,11 +344,9 @@ label:focus {
|
||||
#custom-codexbar {
|
||||
padding: 0 10px;
|
||||
margin: 5px 1px;
|
||||
background-color: @surface0;
|
||||
background-color: @pink;
|
||||
color: @mantle;
|
||||
border-radius: 0.69em;
|
||||
}
|
||||
|
||||
#custom-codexbar.low { color: @green; }
|
||||
#custom-codexbar.mid { color: @yellow; }
|
||||
#custom-codexbar.high { color: @peach; }
|
||||
#custom-codexbar.critical { color: @red; }
|
||||
#custom-codexbar.critical { box-shadow: inset 0 -3px @red; }
|
||||
|
||||
Reference in New Issue
Block a user