Diff
1diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
2index 736d9230fa4f7c1a870c0637c599bb1e616d12ba..4068da444388b201b27b372fd7245c1d35bc1a68 100644
3--- a/dot_config/hypr/hyprland.conf.tmpl
4+++ b/dot_config/hypr/hyprland.conf.tmpl
5@@ -13,14 +13,12 @@ $terminal = com.mitchellh.ghostty.desktop
6 $menu = fuzzel "--launch-prefix=uwsm app --"
7 $animation_speed = 1.5
8
9-exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
10-exec-once = waybar -c ~/.config/waybar/config-top.jsonc
11-exec-once = waybar -c ~/.config/waybar/config-bottom.jsonc
12+# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
13 exec-once = hyprpm reload -n
14
15-# exec-once = firefox.desktop
16-# exec-once = org.telegram.desktop.desktop
17-# exec-once = deezer-enhanced.desktop
18+exec-once = firefox.desktop
19+exec-once = org.telegram.desktop.desktop
20+exec-once = org.mozilla.Thunderbird.desktop
21
22 # https://wiki.hyprland.org/Configuring/Variables/#general
23 general {
24diff --git a/dot_config/systemd/user/waybar@.service b/dot_config/systemd/user/waybar@.service
25new file mode 100644
26index 0000000000000000000000000000000000000000..a2c6cd52b3adba4315462c9cdb583d49a2fba03c
27--- /dev/null
28+++ b/dot_config/systemd/user/waybar@.service
29@@ -0,0 +1,18 @@
30+[Unit]
31+Description=Highly customizable Wayland bar for Sway and Wlroots based compositors
32+Documentation=https://github.com/Alexays/Waybar/wiki/
33+PartOf=graphical-session.target
34+After=graphical-session.target
35+Requisite=graphical-session.target
36+
37+[Service]
38+Type=exec
39+ExecStart=
40+ExecStart=/usr/bin/waybar -c ${HOME}/.config/waybar/%i.jsonc
41+ExecReload=kill -SIGUSR2 $MAINPID
42+ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
43+Restart=on-failure
44+Slice=app-graphical.slice
45+
46+[Install]
47+WantedBy=graphical-session.target
48diff --git a/init.sh b/init.sh
49index 7c9fdae23c340f10e36b7b6d3c67252b7a45b57e..6964cdbeb25a4b935d323621941f674d5942c2a3 100755
50--- a/init.sh
51+++ b/init.sh
52@@ -30,5 +30,12 @@ sudo patch /usr/share/X11/xkb/symbols/us < ./us_colemak.patch
53 sudo pacman -S gcr
54 systemctl enable --user --now gcr-ssh-agent.socket
55
56+# User systemd services
57+systemctl enable --user --now waybar@config-top
58+systemctl enable --user --now waybar@config-bottom
59+systemctl enable --user --now hypridle
60+systemctl enable --user --now hyprpaper
61+systemctl enable --user --now hyprpolkitagent
62+
63 # Set cursor theme
64 gsettings set org.gnome.desktop.interface cursor-theme Breeze_Light