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
@dayiso gives 2023-01-30 and @dayde gives 30.01.2023
but this is hardcoded and not the current date!
To fix this I scheduled a batch file to run each day to update the date
( runs on windows with german date format in the same folder as kanata.kbd)
powershell was very laggy before I used -NoProfile (cmd-output-keys powershell.exe -NoProfile -Command "echo '(' ((Get-Date -Format 'yyyy-MM-dd').toCharArray() -join ' ') ')'")
many windows user may have bash installed already by means of git and it works pretty well. (cmd-output-keys bash -c "date +'(%F)' | sed 's/./& /g'")
Discussed in #275
Originally posted by gerhard-h January 27, 2023
Here is my solution (quite cumbersome)
it starts with this in my .kbd file:
@dayiso
gives 2023-01-30 and@dayde
gives 30.01.2023but this is hardcoded and not the current date!
To fix this I scheduled a batch file to run each day to update the date
( runs on windows with german date format in the same folder as kanata.kbd)
Finally if you don't if the computer is not restarted I have to use live reload key
lrld
to tell kananta to update its config.Is there an easier way?
The text was updated successfully, but these errors were encountered: