summarylogtreecommitdiffstats
path: root/0002-ARCH-remove-various-Fedora-isms.patch
blob: de2e89e08f9a587c57554e366a354ce632488c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
From 1ddafca4e4d7475502e323c5a98c7270beaf36b1 Mon Sep 17 00:00:00 2001
Message-ID: <1ddafca4e4d7475502e323c5a98c7270beaf36b1.1743190977.git.tommyhebb@gmail.com>
In-Reply-To: <df347b3b28d2921f7f481d39e732a93e29b778af.1743190977.git.tommyhebb@gmail.com>
References: <df347b3b28d2921f7f481d39e732a93e29b778af.1743190977.git.tommyhebb@gmail.com>
From: Thomas Hebb <tommyhebb@gmail.com>
Date: Fri, 20 Sep 2024 17:52:09 -0400
Subject: [PATCH 2/3] ARCH: remove various Fedora-isms

---
 Makefile                                        |  2 --
 sway/config.d/60-bindings-volume.conf           |  2 +-
 sway/config.d/95-autostart-policykit-agent.conf |  2 +-
 sway/config.d/95-xdg-desktop-autostart.conf     | 14 --------------
 4 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 sway/config.d/95-xdg-desktop-autostart.conf

diff --git a/Makefile b/Makefile
index 2dad717..797b02d 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,6 @@ install-sway: build
 	install -D -m 0644 -pv -t $(DESTDIR)$(SYSCONFDIR)/sway          sway/environment
 	install -D -m 0755 -pv -t $(DESTDIR)$(BINDIR)                   sway/start-sway
 	install -D -m 0644 -pv -t $(DESTDIR)$(DATADIR)/sway/config.d    sway/config.d/*.conf
-	install -D -m 0644 -pv -t $(DESTDIR)$(DATADIR)/sway/config.live.d sway/config.live.d/*.conf
-	install -D -m 0644 -pv -t $(DESTDIR)$(DATADIR)/sway/live        sway/live/*
 	install -D -m 0755 -pv -t $(DESTDIR)$(LIBEXECDIR)/sway          scripts/sway/*
 
 install-swaylock:
diff --git a/sway/config.d/60-bindings-volume.conf b/sway/config.d/60-bindings-volume.conf
index 85575f2..2b31ea4 100644
--- a/sway/config.d/60-bindings-volume.conf
+++ b/sway/config.d/60-bindings-volume.conf
@@ -8,7 +8,7 @@
 # Requires:     pulseaudio-utils
 # Recommends:   libnotify
 
-set $volume_helper_cmd /usr/libexec/sway/volume-helper
+set $volume_helper_cmd /usr/lib/sway/volume-helper
 
 # Allow volume controls even if the screen is locked
 bindsym --locked {
diff --git a/sway/config.d/95-autostart-policykit-agent.conf b/sway/config.d/95-autostart-policykit-agent.conf
index 10b529b..4c5f486 100644
--- a/sway/config.d/95-autostart-policykit-agent.conf
+++ b/sway/config.d/95-autostart-policykit-agent.conf
@@ -5,4 +5,4 @@
 #
 # Requires: lxqt-policykit
 
-exec /usr/libexec/lxqt-policykit-agent
+exec lxqt-policykit-agent
diff --git a/sway/config.d/95-xdg-desktop-autostart.conf b/sway/config.d/95-xdg-desktop-autostart.conf
deleted file mode 100644
index 56cc4fb..0000000
--- a/sway/config.d/95-xdg-desktop-autostart.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# Wait until a StatusNotifierItem tray implementation is available and
-# process XDG autostart entries.
-#
-# This horror has to exist because
-#
-#  - SNI spec mandates that if `IsStatusNotifierHostRegistered` is not set,
-#    the client should fall back to the Freedesktop System Tray specification
-#    (XEmbed).
-#  - There are actual implementations that take this seriously and implement
-#    a fallback *even if* StatusNotifierWatcher is already DBus-activated.
-#  - https://github.com/systemd/systemd/issues/3750
-#
-exec /usr/libexec/sway-systemd/wait-sni-ready && \
-    systemctl --user start sway-xdg-autostart.target
-- 
2.49.0