chore(typos): fix typos
This commit is contained in:
parent
ce2ba21794
commit
0febac5c59
6 changed files with 10 additions and 10 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue