gui menus
This commit is contained in:
parent
ad88697249
commit
cfbd047ae1
2 changed files with 12 additions and 0 deletions
5
scripts/menu/kmenu
Executable file
5
scripts/menu/kmenu
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
LIST="$(while read line ; do printf "$line $line " ; done < "${1:-/dev/stdin}")"
|
||||
|
||||
kdialog --menu "Select an item:" $LIST
|
7
scripts/menu/zmenu
Executable file
7
scripts/menu/zmenu
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
TITLE="$1"
|
||||
PROMPT="$2"
|
||||
LIST="$(while read line ; do echo "$line" ; done < "${1:-/dev/stdin}")"
|
||||
|
||||
zenity --list --title="$TITLE" --text="" --column="$PROMPT" $LIST
|
Loading…
Reference in a new issue