setstatus - bakkeby/dusk GitHub Wiki
Function | Expected argument | Default keybinding |
---|---|---|
setstatus | <int> <text> | N/A |
The setstatus
function is used externally to set custom status information on the bar.
It is a special case that requires more than one parameter, one indicating which status to update and a second argument for the text.
This function can not be used internally within the window manager and as such there are no default keybindings.
External commands:
$ duskc run_command setstatus 0 "hello world" # sets status 0 to "hello world"
$ duskc run_command setstatus 9 "$(date +%T)" # sets status 9 to the current time
Back to Functions > Bar > Status Module.