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