From cd3fda6dad0483648bbe59b668357e77ab4aaa7a Mon Sep 17 00:00:00 2001 From: gbcastro Date: Thu, 10 Sep 2026 12:40:44 +0100 Subject: [PATCH] changes --- emacs/.config/emacs/config.org | 2 ++ mako/.config/mako/config | 15 +++++++++++++++ sway/.config/sway/config | 5 +++-- waybar/.config/waybar/config.jsonc | 30 ++++++++++++++++++++++++++++-- waybar/.config/waybar/style.css | 10 +++++++++- wofi/.config/wofi/config | 3 ++- 6 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 mako/.config/mako/config diff --git a/emacs/.config/emacs/config.org b/emacs/.config/emacs/config.org index a71bf48..f2fb00c 100644 --- a/emacs/.config/emacs/config.org +++ b/emacs/.config/emacs/config.org @@ -558,6 +558,8 @@ Integração direta entre a pesquisa semântica (Khoj) e a geração de texto (L :ensure t :after elfeed :config + (setq elfeed-protocol-fever-update-unread-only t) + (setq elfeed-feeds '(("fever+https://gabi@vm-magasirala-rss.duckdns.org" :api-url "https://vm-magasirala-rss.duckdns.org/api/fever.php" diff --git a/mako/.config/mako/config b/mako/.config/mako/config new file mode 100644 index 0000000..58d4a12 --- /dev/null +++ b/mako/.config/mako/config @@ -0,0 +1,15 @@ +# Auto-dismiss after 5 seconds (5000 milliseconds) +default-timeout=5000 +ignore-timeout=0 + +# Visual Styling +background-color=#282a36fa +text-color=#e6e6ea +border-color=#44475a +border-size=2 +border-radius=8 +padding=15 +margin=10 + +# Font (Change this to match your Waybar font) +font=sans-serif 11 \ No newline at end of file diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 52c7f68..468c7d1 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -238,13 +238,14 @@ include /etc/sway/config.d/* for_window [app_id="wofi"] floating enable, border pixel 0, move position center for_window [app_id="nmtui-wifi"] floating enable, resize set width 500 height 600, move position center +for_window [app_id="blueman-manager"] floating enable, resize set width 600 height 450, move position center # --- AUTORUN --- exec --no-startup-id mako exec waybar -c ~/.config/waybar/config.jsonc -exec --no-startup-id dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec --no-startup-id dbus-update-activation-environment --all exec --no-startup-id pipewire & exec --no-startup-id wireplumber & exec --no-startup-id pipewire-pulse -exec --no-startup-id mako exec nm-applet --indicator +exec blueman-applet diff --git a/waybar/.config/waybar/config.jsonc b/waybar/.config/waybar/config.jsonc index 81a6310..fd3044c 100644 --- a/waybar/.config/waybar/config.jsonc +++ b/waybar/.config/waybar/config.jsonc @@ -11,10 +11,36 @@ "all-outputs": true }, "clock": { - "format": "{:%H:%M}  " + "format": "{:%H:%M}  ", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "month", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "today": "{}" + } + }, + "actions": { + "on-click-right": "mode", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" + } }, "battery": { - "format": "{capacity}% " + "states": { + "warning": 30, + "critical": 20 + }, + "format": "{icon} {capacity}%", + "format-charging": " {capacity}%", + "format-plugged": " {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": ["", "", "", "", ""] }, "cpu": { "format": "{usage}% " diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 2662872..6762a47 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -35,10 +35,18 @@ window#waybar { padding: 0; } -#clock, #battery, #cpu, #memory, #pulseaudio, #network { +#clock, #battery, #cpu, #memory, #pulseaudio, #network, #tray { padding: 0 10px; margin: 4px 2px; background: #313244; color: #cdd6f4; border-radius: 6px; } + +#battery.warning { + color: #ffcc00; /* Turns yellow at 30% */ +} + +#battery.critical:not(.charging) { + color: #ff3333; /* Turns red at 20%, but goes back to normal if plugged in */ +} diff --git a/wofi/.config/wofi/config b/wofi/.config/wofi/config index 83c7bbc..8d66ad1 100644 --- a/wofi/.config/wofi/config +++ b/wofi/.config/wofi/config @@ -15,4 +15,5 @@ no_actions=true location=center xoffset=0 yoffset=0 -normal_window=true \ No newline at end of file +normal_window=true +term=alacritty \ No newline at end of file