From ccfae82ad1c1a97d06efe980d6ba0dd72be4116c Mon Sep 17 00:00:00 2001 From: Izmyname Date: Thu, 7 Nov 2024 21:01:12 +0500 Subject: rename hyprland-systemd.desktop and remove hyprland-session.service --- systemd/hyprland-session.service.in | 16 ---------------- systemd/hyprland-systemd.desktop | 6 ------ systemd/hyprland-uwsm.desktop | 6 ++++++ systemd/meson.build | 14 +------------- 4 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 systemd/hyprland-session.service.in delete mode 100644 systemd/hyprland-systemd.desktop create mode 100644 systemd/hyprland-uwsm.desktop (limited to 'systemd') diff --git a/systemd/hyprland-session.service.in b/systemd/hyprland-session.service.in deleted file mode 100644 index dafdc141..00000000 --- a/systemd/hyprland-session.service.in +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Hyprland - Tiling compositor with the looks -Documentation=man:Hyprland(1) -BindsTo=graphical-session.target -Before=graphical-session.target -Wants=xdg-desktop-autostart.target -Wants=graphical-session-pre.target -After=graphical-session-pre.target - -[Service] -Type=notify -ExecStart=@PREFIX@/@BINDIR@/Hyprland -ExecStop=@PREFIX@/@BINDIR@/hyprctl dispatch exit -ExecStopPost=systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP -Restart=on-failure -Slice=session.slice diff --git a/systemd/hyprland-systemd.desktop b/systemd/hyprland-systemd.desktop deleted file mode 100644 index 2ed1031b..00000000 --- a/systemd/hyprland-systemd.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Name=Hyprland (uwsm-managed) -Comment=An intelligent dynamic tiling Wayland compositor -Exec=uwsm start -N Hyprland -D Hyprland -C An_intelligent_dynamic_tiling_Wayland_compositor -- Hyprland -DesktopNames=Hyprland -Type=Application diff --git a/systemd/hyprland-uwsm.desktop b/systemd/hyprland-uwsm.desktop new file mode 100644 index 00000000..2ed1031b --- /dev/null +++ b/systemd/hyprland-uwsm.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Hyprland (uwsm-managed) +Comment=An intelligent dynamic tiling Wayland compositor +Exec=uwsm start -N Hyprland -D Hyprland -C An_intelligent_dynamic_tiling_Wayland_compositor -- Hyprland +DesktopNames=Hyprland +Type=Application diff --git a/systemd/meson.build b/systemd/meson.build index 2cd5312a..731f04e3 100644 --- a/systemd/meson.build +++ b/systemd/meson.build @@ -1,17 +1,5 @@ install_data( - 'hyprland-systemd.desktop', + 'hyprland-uwsm.desktop', install_dir: join_paths(get_option('datadir'), 'wayland-sessions'), install_tag: 'runtime', ) - -conf_data = configuration_data() -conf_data.set('PREFIX', get_option('prefix')) -conf_data.set('BINDIR', get_option('bindir')) -user_unit_dir = systemd.get_variable(pkgconfig: 'systemduserunitdir', - pkgconfig_define: ['prefix', get_option('prefix')]) - -configure_file( - configuration: conf_data, - input: 'hyprland-session.service.in', - output: '@BASENAME@', - install_dir: user_unit_dir ) -- cgit v1.2.3