I have a shell script /usr/local/bin/myrofi.sh which contains:
#!/bin/sh
/usr/bin/rofi -run-list-command ". /usr/local/bin/get_aliases.sh" -run-command "/usr/bin/zsh -i -c '{cmd}'" -show run
when I run this script from terminal it works perfectly, but when I run this from GNOME keyboard shortcut like:
then the system becomes unresponsive and it hangs the system. Then I will have to switch to login shell then run killall rofi to get back my normal system.
My system have Arch linux with Gnome window manager.
