From baa4203e76ff0dac8989c3134b7bff74d5869dde Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 17 Feb 2024 23:39:47 +0100 Subject: Dotfiles: Sway: Launch waybar the official way --- dotfiles/sway_config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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/* -- cgit 1.4.1