Compare commits

..

No commits in common. "750176df38bc26f6d57e12214d565e997c61f7f3" and "3159054b4c8719e3a15154a0d38055780b136b98" have entirely different histories.

2 changed files with 15 additions and 17 deletions

View File

@ -31,18 +31,19 @@ do_install:append() {
cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland
cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF
[Unit] [Unit]
Description=Nwg Dock Hyprland - gtk3 based dock for Hyprland, written in go Description=nwg-dock-hyprland
BindsTo=graphical-session.target
Before=graphical-session.target
Wants=xdg-desktop-autostart.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
[Service] [Service]
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
RestrictNamespaces=yes
Type=simple Type=simple
ExecStartPre=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP ExecStart= /usr/bin/nwg-dock-hyprland -mb 6 -d -hd 2000
ExecStart=nwg-dock-hyprland -d -hd 2000
Restart=on-failure Restart=on-failure
[Install]
WantedBy=graphical-session.target
EOF EOF
} }

View File

@ -1,14 +1,11 @@
[Unit] [Unit]
Description=Highly customizable Wayland bar Description=Highly customizable Wayland bar for Sway and Wlroots based compositors.
Documentation=https://github.com/Alexays/Waybar/wiki/ Documentation=https://github.com/Alexays/Waybar/wiki/
BindsTo=graphical-session.target
Before=graphical-session.target
Wants=xdg-desktop-autostart.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
[Service] [Service]
Type=simple ExecStart=/usr/bin/waybar
ExecStartPre=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP ExecReload=kill -SIGUSR2 $MAINPID
ExecStart=waybar
Restart=on-failure Restart=on-failure
[Install]
WantedBy=graphical-session.target