diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-25 23:51:19 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-25 23:51:19 +0200 |
| commit | 5f38deafb7160fc64ef033e0dfbf7ba3979a6aff (patch) | |
| tree | 68dc07dfd9981ee6ac06a8f5f3fd8573ba779c3f /README.md | |
| parent | 7a4b9bdaeb7cbba64a5fc06a4e7019b7a47cfffe (diff) | |
| parent | 208fedba03a81092affe1d11daefcc1298578552 (diff) | |
| download | sway-launcher-desktop-5f38deafb7160fc64ef033e0dfbf7ba3979a6aff.tar.gz sway-launcher-desktop-5f38deafb7160fc64ef033e0dfbf7ba3979a6aff.zip | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,6 +20,9 @@ Make sure you have `fzf` installed and download this repository Configure it in Sway like this: ``` for_window [class="URxvt" instance="launcher"] floating enable, border pixel 10, sticky enable -set $menu exec urxvt -geometry 55x18 -name launcher -e /path/to/repo/sway-launcher-desktop.sh +set $menu exec urxvt -geometry 55x18 -name launcher -e env TERMINAL_COMMAND="urxvt -e" /path/to/repo/sway-launcher-desktop.sh 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 `termine -e` |
