aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-08 01:44:48 +0300
committereug-vs <eug-vs@keemail.me>2020-12-08 01:44:48 +0300
commit8115ca3e6e1c5f4d09019a798d6d75aad3413825 (patch)
treefd0a8f4a3b617cadc4688e1a08abfbfe803dfa6b /.config/i3/config
parent10f5a135bcf85446cddf282abf30010c74320fd8 (diff)
downloaddotfiles-8115ca3e6e1c5f4d09019a798d6d75aad3413825.tar.gz
refactor: move screenshot to separate script
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/i3/config b/.config/i3/config
index c06ea59..16aa2c6 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -21,8 +21,8 @@ bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ t
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
# Screenshot via ImageMagick
-bindsym --release Shift+Print exec --no-startup-id import screenshot.png && xclip -selection clipboard -target image/png -i < screenshot.png && rm screenshot.png
-bindsym --release Print exec --no-startup-id import -window root screenshot.png && xclip -selection clipboard -target image/png -i < screenshot.png && rm screenshot.png
+bindsym --release Shift+Print exec --no-startup-id screenshot.sh
+bindsym --release Print exec --no-startup-id screenshot.sh -window root
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod