diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-17 23:39:47 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-17 23:39:59 +0100 |
commit | baa4203e76ff0dac8989c3134b7bff74d5869dde (patch) | |
tree | 4f24a52bcf29585b4566cef176684cf3ca8f9e01 | |
parent | Nix: Add home-manager to darwin (diff) | |
download | nixos-config-baa4203e76ff0dac8989c3134b7bff74d5869dde.tar.gz nixos-config-baa4203e76ff0dac8989c3134b7bff74d5869dde.tar.bz2 nixos-config-baa4203e76ff0dac8989c3134b7bff74d5869dde.zip |
Dotfiles: Sway: Launch waybar the official way
-rw-r--r-- | dotfiles/sway_config | 5 |
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/* |