diff options
-rwxr-xr-x | promptmenu | 3 | ||||
-rwxr-xr-x | promptmenu0 | 3 | ||||
-rwxr-xr-x | rxmenu | 2 | ||||
-rwxr-xr-x | rxmenu-cpufreq | 2 | ||||
-rwxr-xr-x | rxmenu-profile | 2 | ||||
-rwxr-xr-x | rxmenu-rfkill | 2 | ||||
-rwxr-xr-x | rxmenu-telinit | 2 |
7 files changed, 11 insertions, 5 deletions
diff --git a/promptmenu b/promptmenu new file mode 100755 index 0000000..fb500a2 --- /dev/null +++ b/promptmenu @@ -0,0 +1,3 @@ +#!/bin/sh + +fuzzel --dmenu -p "$1> " diff --git a/promptmenu0 b/promptmenu0 new file mode 100755 index 0000000..b04b349 --- /dev/null +++ b/promptmenu0 @@ -0,0 +1,3 @@ +#!/bin/sh + +fuzzel --dmenu0 -p "$1> " @@ -1,6 +1,6 @@ #!/bin/sh -rxmenu-$(dmenu rxmenu <<EOF +rxmenu-$(promptmenu rxmenu <<EOF profile cpufreq telinit diff --git a/rxmenu-cpufreq b/rxmenu-cpufreq index 3d0e8ce..856a97a 100755 --- a/rxmenu-cpufreq +++ b/rxmenu-cpufreq @@ -1,6 +1,6 @@ #!/bin/sh -t="$(dmenu cpufreq << EOF +t="$(promptmenu cpufreq << EOF powersave schedutil conservative diff --git a/rxmenu-profile b/rxmenu-profile index 50b5fcf..d30c96e 100755 --- a/rxmenu-profile +++ b/rxmenu-profile @@ -2,7 +2,7 @@ lf="$(printf '\n')" -t="$(dmenu profile << EOF +t="$(promptmenu profile << EOF mini save cons diff --git a/rxmenu-rfkill b/rxmenu-rfkill index 3b0514a..949f5ed 100755 --- a/rxmenu-rfkill +++ b/rxmenu-rfkill @@ -2,7 +2,7 @@ # NOTE: user must be able to use rfkill -t="$(dmenu rfkill << EOF +t="$(promptmenu rfkill << EOF block unblock EOF diff --git a/rxmenu-telinit b/rxmenu-telinit index 38ffd8e..496dade 100755 --- a/rxmenu-telinit +++ b/rxmenu-telinit @@ -2,7 +2,7 @@ # NOTE: telinit must be setuid or otherwise usable by the user -t="$(dmenu telinit << EOF +t="$(promptmenu telinit << EOF 0 2 3 |