about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/sway_config5
1 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles/sway_config b/dotfiles/sway_config
index e049ba7..6123b51 100644
--- a/dotfiles/sway_config
+++ b/dotfiles/sway_config
@@ -20,7 +20,6 @@ exec "dunst"
 exec "systemctl --user start graphical-session.target"
 exec "sxhkd"
 exec 'while :; do ssh-agent smart-wallpaper -d ~/Images/Wallpapers/Day -n ~/Images/Wallpapers/Night -l $LOCATION -r; done'
-exec "waybar"
 
 exec "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway"
 exec "systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway"
@@ -231,4 +230,8 @@ mode "resize" {
 }
 bindsym $mod+r mode "resize"
 
+bar {
+    swaybar_command waybar
+}
+
 include @sysconfdir@/sway/config.d/*