Merge pull request #59 from dwnorm2/screenshot-fix

fix grimshot script filepath
This commit is contained in:
Johannes Kamprad
2024-05-11 13:49:44 +02:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -219,7 +219,7 @@ bindsym $mod+r mode "resize"
# #
# Screenshots # Screenshots
# #
bindsym print exec /usr/share/sway/scripts/grimshot --notify save output bindsym print exec /usr/share/sway-contrib/grimshot --notify save output
bindsym Shift+print exec ~/.config/sway/scripts/screenshot.sh bindsym Shift+print exec ~/.config/sway/scripts/screenshot.sh
# #
# Keybindings List # Keybindings List

View File

@@ -6,13 +6,13 @@ selected=$(printf '%s\n' $entries | wofi --style=$HOME/.config/wofi/style.widget
case $selected in case $selected in
active) active)
/usr/share/sway-contrib/scripts/grimshot --notify save active;; /usr/share/sway-contrib/grimshot --notify save active;;
screen) screen)
/usr/share/sway-contrib/scripts/grimshot --notify save screen;; /usr/share/sway-contrib/grimshot --notify save screen;;
output) output)
/usr/share/sway-contrib/scripts/grimshot --notify save output;; /usr/share/sway-contrib/grimshot --notify save output;;
area) area)
/usr/share/sway-contrib/scripts/grimshot --notify save area;; /usr/share/sway-contrib/grimshot --notify save area;;
window) window)
/usr/share/sway-contrib/scripts/grimshot --notify save window;; /usr/share/sway-contrib/grimshot --notify save window;;
esac esac