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
Using the above constants, push the generated string to "xsetroot -name" example below
procsetStatus(sStatus: string) =discardexecShellCmd("xsetroot -name "&"\""& sStatus &"\"")
# Main loopprocmain() =whiletrue:
# create the string using themed arrows and functionslet sStatusString = fmt"{CIRCLE_GREEN_L}{getWeather()}{CIRCLE_GREEN_R}{CIRCLE_ORANGE_L}{getBatStatus()}{CIRCLE_ORANGE_R}{CIRCLE_BLUE_L}{getMemory()}{CIRCLE_BLUE_R}{CIRCLE_RED_L}{getDateTime()}{CIRCLE_RED_R}{RESET}"# set the statussetStatus(sStatusString)
# sleep for n secondssleep(UPDATE_INTERVAL*1000)
Expected behavior
I would expect the foreground and background color to reset to default color of the Nimdow bar when using "RESET" escape code, as screenshot below
Screenshots
This how the result should look like(I have manually inserted escape code for same color bar back ground)
and here it is working in the terminal using "reset" escape code
But due to what seems to be not supporting escape code it results in this
The text was updated successfully, but these errors were encountered:
Describe the bug
This may not be a bug, however it seems that Nimdow is not supporting the "reset" escape code, "\x1b[0m"
To Reproduce
Steps to reproduce the behavior:
Using the above constants, push the generated string to "xsetroot -name" example below
Expected behavior
I would expect the foreground and background color to reset to default color of the Nimdow bar when using "RESET" escape code, as screenshot below
Screenshots
This how the result should look like(I have manually inserted escape code for same color bar back ground)
and here it is working in the terminal using "reset" escape code
But due to what seems to be not supporting escape code it results in this
The text was updated successfully, but these errors were encountered: