aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:19 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:19 +0100
commit52970b1bdb37aaf043c10a151b3ae6f680c174b1 (patch)
tree24da70996be869455d6892efc7b2fd50e8171c32 /dot_config/sway
parent1e648128c729319f0472d993bb623928c117744c (diff)
downloaddotfiles-52970b1bdb37aaf043c10a151b3ae6f680c174b1.tar.gz
dotfiles-52970b1bdb37aaf043c10a151b3ae6f680c174b1.tar.bz2
dotfiles-52970b1bdb37aaf043c10a151b3ae6f680c174b1.zip
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.
Diffstat (limited to 'dot_config/sway')
-rw-r--r--dot_config/sway/config4
1 files changed, 1 insertions, 3 deletions
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