summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-05 22:14:10 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-05 22:14:10 +0200
commit0eaa2cb10e9546d554fb5829a38cac2a49da50c8 (patch)
treef6b4aa1ea4a55bbffc2d4f7b537dc2fad469a77c
parentf1ccb62b98b21e97c7524642ee2be1a5c2e5dec4 (diff)
Added a snipping tool keybind
-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