chore(typos): fix typos

This commit is contained in:
a-kenji 2023-08-03 09:05:40 +02:00 • committed by Michael Murphy
parent ce2ba21794
commit 0febac5c59
6 changed files with 10 additions and 10 deletions

View file

@ -167,7 +167,7 @@ pub enum PluginResponse {
}, },
/// Update the text in the launcher /// Update the text in the launcher
Fill(String), Fill(String),
/// Indicoates that a plugin is finished with its queries /// Indicates that a plugin is finished with its queries
Finished, Finished,
} }
``` ```

View file

@ -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<S: AsRef<OsStr>>(file: S) { pub fn xdg_open<S: AsRef<OsStr>>(file: S) {
let _ = tokio::process::Command::new("xdg-open") let _ = tokio::process::Command::new("xdg-open")
.arg(file) .arg(file)

View file

@ -7,10 +7,10 @@
gnome-terminal -- sh -c ' gnome-terminal -- sh -c '
if system76-power graphics compute; then if system76-power graphics compute; then
echo "Succesfully switched. You may now reboot" echo "Successfully switched. You may now reboot"
else else
echo "Failed to switch\nPress key to exit" echo "Failed to switch\nPress key to exit"
fi fi
read x read x
' '

View file

@ -7,10 +7,10 @@
gnome-terminal -- sh -c ' gnome-terminal -- sh -c '
if system76-power graphics nvidia; then if system76-power graphics nvidia; then
echo "Succesfully switched. You may now reboot" echo "Successfully switched. You may now reboot"
else else
echo "Failed to switch\nPress key to exit" echo "Failed to switch\nPress key to exit"
fi fi
read x read x
' '

View file

@ -7,10 +7,10 @@
gnome-terminal -- sh -c ' gnome-terminal -- sh -c '
if system76-power graphics hybrid; then if system76-power graphics hybrid; then
echo "Succesfully switched. You may now reboot" echo "Successfully switched. You may now reboot"
else else
echo "Failed to switch\nPress key to exit" echo "Failed to switch\nPress key to exit"
fi fi
read x read x
' '

View file

@ -7,10 +7,10 @@
gnome-terminal -- sh -c ' gnome-terminal -- sh -c '
if system76-power graphics integrated; then if system76-power graphics integrated; then
echo "Succesfully switched. You may now reboot" echo "Successfully switched. You may now reboot"
else else
echo "Failed to switch\nPress key to exit" echo "Failed to switch\nPress key to exit"
fi fi
read x read x
' '