diff --git a/CHANGELOG b/CHANGELOG index 379630f..be92c4e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Version 2.3 +https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.2 +-------------------------------------------------------- +Screenshots: Add swappy + Version 2.2 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.2 -------------------------------------------------------- diff --git a/scripts/grim.sh b/scripts/grim.sh index 7f98d5e..15ed3da 100755 --- a/scripts/grim.sh +++ b/scripts/grim.sh @@ -21,12 +21,14 @@ choice=$(echo -e "$options" | rofi -dmenu -i -no-show-icons -l 4 -width 30 -p "T case $choice in $option2) - grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshots/$(date +'%s_grim.png') + grim -g "$(slurp)" - | swappy -f - + # grim -g "$(slurp)" $(xdg-user-dir PICTURES)/screenshots/$(date +'%s_grim.png') notify-send "Screenshot created" "Mode: Selected area" ;; $option3) sleep 3 - grim $(xdg-user-dir PICTURES)/screenshots/$(date +'%s_grim.png') + grim - | swappy -f - + # grim $(xdg-user-dir PICTURES)/screenshots/$(date +'%s_grim.png') notify-send "Screenshot created" "Mode: Fullscreen" ;; esac