launcher.sh 619 B

12345678910111213141516171819202122
  1. #!/usr/bin/env bash
  2. ## Author : Aditya Shakya
  3. ## Mail : adi1090x@gmail.com
  4. ## Github : @adi1090x
  5. ## Twitter : @adi1090x
  6. # Available Styles
  7. # >> Created and tested on : rofi 1.6.0-1
  8. #
  9. # blurry blurry_full kde_simplemenu kde_krunner launchpad
  10. # gnome_do slingshot appdrawer appdrawer_alt appfolder
  11. # column row row_center screen row_dock row_dropdown
  12. theme="screen"
  13. dir="$HOME/.config/rofi/launchers/misc"
  14. # comment these lines to disable random style
  15. themes=($(ls -p --hide="launcher.sh" $dir))
  16. theme="${themes[$(( $RANDOM % 16 ))]}"
  17. rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme"