Fixed typos
This commit is contained in:
parent
cfadd69475
commit
1977068817
@ -13,7 +13,7 @@ show_notification() {
|
||||
|
||||
countdown() {
|
||||
for sec in $(seq "$1" -1 1); do
|
||||
dunstify -t 1000 --replace=699 -i ~/.local/misc/share/assets/screenshot.svg "Taking shot in : $sec"
|
||||
dunstify -t 1000 --replace=699 -i ~/.local/misc/share/assets/screenshot.svg "Taking screenshot in : $sec"
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
@ -26,18 +26,18 @@ take_screenshot() {
|
||||
|
||||
case $1 in
|
||||
--now)
|
||||
take_screenshot "Screensot saved and copied to clipboard";;
|
||||
take_screenshot "Screenshot saved and copied to clipboard";;
|
||||
--in10)
|
||||
countdown 10
|
||||
take_screenshot "Scheduled capture taken after 10 seconds and copied to clipboard";;
|
||||
take_screenshot "Scheduled capture taken and copied to clipboard";;
|
||||
--sel)
|
||||
maim -u -s "$filename"
|
||||
xclip -selection clipboard -t image/png -i "$filename"
|
||||
show_notification "$filename" "Screenshot of selected area saved and copied to clipboard";;
|
||||
show_notification "$filename" "Screenshot of the selected area saved and copied to clipboard";;
|
||||
--active)
|
||||
maim -u -i "$(xdotool getactivewindow)" "$filename"
|
||||
xclip -selection clipboard -t image/png -i "$filename"
|
||||
show_notification "$filename" "Screenshot of active window saved and copied to clipboard";;
|
||||
show_notification "$filename" "Screenshot of the active window saved and copied to clipboard";;
|
||||
*)
|
||||
take_screenshot "Screensot saved and copied to clipboard";;
|
||||
take_screenshot "Screenshot saved and copied to clipboard";;
|
||||
esac
|
@ -41,7 +41,7 @@ case "$1" in
|
||||
--help|*)echo -e "Updates [options]
|
||||
|
||||
Options:
|
||||
--get-updates Get the numer of updates available.
|
||||
--print-updates Print the available package to updates.
|
||||
--update-system Update your system including AUR.\n"
|
||||
--get-updates Get the number of updates available.
|
||||
--print-updates Print the available packages to update.
|
||||
--update-system Update all pacman and AUR packages.\n"
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user