summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/dmapps2
-rwxr-xr-x.local/bin/dmbookm2
-rwxr-xr-x.local/bin/dmkill4
-rwxr-xr-x.local/bin/dmlog4
-rwxr-xr-x.local/bin/dmotp2
-rwxr-xr-x.local/bin/dmpass2
-rwxr-xr-x.local/bin/dmpc2
-rwxr-xr-x.local/bin/dmscrot2
-rwxr-xr-x.local/bin/dmsearch2
-rwxr-xr-x.local/bin/linkview4
10 files changed, 13 insertions, 13 deletions
diff --git a/.local/bin/dmapps b/.local/bin/dmapps
index 75fcde1..881be19 100755
--- a/.local/bin/dmapps
+++ b/.local/bin/dmapps
@@ -244,7 +244,7 @@ sub main
if (hostname() eq "po-rbo.ln.ysosecure.com") {
$prompt .= WORK_LIST;
}
- $action = `dmenu -i -l 100 -m 0 <<LIST
+ $action = `dmenu -i -l 100 <<LIST
$prompt
LIST`;
if (not $action) {
diff --git a/.local/bin/dmbookm b/.local/bin/dmbookm
index 568574c..7c9dbd2 100755
--- a/.local/bin/dmbookm
+++ b/.local/bin/dmbookm
@@ -44,7 +44,7 @@ sub main
for (keys %{LIST()}) {
$list .= $_ . "\n";
}
- $choice = `printf "$list" | dmenu -i -m 0 -l 100`;
+ $choice = `printf "$list" | dmenu -i -l 100`;
if (not $choice) {
return;
}
diff --git a/.local/bin/dmkill b/.local/bin/dmkill
index c022490..0ff1257 100755
--- a/.local/bin/dmkill
+++ b/.local/bin/dmkill
@@ -18,7 +18,7 @@ sub confirm
for (@{+CONFIRM}) {
$list .= $_ . "\n";
}
- $choice = `printf "%s" "$list" | dmenu -i -p "kill $proc ($pid)?" -l 2 -m 0`;
+ $choice = `printf "%s" "$list" | dmenu -i -p "kill $proc ($pid)?"`;
chomp $choice;
if ($choice eq ${+CONFIRM}[1]) {
return (1);
@@ -55,7 +55,7 @@ sub main
my $user;
$user = getpwuid($<);
- $choice = `ps -U "$user" -o pid,user,comm,time,%cpu,%mem | dmenu -i -l 32 -m 0`;
+ $choice = `ps -U "$user" -o pid,user,comm,time,%cpu,%mem | dmenu -i -l 100`;
action($choice, $user);
return (0);
}
diff --git a/.local/bin/dmlog b/.local/bin/dmlog
index 6410007..632f518 100755
--- a/.local/bin/dmlog
+++ b/.local/bin/dmlog
@@ -36,7 +36,7 @@ sub confirm
for (@{+CONFIRM}) {
$list .= $_ . "\n";
}
- $choice = `printf "%s" "$list" | dmenu -i -p "$var?" -m 0`;
+ $choice = `printf "%s" "$list" | dmenu -i -p "$var?"`;
chomp $choice;
if ($choice eq ${+CONFIRM}[1]) {
return (1);
@@ -132,7 +132,7 @@ sub main
for (@{+LIST}) {
$list .= $_ . "\n";
}
- $choice = `printf "%s" "$list" | dmenu -i -m 0`;
+ $choice = `printf "%s" "$list" | dmenu -i`;
action($choice);
return (0);
}
diff --git a/.local/bin/dmotp b/.local/bin/dmotp
index 9744bc7..b5a36f6 100755
--- a/.local/bin/dmotp
+++ b/.local/bin/dmotp
@@ -14,7 +14,7 @@ fi
prefix=${PASSWORD_STORE_DIR-~/.local/share/pass}/otp
rprefix=$(printf "%s" $prefix | sed 's/\//\\\//g')
password_files=$(ls "$prefix"/*.gpg | sed 's/^'${rprefix}'\///g' | sed 's/\.gpg//g')
-password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15 -m 0)
+password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15)
[ -n "$password" ] || exit
diff --git a/.local/bin/dmpass b/.local/bin/dmpass
index 6836d41..060cf08 100755
--- a/.local/bin/dmpass
+++ b/.local/bin/dmpass
@@ -19,7 +19,7 @@ fi
prefix=${PASSWORD_STORE_DIR-~/.local/share/pass}
rprefix=$(printf "%s" $prefix | sed 's/\//\\\//g')
password_files=$(ls "$prefix"/*.gpg "$prefix"/*/*.gpg | sed 's/^'${rprefix}'\///g' | sed 's/\.gpg//g')
-password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15 -m 0)
+password=$(printf "%s\n" "${password_files}" | "$dmenu" -i -l 15)
[ -n "$password" ] || exit
diff --git a/.local/bin/dmpc b/.local/bin/dmpc
index d8e6603..f332431 100755
--- a/.local/bin/dmpc
+++ b/.local/bin/dmpc
@@ -27,7 +27,7 @@ sub main
chomp $current;
chomp $queued;
$prompt = "toggle\nnext\nprev\nplay\nstop\nclear\nrepeat\nrandom\n\n$current\n$queued\n";
- $action = `printf "$prompt" | dmenu -i -l 11 -m 0`;
+ $action = `printf "$prompt" | dmenu -i -l 11`;
system("mpc " . $action);
return;
}
diff --git a/.local/bin/dmscrot b/.local/bin/dmscrot
index 7456fa9..82b3c27 100755
--- a/.local/bin/dmscrot
+++ b/.local/bin/dmscrot
@@ -133,7 +133,7 @@ sub main
for (@{+LIST}) {
$list .= $_ . "\n";
}
- $choice = `printf "%s" "$list" | dmenu -i -l 10 -m 0`;
+ $choice = `printf "%s" "$list" | dmenu -i -l 10`;
action($choice);
return (0);
}
diff --git a/.local/bin/dmsearch b/.local/bin/dmsearch
index 97a8563..22ad2d7 100755
--- a/.local/bin/dmsearch
+++ b/.local/bin/dmsearch
@@ -20,7 +20,7 @@ sub main
if (HOSTNAME eq "mars") {
$prefix += '/local';
}
- $choice = `printf "" | dmenu -i -m 0 -p 'search:'`;
+ $choice = `printf "" | dmenu -i -p 'search:'`;
if (not $choice) {
return;
}
diff --git a/.local/bin/linkview b/.local/bin/linkview
index 6d08dc3..5d9dcac 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -88,7 +88,7 @@ sub open_link
$ret = -1;
if ($a eq "ytdl") {
$list = QUAL_LIST;
- $quality = `printf "$list" | dmenu -i -l 8 -m 0`;
+ $quality = `printf "$list" | dmenu -i -l 8`;
if (not $quality) {
exit 0;
}
@@ -393,7 +393,7 @@ sub dmenu_prompt
my $answer;
my $list = PROG_LIST;
- $answer = `printf "$list\nURL: $url\n" | dmenu -i -l 12 -m 0`;
+ $answer = `printf "$list\nURL: $url\n" | dmenu -i -l 12`;
chomp $answer;
return $answer;
}