Guest User

Untitled

a guest
Apr 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. SCREEN_LAYOUTS="$HOME/.screenlayout"
  4.  
  5. choices=$(ls -1 $SCREEN_LAYOUTS)
  6.  
  7.  
  8. chosen=$(echo -e "$choices" | dmenu -i)
  9. echo "You have choosed: ${chosen} "
  10.  
  11.  
  12. if [ "$chosen" != "" ]; then
  13. sh "$SCREEN_LAYOUTS/$chosen"
  14. sh "$HOME/.config/polybar/launch.sh"
  15. fi
Add Comment
Please, Sign In to add comment