General love of all things linux and the choice it provides. I prefer to hang my hat in gentoo with e16 but do like to keep up with other stuff.

  • 0 Posts
  • 71 Comments
Joined 2 years ago
cake
Cake day: June 28th, 2023

help-circle
  • @brownmustardminion I think you’d be fine still usin swappy, just use it in a way that does what you need. I use maim piped to xclip as below, then I tie each of those cases to [PrScr] with different modkeys.

    case "${1}" in
        area)     maim --hidecursor -s |tee $HOME/Pictures/Screenshots/$(date +%y%m%d-%H%M%S).png |xclip -selection clipboard -t image/png
        ;;
        savew)    maim --hidecursor -i $(xdotool getactivewindow) |tee $HOME/Pictures/Screenshots/$(date +%y%m%d-%H%M%S).png |xclip -selection clipboard -t image/png
        ;;
        savef)    maim --hidecursor |tee $HOME/Pictures/Screenshots/$(date +%y%m%d-%H%M%S).png |xclip -selection clipboard -t image/png
        ;;
    esac