diff options
author | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-29 06:30:25 -0400 |
---|---|---|
committer | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-29 06:30:25 -0400 |
commit | 663764ea8b9e547d1e422a7e7a335415405945ab (patch) | |
tree | af98aa644e92709a370b555b004c6a60bbe2efd0 | |
parent | c62679efab6b33db38beb6a21d057c3525e44f62 (diff) |
normalize file locations
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | src/firefox-io-slayer (renamed from src/firefox-io-slayer-redux) | 0 | ||||
-rwxr-xr-x | src/firestart (renamed from firestart) | 1 | ||||
-rwxr-xr-x | src/firestartx (renamed from firestartx) | 0 | ||||
-rw-r--r-- | src/ioslay@.service | 3 |
5 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | BINDIR = /usr/local/bin | 1 | BINDIR = /usr/local/bin |
2 | BINARIES = firestart firestartx $(addprefix src/,sliceweasel.lib.sh firefox-io-slayer-redux ioslay-firefox) | 2 | BINARIES = $(addprefix src/,firestart firestartx sliceweasel.lib.sh firefox-io-slayer ioslay-firefox) |
3 | 3 | ||
4 | ifeq ($(shell id -u),0) | 4 | ifeq ($(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 | ||
5 | if systemctl --user is-active "$UNIT" >/dev/null | 5 | if systemctl --user is-active "$UNIT" >/dev/null |
6 | then | 6 | then |
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] |
2 | Description = Kill firefox when it spins the disk | 2 | Description = Kill firefox when it spins the disk |
3 | Requires = firefox@%I | ||
3 | 4 | ||
4 | [Service] | 5 | [Service] |
5 | ExecStart = /usr/local/bin/firefox-io-slayer-redux %I | 6 | ExecStart = /usr/local/bin/firefox-io-slayer %I |