readded sshot

This commit is contained in:
Andre Henriques 2023-06-10 17:27:20 +01:00
parent 9f77ae110a
commit 51d476f6ff

View File

@ -68,6 +68,10 @@ function configGitUni
git config --local user.name "Goncalves Henriques, Andre (UG - Computer Science)" git config --local user.name "Goncalves Henriques, Andre (UG - Computer Science)"
end end
function pickColor
grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
end
# grim and slurp # grim and slurp
function sshot function sshot
grim -g "$(slurp)" - | wl-copy grim -g "$(slurp)" - | wl-copy