From 05921b1d0159a9696c7436ec6717451e96e05f18 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 31 Aug 2021 14:15:12 -0400 Subject: [PATCH] Rofi no longer supports Xresources config format --- rofi/drun.sh | 2 +- rofi/rofi-openvpn.sh | 2 +- rofi/rofi-ssh-menu.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rofi/drun.sh b/rofi/drun.sh index 616818d..f733a6f 100755 --- a/rofi/drun.sh +++ b/rofi/drun.sh @@ -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 diff --git a/rofi/rofi-openvpn.sh b/rofi/rofi-openvpn.sh index d83eaf4..e69bd47 100755 --- a/rofi/rofi-openvpn.sh +++ b/rofi/rofi-openvpn.sh @@ -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' diff --git a/rofi/rofi-ssh-menu.sh b/rofi/rofi-ssh-menu.sh index fad9032..a93c6a9 100755 --- a/rofi/rofi-ssh-menu.sh +++ b/rofi/rofi-ssh-menu.sh @@ -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