Closed dotlambda closed 8 years ago
What is this supposed to achieve?
I want to run j4-desktop-menu
calling dmenu
(corrected from dmenu_run) with the specified colors that I also use in other places in the config.
I think I made it work:
set $dmenu 'dmenu -fn ProFont-11 -nb "$bg" -nf "$fg" -sb "$fg" -sf "$bg"'
set $menu j4-dmenu-desktop --dmenu=$dmenu --term=urxvt
But having a possibility to write a single backslash in front of a variable would still be nice:
set $color #ffffff
set $menu dmenu_run -nf \\$color
should result in $menu containing dmenu -nf \#ffffff
(without the backslash the #
indicates a comment I guess)
I'd like to do something like
But sway won't let me double escape a variable.