From 52970b1bdb37aaf043c10a151b3ae6f680c174b1 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:19 +0100 Subject: refactor(sway): manage waybar via systemd user service Move waybar from sway's inline bar {} block to waybar.service pulled in by sway-session.target. Matches the pattern for mako, swayidle, poweralertd, display-watcher, cliphist. ExecReload sends SIGUSR2 so 'systemctl --user reload waybar' picks up config changes without a restart. --- dot_config/sway/config | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dot_config/sway') diff --git a/dot_config/sway/config b/dot_config/sway/config index 6a714fc..01583e1 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -180,9 +180,7 @@ bindsym $mod+z mode "qr" bindsym $mod+t exec ~/.config/sway/tb-toggle.sh # ── Bar ─────────────────────────────────────────────────────────────────────── -bar { - swaybar_command waybar -} +# Managed by waybar.service (pulled in via sway-session.target). # ── Autostart ───────────────────────────────────────────────────────────────── exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP -- cgit v1.3.1