You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I run polybar with the module, the following shows on my bar: /bin/sh: 60: /home/user/git/polybar-kdeconnect/polybar-kdeconnect.sh: Syntax error: redirection unexpected
I believe the issue is with the <<< operator. The script seems to be running in sh shell instead of bash. I do have bash installed, but neither #!/usr/bin/env bash nor #!/bin/bash affect the script.
I do have all the other dependencies installed.
My polybar config does include the space between . and the script path.
The text was updated successfully, but these errors were encountered:
Hello,
When I run polybar with the module, the following shows on my bar:
/bin/sh: 60: /home/user/git/polybar-kdeconnect/polybar-kdeconnect.sh: Syntax error: redirection unexpected
Line 60 is:
menu="$(rofi -sep "|" -dmenu -i -p "$1" -location $LOCATION -yoffset $YOFFSET -xoffset $XOFFSET -theme $THEME -width $WIDTH -hide-scrollbar -line-padding 4 -padding 20 -lines 5 <<< "Battery: $3%|Ping|Find Device|Send File|Unpair")"
I believe the issue is with the <<< operator. The script seems to be running in sh shell instead of bash. I do have bash installed, but neither
#!/usr/bin/env bash
nor#!/bin/bash
affect the script.I do have all the other dependencies installed.
My polybar config does include the space between
.
and the script path.The text was updated successfully, but these errors were encountered: