diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-02-07 00:06:18 +0100 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-02-07 00:06:18 +0100 |
| commit | 2f0c53eac739a2a6dbf574cebb543c932f7dc162 (patch) | |
| tree | c659c5442e01f5aaa61c85e6a5a8570ac1f5269b | |
| parent | aefd5ae9bc87a56081462ee56c50f5ba722d26e7 (diff) | |
| download | sway-launcher-desktop-2f0c53eac739a2a6dbf574cebb543c932f7dc162.tar.gz sway-launcher-desktop-2f0c53eac739a2a6dbf574cebb543c932f7dc162.zip | |
Add note about autostart feature in the README
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,7 @@ Despite its name, it does not (read: no longer) depend on the Sway window manage - History support which will highlight recently used entries. (Inspried by [this nice script which inspired me to create my own](https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher)) - Colored output and glyphs for the different entry types - Entries are lazily piped into fzf eliminating any lag during startup +- Optional support for the XDG Autostart specification ## Installation @@ -33,6 +34,9 @@ bindsym $mod+d exec $menu ### Setup a Terminal command Some of your desktop entries will probably be TUI programs that expect to be launched in a new terminal window. Those entries have the `Terminal=true` flag set and you need to tell the launcher which terminal emulator to use. Pass the `TERMINAL_COMMAND` environment variable with your terminal startup command to the script to use your preferred terminal emulator. The script will default to `urxvt -e` +### Configure application autostart +If you want to be able to autostart applications , this script provides a function to handle them for you. Simply run `sway-launcher-desktop.sh autostart` in your `.bashrc`, at the end of your i3/sway config, or wherever else you deem fit. + ## Extending the launcher In addition to desktop application entries and binaries, you can extend `sway-launcher-desktop` with custom item providers. |
