From 0eaa2cb10e9546d554fb5829a38cac2a49da50c8 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 5 Oct 2021 22:14:10 +0200 Subject: Added a snipping tool keybind --- .config/i3/config | 1 + bin/screenshot | 4 ++++ 2 files changed, 5 insertions(+) create mode 100755 bin/screenshot 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 -- cgit v1.2.3-70-g09d2