eshep

joined 2 years ago
[–] eshep@social.trom.tf 1 points 1 week ago

@Twakyr YES, I completely forgot about that, thank you @nyan! Definitely install equery, this is an invaluable tool.

[–] eshep@social.trom.tf 3 points 1 week ago

@Twakyr I've been a hardcore gentoo user/fan for 20+ years, I thought I'd never be able to use anything else till I started playing with Nix this year. The granular configurability of each individual package has yet been unmatched for me in any other distro till Nix. For #gentoo though, I'd highly recommend taking great care in tailoring your /etc/portage/make.conf, setup /etc/portage/repos.conf/gentoo.conf with sync-type = git, and use /etc/portage/package.{use,mask,unmask,accept_keywords} as directories for individual packages. I tend to keep a /etc/portage/package.mask/failed file for upgrade blockages fer me to unfuck after a emerge -avuDUN @world succeeds.

[–] eshep@social.trom.tf 1 points 2 months ago

@communist @null_dot Hyprland has the screenshotting functionality builtin.

hyprctl dispatch capture window

[–] eshep@social.trom.tf 1 points 2 months ago

@PiraHxCx
For viewing, yes. The command is called display.

[–] eshep@social.trom.tf 7 points 2 months ago (1 children)

@BCsven
This is so much less helpful than just posting "I don't know" or "beats me".

First, if you're gonna post code, put it in a code block. And nevermind you not knowing if the ""code is good"", it doesn't even adhere to the question that was asked; the two programs you suggested are not even wayland compatible tools.
@null_dot

[–] eshep@social.trom.tf 2 points 2 months ago (1 children)

@null_dot
Haven't ever done this in wayland, but in X, I always used to xdotool to grab the title of the active window. I'd guess you could do the same using one of the wayland alternatives like ydotool, wlrctl, dotool, or whatever else is out there. And something like grim to grab an image of the window.

[–] eshep@social.trom.tf 1 points 2 months ago* (last edited 2 months ago) (3 children)

@PiraHxCx Unless something new has come along to beat it, #ImageMagick is prolly the best tool there is. It ain't perty, but it does perty much everything you might ever need.
https://imagemagick.org/

[–] eshep@social.trom.tf 1 points 2 months ago

@mikrotik how much better yer network runnin with all them perty cable ties? 😆

I kinda like the security my floor-spaghetti provides 😉

[–] eshep@social.trom.tf 0 points 8 months ago

@hexa @dontblink Thank you! Didn't notice I grabbed the wrong bookmark.

[–] eshep@social.trom.tf 1 points 8 months ago (1 children)

@dontblink @Max_P I retract my "ideal" statement; this is the way to do it.

[–] eshep@social.trom.tf 2 points 8 months ago (3 children)

@dontblink I'd think #NixOS would be ideal for this task. As for hardware, any of the SBCs listed on their ARM page should do.

[–] eshep@social.trom.tf 2 points 9 months ago

@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
view more: next ›