fixed echo -e
This commit is contained in:
parent
f32a2ecf83
commit
f35c38a6f3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ OPTIONS="Suspend\nLock\nReboot\nShutdown\nExit i3\n"
|
|||
LAUNCHER="rofi -dmenu -i -p Power"
|
||||
LOCKER="betterlockscreen -l"
|
||||
|
||||
option=$(echo -e "$OPTIONS" | $LAUNCHER | awk '{print $1}' | tr -d '\r\n') # fix -e flag
|
||||
option=$(printf '%s'"$OPTIONS" | $LAUNCHER | awk '{print $1}' | tr -d '\r\n')
|
||||
|
||||
if [ ${#option} -gt 0 ]
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue