From a76689a97901b71fadc6bce82961aee3b8216dd0 Mon Sep 17 00:00:00 2001 From: Aleksey Samoilov Date: Sun, 13 Jul 2025 13:50:01 +0400 Subject: [PATCH] Move MiracleWM config to new path --- debian/changelog | 6 ++++++ .../{miracle-wm.yaml => miracle-wm/config.yaml} | 0 miracle-wm/usr/bin/start-miracle-wm | 4 +--- .../lib/systemd/user/miracle-wm-xdg-autostart.target | 10 ---------- 4 files changed, 7 insertions(+), 13 deletions(-) rename miracle-wm/etc/skel/.config/{miracle-wm.yaml => miracle-wm/config.yaml} (100%) delete mode 100644 miracle-wm/usr/lib/systemd/user/miracle-wm-xdg-autostart.target diff --git a/debian/changelog b/debian/changelog index 0a1de78..a805de3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +tileos-settings (2.0.10~tileos) unstable; urgency=medium + + * Move MiracleWM config to new path + + -- Aleksey Samoilov Sun, 13 Jul 2025 13:49:02 +0400 + tileos-settings (2.0.9~tileos) unstable; urgency=medium * Small fixes diff --git a/miracle-wm/etc/skel/.config/miracle-wm.yaml b/miracle-wm/etc/skel/.config/miracle-wm/config.yaml similarity index 100% rename from miracle-wm/etc/skel/.config/miracle-wm.yaml rename to miracle-wm/etc/skel/.config/miracle-wm/config.yaml diff --git a/miracle-wm/usr/bin/start-miracle-wm b/miracle-wm/usr/bin/start-miracle-wm index 8bab908..216bd0c 100755 --- a/miracle-wm/usr/bin/start-miracle-wm +++ b/miracle-wm/usr/bin/start-miracle-wm @@ -25,6 +25,4 @@ if [ ! -x /usr/lib/systemd/user-environment-generators/30-systemd-environment-d- set +a fi -exec systemd-cat --identifier=miracle-wm /usr/bin/miracle-wm \ - --systemd-session-configure=/usr/libexec/miracle-wm-session-setup \ - --display-config=static=$(systemd-path user-configuration)/miracle-wm-display.yaml +/usr/bin/miracle-wm-session diff --git a/miracle-wm/usr/lib/systemd/user/miracle-wm-xdg-autostart.target b/miracle-wm/usr/lib/systemd/user/miracle-wm-xdg-autostart.target deleted file mode 100644 index 0a79f39..0000000 --- a/miracle-wm/usr/lib/systemd/user/miracle-wm-xdg-autostart.target +++ /dev/null @@ -1,10 +0,0 @@ -# Systemd provides xdg-desktop-autostart.target as a way to process XDG autostart -# desktop files. The target sets RefuseManualStart though, and thus cannot be -# used from scripts. -# -[Unit] -Description=XDG autostart for MiracleWM session -Documentation=man:systemd.special(7) man:systemd-xdg-autostart-generator(8) -BindsTo=xdg-desktop-autostart.target -PartOf=miracle-wm-session.target -After=miracle-wm-session.target