commit 74c51390f09e8909bffccfdef5ec285e8544774a
parent e38f410e0e6f7867c8332ea99e879e84558438e7
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sun, 22 Nov 2020 18:01:33 -0800
Reformat sman documentation
Diffstat:
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/modules/scripts/.local/bin/dp b/modules/scripts/.local/bin/dp
@@ -1,5 +1,9 @@
#!/usr/bin/env dash
#! dp -- manage multi-monitor setup
+#!
+#! Each argument is taken as a display, if two are given the first is
+#! put to the left of the second, otherwise if only one is given that
+#! display is turned off.
set -eu
diff --git a/modules/scripts/.local/bin/sysconf b/modules/scripts/.local/bin/sysconf
@@ -4,9 +4,9 @@
#! There are three commands defined, h(elp), i(nstall), u(ninstall), and
#! l(ist) or ls. The list command is default.
#!
-#! Each item on the file list not prefixed by hash (`#') and not empty is
-#! evaluated with rc(1)'s eval then executed. The format of each item
-#! should be `$src[<tab><space>]+$dst'.
+#! Each item on the file list not prefixed by hash (`#') and not empty
+#! is evaluated with rc(1)'s eval then executed. The format of each
+#! item should be `$src[<tab><space>]+$dst'.
#!
#! sysconf first checks SYSCONF for the list, then
#! XDG_CONFIG_HOME/sysconf, and finally HOME/.config/sysconf.
diff --git a/modules/scripts/.local/bin/wpaper b/modules/scripts/.local/bin/wpaper
@@ -1,5 +1,9 @@
#!/usr/bin/env dash
#! wpaper -- wallpaper selection
+#!
+#! If no arguments are given it simply invokes sxiv(1) on the
+#! WALLPAPER_DIR environment variable. If the -s flag is given it
+#! invokes sxiv on a directory selected with fsmenu.
set -eu