aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-12-24 11:00:19 +0100
committerAdrian Kummerlaender2014-12-24 11:00:19 +0100
commitf3ca1097ac424cd6d779ca479805e52bc8b096a1 (patch)
tree66d8b810836ceaa19e305f2cfe1f5fce03f09054
parentbe1e51bdef5970f3e8b040330ef1b9143391a054 (diff)
downloaddotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar.gz
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar.bz2
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar.lz
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar.xz
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.tar.zst
dotfiles-f3ca1097ac424cd6d779ca479805e52bc8b096a1.zip
Autostart `vimwiki` in `i3wm` scratchpad
* added appropriate keybinding to show / hide the `vimwiki` instance
-rw-r--r--i3wm/.i3/config8
1 files changed, 6 insertions, 2 deletions
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