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
|
||||
Fill(String),
|
||||
/// Indicoates that a plugin is finished with its queries
|
||||
/// Indicates that a plugin is finished with its queries
|
||||
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) {
|
||||
let _ = tokio::process::Command::new("xdg-open")
|
||||
.arg(file)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'
|
||||
'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'
|
||||
'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'
|
||||
'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'
|
||||
'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue