summaryrefslogtreecommitdiff
path: root/tools/universal_launcher.sh
blob: 2cedc59a19ec6642deda592069d90f22d7b3a9eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# universal dmenu launcher
choice=$(printf '%s\n' Run Steam Power | dmenu -i -l 10)
case "$choice" in
    Run)
        dmenu_run &
        ;;
    Steam)
        "$(dirname "$0")/steam-dmenu.sh"
        ;;
    Power)
        "$(dirname "$0")/power-menu.sh"
        ;;
    *)
        exit 0
        ;;
 esac