~anjan/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] add basic userscript for airplanemode

Aljoscha Hartmann <aljoscha.hartmann@posteo.de>
Details
Message ID
<20231227125613.16700-1-aljoscha.hartmann@posteo.de>
DKIM signature
missing
Download raw message
Patch: +6 -0
---
 scripts/README.md        | 5 +++++
 scripts/airplane_mode.sh | 1 +
 2 files changed, 6 insertions(+)

diff --git a/scripts/README.md b/scripts/README.md
index 6fef6cd..9e1249b 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -109,3 +109,8 @@ Copy the script to `$XDG_CONFIG_HOME/sxmo/userscripts` and make it executable.
- Author: Peter Thomason <pthom44@live.com.au>
- Licence: GPL3+
- Description: Modified sxmo_weather.sh to include worldwide support. This supports current location and future forcasts.

## airplane_mode.sh
- Author: Aljoscha Hartmann
- License: GPL3+
- Descripton: Small script that calls nmcli radio off/on respectively for "Airplane Mode".
diff --git a/scripts/airplane_mode.sh b/scripts/airplane_mode.sh
index 2bae56d..5ea3474 100755
--- a/scripts/airplane_mode.sh
+++ b/scripts/airplane_mode.sh
@@ -1,6 +1,7 @@
#!/bin/sh
# Author: Aljoscha Hartmann <aljoscha.hartmann@posteo.de>
# Currently this script doesn't support turning of bluetooth, as I don't use bluetooth myself. Feel free to add a line for bluetooth anytime!
# License GPL3+

# title="$icon_net Airplane Mode"

-- 
2.43.0
Details
Message ID
<CY3XXDPB8ZNX.27L0WEWSX3HYI@momi.ca>
In-Reply-To
<20231227125613.16700-1-aljoscha.hartmann@posteo.de> (view parent)
DKIM signature
missing
Download raw message
Hi!

When trying to apply your patch, I got the following error:

```
Applying: add basic userscript for airplanemode
error: sha1 information is lacking or useless (scripts/airplane_mode.sh).
error: could not build fake ancestor
Patch failed at 0001 add basic userscript for airplanemode
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
```

Did you mean to attach multiple patches to this email?
--
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt
Reply to thread Export thread (mbox)