aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2019-10-25 23:04:49 +0200
committerGitHub <noreply@github.com>2019-10-25 23:04:49 +0200
commit6a0b2e67f2651c27a9e8d74c911d239f7919c926 (patch)
treeea74b5217fa9beee972cfe372b1b4e7a465160e9 /README.md
parent96d74ad666625de100c28d9d5be37fe669db3981 (diff)
downloadsway-launcher-desktop-6a0b2e67f2651c27a9e8d74c911d239f7919c926.tar.gz
sway-launcher-desktop-6a0b2e67f2651c27a9e8d74c911d239f7919c926.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7dc6ae2..9a16da9 100644
--- a/README.md
+++ b/README.md
@@ -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 'TERMINAL_COMMAND="urxvt -c" /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`