diff options
| -rw-r--r-- | config/aerc/aerc.conf | 2 | ||||
| -rw-r--r-- | config/waybar/config.jsonc | 10 | ||||
| -rw-r--r-- | config/waybar/style.css | 39 |
3 files changed, 49 insertions, 2 deletions
diff --git a/config/aerc/aerc.conf b/config/aerc/aerc.conf index 79808c1..c1dcc25 100644 --- a/config/aerc/aerc.conf +++ b/config/aerc/aerc.conf @@ -494,7 +494,7 @@ text/plain=wrap -r -w 72 | colorize text/calendar=calendar message/delivery-status=colorize message/rfc822=colorize -text/html=pandoc -f html -t plain | colorize +text/html=pandoc -f html -t markdown --wrap=none| colorize #text/html=html | colorize text/*=bat -fP --file-name="$AERC_FILENAME" #application/x-sh=bat -fP -l sh diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 18c089b..52b233f 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -12,10 +12,11 @@ "idle_inhibitor", "custom/mullvad", "custom/tailscale", - "network", "pulseaudio", + "custom/builds", "power-profiles-daemon", "battery", + "network", "clock", "tray", "custom/power" @@ -53,6 +54,13 @@ "format-icons": ["․", ":", "⸪", "⁛"], "on-click-right": "kitty nmtui" }, + "custom/builds": { + "format": "{text}", + "exec": "~/AppConfig/waybar/sourcehut.sh", + "return-type": "json", + "on-click": "~/AppConfig/waybar/sourcehut.sh --popup", + "interval": 10, + }, "power-profiles-daemon": { "format": "{icon}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", diff --git a/config/waybar/style.css b/config/waybar/style.css index 2857954..90489da 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -60,6 +60,7 @@ button:hover { #pulseaudio, #wireplumber, #custom-media, +#custom-builds, #tray, #mode, #idle_inhibitor, @@ -135,3 +136,41 @@ button:hover { color: #0F261F; background-color: #B5D1CC; } + +menu { + background-color: rgba(15, 38, 31, 0.95); + border: none; + border-radius: 0; + transition-property: background-color; + transition-duration: .1s; + padding: 0; +} + +menuitem { + color: #DAE6E3; + border: none; + border-radius: 0; + padding: 5px 0; +} +menuitem:hover { + background: #4F8FE6; +} +menu separator { + background-color: #90A6A2; + margin: 5px 0; +} + +#custom-builds { + background-color: #90A6A2; + color: #0F261F; +} +#custom-builds.has_success { + background-color: #23C17C; +} +#custom-builds.has_running { + background-color: #FAED8F; +} +#custom-builds.has_failures { + background-color: #FA2B00; + color: #DAE6E3; +} |