From 009b4a3e0d9ca61086ce0dc0105f305203c222fb Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 1 Oct 2015 16:50:11 -0400 Subject: [PATCH] Add a "launch" mode for quickly starting programs --- .config/i3/config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index e78096c..ba5326f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -37,6 +37,16 @@ bindsym $mod+space exec --no-startup-id j4-dmenu-desktop --dmenu="rofi -dmenu -i bindsym $mod+d exec --no-startup-id rofi -show run -bg '#222222' -fg '#cccccc' -fg-active '#ffffff' # start rofi bindsym $mod+p exec --no-startup-id ~/.bin/killPanel.sh +mode "launch" { + bindsym e exec /home/adam/.bin/emacsclient-tmpFix; mode "default" + bindsym f exec firefox; mode "default" + bindsym t exec thunar; mode "default" + bindsym $mod+g mode "default" + bindsym Escape mode "default" + bindsym Return mode "default" +} +bindsym $mod+x mode "launch" + # Workspace Mangement bindsym $mod+t exec ~/.config/i3/get_workspace_options.py | dmenu -i -dim 0.7 | ~/.config/i3/go_to_workspace.py bindsym $mod+Shift+t exec ~/.config/i3/get_workspace_options.py | dmenu -i -dim 0.7 | ~/.config/i3/move_to_workspace.py