From 25303c9f0d24db115523e09220ed337a135bd14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 28 Sep 2018 10:11:50 +0200 Subject: i3: add xshot --- config/i3/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'config') diff --git a/config/i3/config b/config/i3/config index 82aa142..db6a1ca 100644 --- a/config/i3/config +++ b/config/i3/config @@ -130,6 +130,18 @@ mode "$displays" { } bindsym $mod+Shift+w mode "$displays" +set $xshot Xshot: (w)indow or (d)desktop +mode "$xshot" { + # Note: xshot window is for some reason broken. + # It won't run when not spawned in terminal + bindsym w exec xshot window, mode "default" + bindsym d exec --no-startup-id xshot desktop, mode "default" + + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+Shift+s mode "$xshot" + # resize window mode "resize" { bindsym h resize shrink width 10 px or 10 ppt -- cgit v1.2.3