Vendor the command set the menu and shell depend on
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# blob:summary=Toggle bar visibility without killing the Blob shell
|
||||
# blob:args=[toggle|on|off]
|
||||
# blob:examples=blob toggle bar | blob toggle bar off | blob toggle bar on
|
||||
|
||||
blob-toggle bar-off "${1:-toggle}"
|
||||
|
||||
# The shell's watch on the toggles directory can miss flag changes that land in
|
||||
# quick succession, stranding the bar off screen until the shell restarts.
|
||||
# Nudge the bar to re-read the flag; quiet best-effort so the toggle still
|
||||
# works when the shell is not up.
|
||||
blob-shell -q blob.bar syncHidden
|
||||
Reference in New Issue
Block a user