From f731fc7ea079462f9dad57826c71b8c5713a4157 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 12 Aug 2025 10:41:01 +0200 Subject: Update aerc and wechat confidential, + mpd ext --- config/aerc/accounts.conf.age | Bin 1723 -> 2385 bytes config/aerc/aerc.conf | 2 +- config/aerc/binds.conf | 6 +++--- config/aerc/gmail-map | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 config/aerc/gmail-map (limited to 'config/aerc') diff --git a/config/aerc/accounts.conf.age b/config/aerc/accounts.conf.age index c5c5e47..271f41a 100644 Binary files a/config/aerc/accounts.conf.age and b/config/aerc/accounts.conf.age differ diff --git a/config/aerc/aerc.conf b/config/aerc/aerc.conf index dec4379..79808c1 100644 --- a/config/aerc/aerc.conf +++ b/config/aerc/aerc.conf @@ -535,7 +535,7 @@ text/*=bat -fP --file-name="$AERC_FILENAME" # # Executed when a new email arrives in the selected folder -#mail-received=notify-send "New mail from $AERC_FROM_NAME" "$AERC_SUBJECT" +mail-received=notify-send " $AERC_SUBJECT" "$AERC_FROM_NAME" # # Executed when aerc starts diff --git a/config/aerc/binds.conf b/config/aerc/binds.conf index f3f4cd9..2ae36f4 100644 --- a/config/aerc/binds.conf +++ b/config/aerc/binds.conf @@ -38,7 +38,7 @@ T = :toggle-threads = :view d = :prompt 'Really delete this message?' 'delete-message' D = :delete -A = :read :archive flat +e = :read :archive flat C = :compose @@ -68,7 +68,7 @@ O = :open S = :save | = :pipe D = :delete -A = :read :archive flat +e = :read :archive flat = :open-link @@ -123,7 +123,7 @@ n = :abort v = :preview p = :postpone q = :choose -o d discard abort -o p postpone postpone -e = :edit +c = :edit a = :attach d = :detach diff --git a/config/aerc/gmail-map b/config/aerc/gmail-map new file mode 100644 index 0000000..cfb6b25 --- /dev/null +++ b/config/aerc/gmail-map @@ -0,0 +1 @@ +* = [Gmail]/* -- cgit From 5f84dab505f45058565128d885e4da7a173dc6d3 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 12 Aug 2025 17:51:02 +0200 Subject: Improve pandoc html output, update waybar --- config/aerc/aerc.conf | 2 +- config/waybar/config.jsonc | 10 +++++++++- config/waybar/style.css | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) (limited to 'config/aerc') 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; +} -- cgit