소스 검색

set waybar to launch via systemctl

Casey DeLorme 9 달 전
부모
커밋
2299154bbe
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      install/etc/skel/.config/sway/config
  2. 1 0
      install/etc/skel/.config/systemd/user/sway-session.target.wants/waybar.service

+ 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