From 0febac5c5985df1f977c58f928d7665c73e47a92 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 3 Aug 2023 09:05:40 +0200 Subject: [PATCH] chore(typos): fix typos --- README.md | 2 +- plugins/src/lib.rs | 2 +- scripts/system76-power/graphics-compute.sh | 4 ++-- scripts/system76-power/graphics-discrete.sh | 4 ++-- scripts/system76-power/graphics-hybrid.sh | 4 ++-- scripts/system76-power/graphics-integrated.sh | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b229848..d18c4fa 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ pub enum PluginResponse { }, /// Update the text in the launcher Fill(String), - /// Indicoates that a plugin is finished with its queries + /// Indicates that a plugin is finished with its queries Finished, } ``` diff --git a/plugins/src/lib.rs b/plugins/src/lib.rs index b2f5977..b29cc09 100644 --- a/plugins/src/lib.rs +++ b/plugins/src/lib.rs @@ -46,7 +46,7 @@ pub fn mime_from_path(path: &Path) -> Cow<'static, str> { } } -/// Launches a file with its default appplication via `xdg-open`. +/// Launches a file with its default application via `xdg-open`. pub fn xdg_open>(file: S) { let _ = tokio::process::Command::new("xdg-open") .arg(file) diff --git a/scripts/system76-power/graphics-compute.sh b/scripts/system76-power/graphics-compute.sh index ef415d1..e99f86b 100644 --- a/scripts/system76-power/graphics-compute.sh +++ b/scripts/system76-power/graphics-compute.sh @@ -7,10 +7,10 @@ gnome-terminal -- sh -c ' if system76-power graphics compute; then - echo "Succesfully switched. You may now reboot" + echo "Successfully switched. You may now reboot" else echo "Failed to switch\nPress key to exit" fi read x -' \ No newline at end of file +' diff --git a/scripts/system76-power/graphics-discrete.sh b/scripts/system76-power/graphics-discrete.sh index e58ee08..741c757 100644 --- a/scripts/system76-power/graphics-discrete.sh +++ b/scripts/system76-power/graphics-discrete.sh @@ -7,10 +7,10 @@ gnome-terminal -- sh -c ' if system76-power graphics nvidia; then - echo "Succesfully switched. You may now reboot" + echo "Successfully switched. You may now reboot" else echo "Failed to switch\nPress key to exit" fi read x -' \ No newline at end of file +' diff --git a/scripts/system76-power/graphics-hybrid.sh b/scripts/system76-power/graphics-hybrid.sh index 7c60928..43ac73f 100644 --- a/scripts/system76-power/graphics-hybrid.sh +++ b/scripts/system76-power/graphics-hybrid.sh @@ -7,10 +7,10 @@ gnome-terminal -- sh -c ' if system76-power graphics hybrid; then - echo "Succesfully switched. You may now reboot" + echo "Successfully switched. You may now reboot" else echo "Failed to switch\nPress key to exit" fi read x -' \ No newline at end of file +' diff --git a/scripts/system76-power/graphics-integrated.sh b/scripts/system76-power/graphics-integrated.sh index ba60b94..f311d9d 100644 --- a/scripts/system76-power/graphics-integrated.sh +++ b/scripts/system76-power/graphics-integrated.sh @@ -7,10 +7,10 @@ gnome-terminal -- sh -c ' if system76-power graphics integrated; then - echo "Succesfully switched. You may now reboot" + echo "Successfully switched. You may now reboot" else echo "Failed to switch\nPress key to exit" fi read x -' \ No newline at end of file +'