04449e1477d5e571c4bd6984ee6efd06beeef8f5
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Map shift-print to grimshot
Diff
1diff --git a/dot_config/sway/config.tmpl b/dot_config/sway/config.tmpl
2index 05dfeafe19afd8d6163cc676c3d60c1808873649..6895703c17a863cb56c623c182a939e03e781e64 100644
3--- a/dot_config/sway/config.tmpl
4+++ b/dot_config/sway/config.tmpl
5@@ -170,7 +170,7 @@ bindsym XF86AudioPrev exec "playerctl-wrapper previous"
6
7 # Screenshot controls
8 bindsym Print exec "pyazo --no-save"
9-bindsym Shift+Print exec "maim /home/pavle/pictures/screenshot.png"
10+bindsym Shift+Print exec "grimshot save active /home/pavle/pictures/screenshot.png"
11 bindsym $mod+Print exec "pyazo -d"
12
13 # Additional bindings
14diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl
15index f8a7334e8f58ccdec14f59eca7aa0fd4fcf19c97..2cc4f109d3ea1981cf0332170ec28ecb2a09bfc3 100644
16--- a/dot_zprofile.tmpl
17+++ b/dot_zprofile.tmpl
18@@ -24,7 +24,6 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
19 if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]]; then
20 export MOZ_ENABLE_WAYLAND="1"
21 export XDG_SESSION_TYPE=wayland
22- export XDG_CURRENT_DESKTOP=sway
23 export QT_QPA_PLATFORM=wayland-egl
24 fi
25