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
I am trying to create menu that change settings in theme.nss, for example:
from theme.name="auto" to theme.name="modern"
from theme.border.size=1 to theme.border.size=15
Right now is possible with power-shell, but it is too messy:
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
-
Can u build some simple function to read and write ini files:
ini.exists=('Key') -> boolean
ini.get('Key') -> Value
ini.set(('Key','Value')
ini.set(('Key','Value', reload=true) -> ini.set(('Key','Value') & app.reload
ini.delete('Key')
ini.delete('Key','Value', true) -> ini.delete(('Key','Value') & app.reload
I am trying to create menu that change settings in theme.nss, for example:
from theme.name="auto" to theme.name="modern"
from theme.border.size=1 to theme.border.size=15
Right now is possible with power-shell, but it is too messy:
(Get-Content 'theme.nss') | ForEach-Object {
$_ -replace 'theme.name="auto"', 'theme.name="modern"'
} | Set-Content 'theme.nss'
Beta Was this translation helpful? Give feedback.
All reactions