diff options
| -rw-r--r-- | i3/config | 5 | ||||
| -rw-r--r-- | scripts/program_starter.sh | 8 |
2 files changed, 12 insertions, 1 deletions
@@ -40,12 +40,15 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec dmenu_run +# bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop +# programm starter +bindsym $mod+d exec bash ~/.dotfiles/scripts/program_starter.sh + # change focus bindsym $mod+$left focus left bindsym $mod+$down focus down diff --git a/scripts/program_starter.sh b/scripts/program_starter.sh new file mode 100644 index 0000000..fa4f79a --- /dev/null +++ b/scripts/program_starter.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if type rofi &>/dev/null +then + exec rofi -show run +else + exec dmenu_run +fi |
