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/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/waybar/style.css') 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 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(-) (limited to 'config/waybar/style.css') 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(-) (limited to 'config/waybar/style.css') 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