daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top