Skip to content

Commit

Permalink
chore: add typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Feb 10, 2025
1 parent f0e142c commit 0854fa8
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# yamllint disable rule:line-length
name: check_typos

on: # yamllint disable-line rule:truthy
push:
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: typos-action
uses: crate-ci/[email protected]
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
datas = "datas"
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ configure_file(
)

custom_target(
'xdg-deskop-portal-luminous',
'xdg-desktop-portal-luminous',
output: 'xdg-desktop-portal-luminous',
build_by_default: true,
install: true,
Expand Down
2 changes: 1 addition & 1 deletion src/access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl AccessBackend {
&self,
_request_handle: ObjectPath<'_>,
_app_id: String,
_parrent_window: String,
_parent_window: String,
title: String,
sub_title: String,
_body: String,
Expand Down
2 changes: 1 addition & 1 deletion src/pipewirethread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fn start_stream(
}
}
StreamState::Error(e) => {
tracing::error!("Errror! : {e}");
tracing::error!("Error! : {e}");
}
_ => {}
}
Expand Down
2 changes: 1 addition & 1 deletion src/remotedesktop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ impl RemoteDesktopBackend {
Ok(())
}

async fn notify_pointer_axix_discrate(
async fn notify_pointer_axis_discrate(
&self,
session_handle: ObjectPath<'_>,
_options: HashMap<String, Value<'_>>,
Expand Down
2 changes: 1 addition & 1 deletion src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl SettingsBackend {
.try_into()
.unwrap());
}
Err(zbus::fdo::Error::Failed("No such namespace".to_string()))
Err(zbus::fdo::Error::Failed("No such key".to_string()))
}

async fn read_all(
Expand Down

0 comments on commit 0854fa8

Please sign in to comment.