mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

my-rofi (241B)


      1 #!/bin/bash
      2 
      3 ROFI=$(pidof $(which rofi))
      4 if [ ! -z "$ROFI" ]
      5 then
      6   kill "$ROFI"
      7 fi
      8 if command -v rofi >/dev/null 2>&1
      9 then
     10   # lazy-grab makes it show on keydown
     11   exec rofi -lazy-grab -terminal ~/bin/urxvtcdfont "$@"
     12 else
     13   exec dmenu
     14 fi
     15