Browse Source

set waybar to launch via systemctl

Casey DeLorme 9 months ago
parent
commit
2299154bbe

+ 4 - 4
install/etc/skel/.config/sway/config

@@ -136,10 +136,10 @@ for_window [class="Wine"] floating enable
 for_window [app_id="lutris"] floating enable
 
 # @reference: man 5 sway-bar
-# @todo: figure out how to configure and optimize waybar
-bar {
-    swaybar_command waybar
-}
+# @note: we now launch waybar via systemctl --user enable waybar.service
+#bar {
+#    swaybar_command waybar
+#}
 
 # load additional configuration
 include /etc/sway/config.d/*

+ 1 - 0
install/etc/skel/.config/systemd/user/sway-session.target.wants/waybar.service

@@ -0,0 +1 @@
+/usr/lib/systemd/user/waybar.service