Skip to content

Variables with calc function #1667

Answered by DaveDavenport
s0la asked this question in Theming
Discussion options

You must be logged in to vote

You cannot use variables in calc function (as stated in the issue).

This might work with env variable:

MYWIDTH=1000 rofi -theme-str 'window {  width: calc( ${MYWIDTH} - 20 ); }'  -show drun

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s0la
Comment options

Answer selected by s0la
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants