aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-28 10:11:50 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-28 10:11:50 +0200
commit25303c9f0d24db115523e09220ed337a135bd14e (patch)
tree18531f5c643d593555a54f9d3203dd869d6349a6 /config
parent40b9b7b1127d6b752b28f909fe3ea7ee4f29f28a (diff)
downloadmyconfigs-25303c9f0d24db115523e09220ed337a135bd14e.tar.gz
myconfigs-25303c9f0d24db115523e09220ed337a135bd14e.tar.bz2
myconfigs-25303c9f0d24db115523e09220ed337a135bd14e.zip
i3: add xshot
Diffstat (limited to 'config')
-rw-r--r--config/i3/config12
1 files changed, 12 insertions, 0 deletions
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