summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:03:40 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-11-25 19:03:40 +0400
commit918a5f26d05a63d5c3ece4513094e4046c56979d (patch)
tree3fa257ee2706cc9d2bdc0d00a160ec67cfcb0482 /scripts
parentbc2d23cd922130a602d3caf739bd80b13c652f1b (diff)
fix: use `progname` instead of `${0}`
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gui/br2
-rwxr-xr-xscripts/gui/nsend2
-rwxr-xr-xscripts/gui/sdev2
-rwxr-xr-xscripts/gui/shot2
-rwxr-xr-xscripts/gui/sslock2
-rwxr-xr-xscripts/gui/swall2
6 files changed, 6 insertions, 6 deletions
diff --git a/scripts/gui/br b/scripts/gui/br
index 428e24b..bf855ec 100755
--- a/scripts/gui/br
+++ b/scripts/gui/br
@@ -4,7 +4,7 @@
help() {
cat << EOF
-${0}: Open links from bookmarks through dmenu
+${progname}: Open links from bookmarks through dmenu
options:
[link] Open link
-h Print this message and exit
diff --git a/scripts/gui/nsend b/scripts/gui/nsend
index e1cbd78..f45cc18 100755
--- a/scripts/gui/nsend
+++ b/scripts/gui/nsend
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${argv0}: Send notifications
+${progname}: Send notifications
options:
-s [Msg] Send Msg
-t [Time] Disappear after Time (in second)
diff --git a/scripts/gui/sdev b/scripts/gui/sdev
index 340bdb1..2d80184 100755
--- a/scripts/gui/sdev
+++ b/scripts/gui/sdev
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Disable and Enable devices
+${progname}: Disable and Enable devices
options:
-e [dev] Enable dev
-d [dev] Disable dev
diff --git a/scripts/gui/shot b/scripts/gui/shot
index a133c16..e24e551 100755
--- a/scripts/gui/shot
+++ b/scripts/gui/shot
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Wrapper script to take screenshots
+${progname}: Wrapper script to take screenshots
options:
-d [File] Write to File
-s Select the area with the cursor
diff --git a/scripts/gui/sslock b/scripts/gui/sslock
index 8a3284e..16cf125 100755
--- a/scripts/gui/sslock
+++ b/scripts/gui/sslock
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Lock screen
+${progname}: Lock screen
options:
-n Black screen lock
-h Print this message and exit
diff --git a/scripts/gui/swall b/scripts/gui/swall
index 5f22ec8..514dde6 100755
--- a/scripts/gui/swall
+++ b/scripts/gui/swall
@@ -5,7 +5,7 @@
help() {
cat << EOF
-${0}: Wrapper script to set wallpapers
+${progname}: Wrapper script to set wallpapers
options:
-d [File] Select a wallpaper or a directory
-c Remove the current wallpaper