From f3ca1097ac424cd6d779ca479805e52bc8b096a1 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 24 Dec 2014 11:00:19 +0100 Subject: Autostart `vimwiki` in `i3wm` scratchpad * added appropriate keybinding to show / hide the `vimwiki` instance --- i3wm/.i3/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'i3wm/.i3/config') diff --git a/i3wm/.i3/config b/i3wm/.i3/config index 3804a84..34c1007 100644 --- a/i3wm/.i3/config +++ b/i3wm/.i3/config @@ -106,8 +106,6 @@ client.unfocused #222222 #222222 #999999 client.urgent #a5a5a5 #a5a5a5 #2e3436 client.background #161616 -for_window [class="^.*"] border pixel 2 - bindsym $mod+Return exec urxvtc bindsym $alt+Return exec gvim @@ -119,8 +117,14 @@ bindsym Control+Mod1+l exec --no-startup-id i3lock -c 000000 bindsym Control+Mod1+m exec --no-startup-id ~/.screenlayout/mobile.sh bindsym Control+Mod1+d exec --no-startup-id ~/.screenlayout/docked.sh +bindsym $mod+n [title="^.*\.wiki \(~\/note\).*$"] scratchpad show + +for_window [class="^.*"] border pixel 2 +for_window [title="^.*\.wiki \(~\/note\).*$"] floating enable; border pixel 5; move to scratchpad + exec --no-startup-id export $(gnome-keyring-daemon) exec --no-startup-id urxvtd exec --no-startup-id twmnd exec --no-startup-id nm-applet exec --no-startup-id feh --bg-center ~/.background.jpg +exec --no-startup-id gvim ~/note/index.wiki -- cgit v1.2.3