From 4b171b587170d7bc798b77746ef43eec5aa8340c Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:02:21 +0100 Subject: [PATCH 1/7] aerc: Do not reply to self --- aerc/aerc.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/aerc/aerc.conf b/aerc/aerc.conf index d0b6530..343d303 100644 --- a/aerc/aerc.conf +++ b/aerc/aerc.conf @@ -31,6 +31,7 @@ show-headers=false [compose] header-layout=To|From,Cc|Bcc,Subject editor=nvim +reply-to-self=false address-book-cmd=khard email --parsable --remove-first-line %s [filters] From 23bb14473d5d70f69efd48ee6f1213c8137e8a1c Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:03:20 +0100 Subject: [PATCH 2/7] waybar: Add solar power --- waybar/config | 8 +++++++- waybar/style.css | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/waybar/config b/waybar/config index 081f058..19c1c9e 100644 --- a/waybar/config +++ b/waybar/config @@ -3,7 +3,7 @@ "position": "top", "height": 24, "modules-left": ["sway/workspaces", "sway/mode"], - "modules-center": ["cpu", "memory", "tray"], + "modules-center": ["cpu", "memory", "custom/solar", "tray"], "modules-right": ["custom/vpn", "custom/timew", "clock#time", "clock#date"], "sway/mode": { "format": "{}" @@ -19,6 +19,12 @@ "format": " {:%H:%M}", "timezone": "Europe/Berlin" }, + "custom/solar": { + "format": " {}", + "max-length": 20, + "interval": 20, + "exec": "curl http://dtu/api/livedata/status | jq -j '(.total.Power.v|round), \" \", .total.Power.u, \", \", .total.YieldDay.v, \" \", .total.YieldDay.u'" + }, "clock#date": { "interval": 60, "format": " {:%d.%m.%Y}" diff --git a/waybar/style.css b/waybar/style.css index 606c6bd..3393558 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -39,6 +39,7 @@ window#waybar.hidden { #backlight, #network, #pulseaudio, +#custom-solar, #custom-media, #custom-vpn, #custom-timew, From 8860a2b6f2a6303307f15092fe3856fa012b79cb Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:05:25 +0100 Subject: [PATCH 3/7] =?UTF-8?q?swayidle:=20use=20=E2=80=9Cgtklock=E2=80=9D?= =?UTF-8?q?=20as=20lock=20screen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systemd/user/swayidle.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/user/swayidle.service b/systemd/user/swayidle.service index abbc2a7..5cca45c 100644 --- a/systemd/user/swayidle.service +++ b/systemd/user/swayidle.service @@ -8,8 +8,8 @@ Type=simple ExecStart=/usr/bin/swayidle -w \ timeout 6000 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ - lock 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"' \ - before-sleep 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"' + lock 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' \ + before-sleep 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' [Install] WantedBy=sway-session.target From 29d4a7165eccb6b49d91ec227716b48391189bfa Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:05:51 +0100 Subject: [PATCH 4/7] swayidle: Reduce idle time to ten minutes --- systemd/user/swayidle.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/user/swayidle.service b/systemd/user/swayidle.service index 5cca45c..edf0888 100644 --- a/systemd/user/swayidle.service +++ b/systemd/user/swayidle.service @@ -6,7 +6,7 @@ PartOf=graphical-session.target [Service] Type=simple ExecStart=/usr/bin/swayidle -w \ - timeout 6000 'swaymsg "output * dpms off"' \ + timeout 600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ lock 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' \ before-sleep 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' From 03aa8e97c4e395ac700c5dc06a12483e94b72d03 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:07:08 +0100 Subject: [PATCH 5/7] sway: Set DBus wayland and desktop environment variables --- sway/config | 1 + sway/yuki | 3 +++ 2 files changed, 4 insertions(+) diff --git a/sway/config b/sway/config index d74dc4b..50292db 100644 --- a/sway/config +++ b/sway/config @@ -156,6 +156,7 @@ bindcode $mod+Shift+55 mode "$mode_system" # Systemd environment exec "systemctl --user import-environment; systemctl --user start sway-session.target" +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway # Input configuration input type:keyboard { diff --git a/sway/yuki b/sway/yuki index db15906..a6d5ad6 100644 --- a/sway/yuki +++ b/sway/yuki @@ -37,3 +37,6 @@ bindcode $mod+Shift+40 mode "$mode_audio" # Window rules floating_maximum_size 1024 x 768 + + +exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK From 5a7373d1f04f723d9e7c9fc712e0667c10fa116d Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:08:03 +0100 Subject: [PATCH 6/7] =?UTF-8?q?sway:=20Disable=20sync=20for=20=E2=80=9Dgop?= =?UTF-8?q?ass=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/config b/sway/config index 50292db..412391a 100644 --- a/sway/config +++ b/sway/config @@ -104,7 +104,7 @@ bindsym Ctrl+space exec makoctl dismiss bindsym Ctrl+Shift+space exec makoctl dismiss --all # Passmenu -bindcode $mod+55 exec gopass ls --flat | bemenu -i -l 10 -m all -p Password: --fn "DejaVu Sans 12" | xargs --no-run-if-empty gopass show -c +bindcode $mod+55 exec gopass ls --flat | bemenu -i -l 10 -m all -p Password: --fn "DejaVu Sans 12" | xargs --no-run-if-empty gopass show -c --nosync # Timew bindcode $mod+56 exec ~/.local/bin/timewmenu -i -l 10 -m all -p "Track:" --fn "DejaVu Sans 12" From fdedf01228450fcf3c240252d7a029724f4dbc24 Mon Sep 17 00:00:00 2001 From: Olli Date: Sun, 22 Feb 2026 12:11:57 +0100 Subject: [PATCH 7/7] sway: yuki: update main screen resolution --- sway/yuki | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sway/yuki b/sway/yuki index a6d5ad6..40e9fac 100644 --- a/sway/yuki +++ b/sway/yuki @@ -1,7 +1,6 @@ # Output configuration output * bg "~/.config/sway/bg.png" fill -output HDMI-A-1 position 0,0 -output DP-1 resolution 1920x1080 position 1920,0 +output DP-1 resolution 3840x2160 scale 1.5 position 0,0 color_profile icc "~/.config/sway/yuki.icc" # Input configuration input type:pointer { @@ -35,8 +34,5 @@ mode "$mode_audio" { } bindcode $mod+Shift+40 mode "$mode_audio" -# Window rules -floating_maximum_size 1024 x 768 - exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK