Browse Source

Rofi no longer supports Xresources config format

master
John Mertz 3 months ago
parent
commit
05921b1d01
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      rofi/drun.sh
  2. +1
    -1
      rofi/rofi-openvpn.sh
  3. +1
    -1
      rofi/rofi-ssh-menu.sh

+ 1
- 1
rofi/drun.sh View File

@@ -4,7 +4,7 @@ ROFI=$(pgrep -c rofi | cut -b 1)
echo $ROFI

if [[ "$ROFI" -eq "0" ]]; then
rofi -config /home/jpm/.config/rofi/config -show drun
rofi -config /home/jpm/.config/rofi/config.rasi -show drun
else
killall rofi 2&>1 /dev/null
fi

+ 1
- 1
rofi/rofi-openvpn.sh View File

@@ -2,7 +2,7 @@

# Passwordless sudo required

res=$(echo "Connection|John.Me.tz|MailCleaner|Disconnect|Restart" | rofi -sep "|" -dmenu -i -p 'P ' "" -columns 9 -width 45 -l 1 -config /home/jpm/.config/rofi/config -hide-scrollbar -eh 1 -location 0 -auto-select -no-fullscreen)
res=$(echo "Connection|John.Me.tz|MailCleaner|Disconnect|Restart" | rofi -sep "|" -dmenu -i -p 'P ' "" -columns 9 -width 45 -l 1 -config /home/jpm/.config/rofi/config.rasi -hide-scrollbar -eh 1 -location 0 -auto-select -no-fullscreen)

if [ $res = "Connection" ]; then
/usr/bin/uxterm -e 'sudo /usr/bin/nmtui'


+ 1
- 1
rofi/rofi-ssh-menu.sh View File

@@ -4,7 +4,7 @@ res=$(echo "john.me.tz|root@john.me.tz|t470s.lan.john.me.tz|shb.ng|\
kipary.fastnet.ch|media.lan.john.me.tz|pipcam0.lan.john.me.tz|\
therm.lan.john.me.tz|hud.lan.john.me.tz|vm.lan.john.me.tz|mac.lan.john.me.tz|AndroidUSB" | \
rofi -sep "|" -dmenu -i -p 'P ' "" -columns 1 -rows 1 -width 45 -l 1 -config \
/home/jpm/.config/rofi/config -hide-scrollbar -eh 1 -location 0 -yoffset 0 \
/home/jpm/.config/rofi/config.rasi -hide-scrollbar -eh 1 -location 0 -yoffset 0 \
-padding 12 -opacity 100 -auto-select -no-fullscreen)

echo $res > /home/jpm/.last_ssh_shortcut


Loading…
Cancel
Save