summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3/config1
-rwxr-xr-xbin/screenshot4
2 files changed, 5 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 61fe448..16297a6 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -18,6 +18,7 @@ bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
+bindsym $mod+Shift+s exec --no-startup-id screenshot
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
diff --git a/bin/screenshot b/bin/screenshot
new file mode 100755
index 0000000..2b2fc5b
--- /dev/null
+++ b/bin/screenshot
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sleep 0.2
+scrot -sf