2022-06-19 20:02:44 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-11-04 22:03:43 +01:00
|
|
|
load_config() {
|
|
|
|
. $HOME/.config/dmenu/config
|
2022-11-04 14:54:08 +01:00
|
|
|
}
|
2022-07-17 11:03:13 +02:00
|
|
|
|
2023-11-04 22:03:43 +01:00
|
|
|
main() {
|
|
|
|
load_config
|
2022-06-19 20:02:44 +02:00
|
|
|
|
2023-11-04 22:03:43 +01:00
|
|
|
choice=$(dmenu_path | grep dmenu- | $DMENU -p "Choose script to run:")
|
2022-11-04 14:54:08 +01:00
|
|
|
|
2023-11-04 22:03:43 +01:00
|
|
|
$choice
|
2022-11-04 14:54:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main $@
|