Skip to content

Commit

Permalink
Fixes update_command typo #444
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Jul 28, 2024
1 parent d5cac98 commit 8ea8569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"type": "toggle",
"active": true,
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'",
"update_command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
"update-command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
}
]
}
Expand Down

0 comments on commit 8ea8569

Please sign in to comment.