spotlighttui
v1.0.4
Published
run actions conveniently.
Maintainers
Readme
spotlighttui
spotlighttui is a tui inspired by macos' spotlight functionality.
using a drop down terminal like yakuake will enable you to select an action you want to run conveniently.
install via npm
npm install --global spotlighttuikeys
pressing any key in the alphabet or number would activate the search function and disabling
action selection with the left and right arrow keys.
using the left and right arrow keys (when not in search mode) or up and down keys would
change your action selection. pressing enter would run the script.
and finally, escape or control-c to leave the program.
configuration
create a config.json file in ~/.config/spotlighttui and place these following values:
shortcutsshould be an array withshortcutobjects
a shortcut object has the following attributes:
pinneddetermines the piority of the shortcut (pinned shortcuts get displayed first)namedetermines the label of the element when in the in the tuitagsis a string with words that help the search of the shortcutforegroundis a string with the color you want to use as the foreground of the elementbackgroundis a string with the color you want to use as the background of the elementexecuteis an array with lines of bash code you want the shortcut to execute
