From 2f0c53eac739a2a6dbf574cebb543c932f7dc162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Fri, 7 Feb 2020 00:06:18 +0100 Subject: Add note about autostart feature in the README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 533a9ee..84d716c 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3