From 1547965f57c4c74afd6225157a550eb13b7e1187 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 20 Jul 2025 19:27:31 +0200 Subject: Improve waybar style --- config/waybar/config.jsonc | 7 ++++--- config/waybar/style.css | 6 +++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 8ae7c95..18c089b 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -23,8 +23,8 @@ "idle_inhibitor": { "format": "{icon}", "format-icons": { - "activated": "SLP", - "deactivated": "CAF" + "activated": "CAF", + "deactivated": "ZZZ" } }, "clock": { @@ -50,7 +50,8 @@ "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ", "format-alt": "{ifname}: {ipaddr}/{cidr}", - "format-icons": ["․", ":", "⸪", "⁛"] + "format-icons": ["․", ":", "⸪", "⁛"], + "on-click-right": "kitty nmtui" }, "power-profiles-daemon": { "format": "{icon}", diff --git a/config/waybar/style.css b/config/waybar/style.css index deee975..2857954 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -103,9 +103,13 @@ button:hover { } #idle_inhibitor { - background: #4F8FE6; + color: #0F261F; + background: #DAE6E3; } +#idle_inhibitor.activated { + background: #4F8FE6; +} #mpd { color: #0F261F; background-color: #FAED8F; -- cgit From b0f7dec7357ee87f1ae0cbd115629aaaffd47ce0 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 --- .gitignore | 2 +- config/aerc/accounts.conf.age | Bin 1723 -> 2385 bytes config/aerc/aerc.conf | 2 +- config/aerc/binds.conf | 6 +++--- config/aerc/gmail-map | 1 + config/mpd/mpd.conf | 6 +++--- config/weechat/sec.conf.age | Bin 1271 -> 1271 bytes 7 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 config/aerc/gmail-map diff --git a/.gitignore b/.gitignore index 37b8a7f..2fcccfa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,6 @@ config/nvim/oleoboard.saved config/mpd/database config/mpd/state config/mpd/sticker.sql -config/mpd/music +config/mpd/ext config/weechat/sec.conf config/ncmpcpp/error.log 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]/* diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf index abe0b2b..3aa6ca6 100644 --- a/config/mpd/mpd.conf +++ b/config/mpd/mpd.conf @@ -2,9 +2,9 @@ bind_to_address "127.0.0.1" bind_to_address "::1" bind_to_address "/run/mpd/socket" -db_file "~/.config/mpd/database" +db_file "~/.config/mpd/ext/mpd.database" state_file "~/.config/mpd/state" -playlist_directory "~/.config/mpd/playlists" +playlist_directory "~/.config/mpd/ext/playlists" sticker_file "~/.config/mpd/sticker.sql" audio_output { @@ -29,7 +29,7 @@ auto_update "no" follow_outside_symlinks "yes" follow_inside_symlinks "yes" -music_directory "~/.config/mpd/music" +music_directory "~/.config/mpd/ext/Music" zeroconf_enabled "yes" zeroconf_name "MPD @ %h" diff --git a/config/weechat/sec.conf.age b/config/weechat/sec.conf.age index 2e5590b..ebe94f4 100644 Binary files a/config/weechat/sec.conf.age and b/config/weechat/sec.conf.age differ -- cgit From 00f89fba7e0b5ca504102b7acb671356bbe7d622 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(-) 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 From 8ce1b3d47f914811c289f06b8de43f7880125429 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Thu, 30 Oct 2025 20:27:30 +0100 Subject: Update linux config to use the light theme --- config/btop/btop.conf | 5 +---- config/niri/config.kdl | 8 ++++---- config/waybar/style.css | 13 +++++-------- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/config/btop/btop.conf b/config/btop/btop.conf index c706619..142ae84 100644 --- a/config/btop/btop.conf +++ b/config/btop/btop.conf @@ -1,4 +1,4 @@ -#? Config file for btop v. 1.4.5 +#? Config file for btop v. 1.4.4 #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" @@ -109,9 +109,6 @@ cpu_bottom = False #* Shows the system uptime in the CPU box. show_uptime = True -#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo. -show_cpu_watts = True - #* Show cpu temperature. check_temp = True diff --git a/config/niri/config.kdl b/config/niri/config.kdl index af5eab5..454db2f 100644 --- a/config/niri/config.kdl +++ b/config/niri/config.kdl @@ -73,7 +73,7 @@ input { // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs // Remember to uncomment the node by removing "/-"! -/-output "eDP-1" { +output "eDP-1" { // Uncomment this line to disable this output. // off @@ -83,10 +83,10 @@ input { // for the resolution. // If the mode is omitted altogether or is invalid, niri will pick one automatically. // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. - mode "1920x1080@120.030" + mode "3024x1964@60.000" // You can use integer or fractional scale, for example use 1.5 for 150% scale. - scale 2 + scale 1.68 // Transform allows to rotate the output counter-clockwise, valid values are: // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270. @@ -288,7 +288,7 @@ window-rule { window-rule { match is-focused=false - opacity 0.85 + opacity 0.8 } // Open the Firefox picture-in-picture player as floating by default. diff --git a/config/waybar/style.css b/config/waybar/style.css index 90489da..52799bb 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -4,9 +4,8 @@ } window#waybar { - /* background-color: #0F261F; */ - background-color: rgba(15, 38, 31, 0.95); - color: #DAE6E3; + background-color: rgba(255, 255, 250, 0.95); + color: #0F261F; transition-property: background-color; transition-duration: .5s; } @@ -28,8 +27,8 @@ button:hover { } #workspaces button { - color: #DAE6E3; - padding: 0 5px; + color: #8096A2; + padding: 0 8px; background-color: transparent; } @@ -39,7 +38,6 @@ button:hover { } #workspaces button.active { - padding: 0 5px; background-color: #23C17C; color: #0F261F; } @@ -147,7 +145,7 @@ menu { } menuitem { - color: #DAE6E3; + color: #0F261F; border: none; border-radius: 0; padding: 5px 0; @@ -156,7 +154,6 @@ menuitem:hover { background: #4F8FE6; } menu separator { - background-color: #90A6A2; margin: 5px 0; } -- cgit