diff options
| author | twells46 <173561638+twells46@users.noreply.github.com> | 2026-01-02 15:40:18 -0600 |
|---|---|---|
| committer | twells46 <173561638+twells46@users.noreply.github.com> | 2026-01-02 15:40:18 -0600 |
| commit | 9f65e1754c87766f159845b4fae71da500f0d20b (patch) | |
| tree | 6a685d8fec3bf83f726f826ba727844b254357f4 | |
| parent | dd02997f45ed61d033d7317065d3584ffd340615 (diff) | |
Include waybar service
| -rw-r--r-- | dot_config/systemd/user/sway-session.target | 4 | ||||
| -rw-r--r-- | dot_config/systemd/user/waybar.service | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dot_config/systemd/user/sway-session.target b/dot_config/systemd/user/sway-session.target new file mode 100644 index 0000000..6964488 --- /dev/null +++ b/dot_config/systemd/user/sway-session.target @@ -0,0 +1,4 @@ +[Unit] +Description=Sway compositor session +BindsTo=graphical-session.target +Wants=graphical-session.target diff --git a/dot_config/systemd/user/waybar.service b/dot_config/systemd/user/waybar.service new file mode 100644 index 0000000..c3cf245 --- /dev/null +++ b/dot_config/systemd/user/waybar.service @@ -0,0 +1,14 @@ +[Unit] +Description=Waybar Panel +PartOf=sway-session.target +After=sway-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/waybar +Restart=on-failure +RestartSec=1 + +[Install] +WantedBy=sway-session.target + |