Compare commits
2 Commits
927c79741c
...
fc20d73c2f
Author | SHA1 | Date | |
---|---|---|---|
fc20d73c2f | |||
e9dc68bb14 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
.vscode
|
24
.vscode/tasks.json
vendored
Normal file
24
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start server",
|
||||
"type": "shell",
|
||||
"command": "hugo server",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "New draft",
|
||||
"type": "shell",
|
||||
"command": "hugo new posts/${input:slug}/index.md",
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "slug",
|
||||
"type": "promptString",
|
||||
"description": "Post slug",
|
||||
}
|
||||
]
|
||||
}
|
@ -323,13 +323,13 @@ echo "multimote ALL=(ALL) NOPASSWD: /usr/local/bin/set-display-text" | sudo tee
|
||||
|
||||
![kiauh1](kiauh1.png)
|
||||
|
||||
И выбрать там G-Code Shell Command
|
||||
И выбрать там G-Code Shell Command:
|
||||
|
||||
![kiauh2](kiauh2.png)
|
||||
|
||||
Теперь нужно добавить в printer.cfg следующее:
|
||||
|
||||
```
|
||||
```yaml
|
||||
# Определить команду для вывода на дисплей
|
||||
# Важно! Для команды sudo set-display-text должен быть отключен ввод пароля (см. sudo NOPASSWD)
|
||||
[gcode_shell_command set_display_text]
|
||||
|
Loading…
Reference in New Issue
Block a user