Guest User

Untitled

a guest
Sep 28th, 2022
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | Source Code | 0 0
  1. #!/bin/sh
  2.  
  3. theme() { cat <<EOF
  4. window{
  5. children:[inputbar,message,listview-box];
  6. }
  7. listview-box{
  8. children:[listview,button1];
  9. }
  10. button1{
  11. action:"kb-custom-1";
  12. expand: false;
  13. padding: 20px 0;
  14. horizontal-align: 0.5;
  15. cursor: pointer;
  16. content: "My Button";
  17. background-color:Orange;
  18. }
  19. EOF
  20. }
  21.  
  22. SCRIPTPATH="$(cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit 1 ; pwd -P)"
  23. rofi -no-config\
  24. -show a\
  25. -modi "a:${SCRIPTPATH}/m.sh"\
  26. -theme-str "$(theme)"
Tags: rofi
Advertisement
Add Comment
Please, Sign In to add comment