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
For the menu's i've started using this style, which makes styling the menu easier, and more flexible and easier to maintain:
SOMEVARIABLE="test in menu to use"export SOMEVARIABLE
CHOICE=$(sed '1,/^### MENU ###$/d'$0| envsubst | wmenu -N '#12212299' -l 21 -i)case"$CHOICE"in*)
exit
;;
esacexit 0
# Icons: https://www.nerdfonts.com/cheat-sheet### MENU ###
Menu Option 1
Menu Option With ${SOMEVARIABLE}
Using envsubst in here to allow the usage of Shell Variables to have some dynamic parts.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
For the menu's i've started using this style, which makes styling the menu easier, and more flexible and easier to maintain:
Using
envsubstin here to allow the usage of Shell Variables to have some dynamic parts.Thanks anyway for the inspiration on these!
Beta Was this translation helpful? Give feedback.
All reactions