Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # written for BunsenLabs by damo <[email protected]> May 2015
- #
- # -nb normal background colour
- # -nf normal foreground colour
- # -sb selected background colour
- # -sf selected foreground colour
- #
- # -b place menu at bottom (otherwise top)
- #
- # See 'man dmenu' for more information.
- USAGE="\n To start dmenu at the top or bottom of the screen,\n\
- add or remove -b in the dmenu_run command in dmenu-bind.sh.\n\
- -b locate at bottom\n\n\
- To change colours, edit the options:\n\n\
- -nb normal background colour\n\
- -nf normal foreground colour\n\
- -sb selected background colour\n\
- -sf selected foreground colour\n\n\
- Get all configuration options with 'man dmenu'.\n"
- if [[ $# = 1 ]]; then
- case $1 in
- -h|--help ) echo -e "$USAGE"
- exit 0;;
- * ) echo -e "\n Invalid command argument\n"
- exit 1;;
- esac
- fi
- dmenu_run -p "run:" -fn "Noto Sans-10" -i -nb '#2F343F' -nf '#DCDCDC' -sb '#3F82D3' -sf '#FFFFFF'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement