Guest User

rofi example

a guest
Sep 26th, 2022
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | Source Code | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. echo -e "\0use-hot-keys\x1ftrue"
  4. case $ROFI_RETV in
  5. 1) echo -e "\0message\x1fMSG: execute '$ROFI_INFO'";;
  6. 10) echo -e "\0message\x1fMSG: custom key 1 just pressed";;
  7. esac
  8.  
  9. echo -e "execute\0info\x1fpath to some script"
Tags: rofi
Advertisement
Add Comment
Please, Sign In to add comment