dmenu-scripts/dmenu-runner

16 lines
176 B
Plaintext
Raw Permalink Normal View History

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