summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config2
-rwxr-xr-x.config/i3/custom/screenshot4
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 06df6b6..e4f41e5 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -16,7 +16,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+Shift+s exec --no-startup-id ~/.config/i3/custom/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/.config/i3/custom/screenshot b/.config/i3/custom/screenshot
new file mode 100755
index 0000000..a3bae84
--- /dev/null
+++ b/.config/i3/custom/screenshot
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sleep 0.2
+scrot -sfe 'mv $f ~/Pictures/screenshots/'