summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-29 06:30:25 -0400
committerDebian Live user <user@debian-BULLSEYE-live-builder-AMD64>2023-04-29 06:30:25 -0400
commit663764ea8b9e547d1e422a7e7a335415405945ab (patch)
treeaf98aa644e92709a370b555b004c6a60bbe2efd0
parentc62679efab6b33db38beb6a21d057c3525e44f62 (diff)
normalize file locations
-rw-r--r--Makefile2
-rwxr-xr-xsrc/firefox-io-slayer (renamed from src/firefox-io-slayer-redux)0
-rwxr-xr-xsrc/firestart (renamed from firestart)1
-rwxr-xr-xsrc/firestartx (renamed from firestartx)0
-rw-r--r--src/ioslay@.service3
5 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 923d3a8..f3d4b3f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1BINDIR = /usr/local/bin 1BINDIR = /usr/local/bin
2BINARIES = firestart firestartx $(addprefix src/,sliceweasel.lib.sh firefox-io-slayer-redux ioslay-firefox) 2BINARIES = $(addprefix src/,firestart firestartx sliceweasel.lib.sh firefox-io-slayer ioslay-firefox)
3 3
4ifeq ($(shell id -u),0) 4ifeq ($(shell id -u),0)
5# Prevent running as root 5# Prevent running as root
diff --git a/src/firefox-io-slayer-redux b/src/firefox-io-slayer
index fe54e37..fe54e37 100755
--- a/src/firefox-io-slayer-redux
+++ b/src/firefox-io-slayer
diff --git a/firestart b/src/firestart
index 2557903..5cc1c92 100755
--- a/firestart
+++ b/src/firestart
@@ -4,6 +4,7 @@ UNIT=firefox@$DISPLAY
4 4
5if systemctl --user is-active "$UNIT" >/dev/null 5if systemctl --user is-active "$UNIT" >/dev/null
6then 6then
7 echo "Attemping to contact existing Firefox instance." >&2
7 # Ask the existing firefox to open a new window. 8 # Ask the existing firefox to open a new window.
8 9
9 # Firefox does not include an official API to do this in a way that 10 # Firefox does not include an official API to do this in a way that
diff --git a/firestartx b/src/firestartx
index 636fc84..636fc84 100755
--- a/firestartx
+++ b/src/firestartx
diff --git a/src/ioslay@.service b/src/ioslay@.service
index 1a00bd4..11db192 100644
--- a/src/ioslay@.service
+++ b/src/ioslay@.service
@@ -1,5 +1,6 @@
1[Unit] 1[Unit]
2Description = Kill firefox when it spins the disk 2Description = Kill firefox when it spins the disk
3Requires = firefox@%I
3 4
4[Service] 5[Service]
5ExecStart = /usr/local/bin/firefox-io-slayer-redux %I 6ExecStart = /usr/local/bin/firefox-io-slayer %I