Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- SCREEN_LAYOUTS="$HOME/.screenlayout"
- choices=$(ls -1 $SCREEN_LAYOUTS)
- chosen=$(echo -e "$choices" | dmenu -i)
- echo "You have choosed: ${chosen} "
- if [ "$chosen" != "" ]; then
- sh "$SCREEN_LAYOUTS/$chosen"
- sh "$HOME/.config/polybar/launch.sh"
- fi
Add Comment
Please, Sign In to add comment