mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
Compare commits
2 commits
a012d5b804
...
2b9ac80390
Author | SHA1 | Date | |
---|---|---|---|
2b9ac80390 | |||
dc1c532cc4 |
7 changed files with 19 additions and 19 deletions
|
@ -4,7 +4,7 @@ if [ $status -eq 0 ]
|
|||
log-t "Creating" "Telegram" "directory..."
|
||||
command mkdir --parents "Telegram"
|
||||
log-d "Processing" "$argv[1]" "for Telegram use..."
|
||||
command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1]"
|
||||
command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1].webp"
|
||||
log-t "Done! Emoji added to the" "Telegram" "directory!"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-e
|
|||
end
|
||||
|
||||
set_color red
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brred
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color red
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -5,17 +5,17 @@ function log-f
|
|||
|
||||
set_color --background red
|
||||
set_color brwhite
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --background brred
|
||||
set_color --bold brwhite
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --background red
|
||||
set_color brwhite
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-i
|
|||
end
|
||||
|
||||
set_color cyan
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brcyan
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color cyan
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-s
|
|||
end
|
||||
|
||||
set_color green
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brgreen
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color green
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-t
|
|||
end
|
||||
|
||||
set_color purple
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold brpurple
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color purple
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
|
@ -4,15 +4,15 @@ function log-w
|
|||
end
|
||||
|
||||
set_color yellow
|
||||
echo -n -- "$argv[1] "
|
||||
echo -n -- "$argv[1] " 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color --bold bryellow
|
||||
echo -n -- "$argv[2]"
|
||||
echo -n -- "$argv[2]" 1>&2
|
||||
set_color reset
|
||||
|
||||
set_color yellow
|
||||
echo -n -- " $argv[3]"
|
||||
echo -n -- " $argv[3]" 1>&2
|
||||
echo
|
||||
set_color reset
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue