Rofi no longer supports Xresources config format
This commit is contained in:
parent
24457ca338
commit
4e388030f8
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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…
Reference in New Issue