17 Commits (main)

Author SHA1 Message Date
Tait Hoyem f40385ae65 Attempt at working with optional keys
2 years ago
Shinyzenith c15b5b153e
[refactor] Setup build instructions for client to recieve shell commands.
2 years ago
Shinyzenith ac6c5d5fc6
[refactor] Remove preceeding "Note:" from root warning.
2 years ago
Shinyzenith 620782f1ba
[refactor] Default to /etc/swhkd/swhkdrc instead of /home/USER/.config/swhkd/swhkdrc.
2 years ago
Shinyzenith ced2ea3c95
[refactor] flag creation function, xdg checker function, allow swhkd to run as root
2 years ago
Shinyzenith f2a1e5b862
[refactor] Append valid devices to a vector and check for 0 devices
2 years ago
Shinyzenith c8dcd0dd0c
[refactor] Replace glob with evdev::enumerate.
2 years ago
Shinyzenith 6ccce2792c
[refactor] concise import
2 years ago
Shinyzenith 824d36a7f9
[refactor] concise format
2 years ago
Shinyzenith a9d6966ad5
[refactor] Utilize cargo pkg authors
2 years ago
Shinyzenith df2f110208
[refactor] use Path::new PathBuf instead of pushstr
2 years ago
Shinyzenith dbad34c65f
[refactor] turn permission checks into a function main.rs
2 years ago
Shinyzenith fc70c44684
[feature] config file path detection with xdg base directory variables
2 years ago
Shinyzenith c774f6b3f8
move input group permission check to separate function
2 years ago
Shinyzenith c44b634cc3
logging added, permission checks added, basic error handling
2 years ago
Shinyzenith 328c310f16
add tokio as dependency for event scheduling
2 years ago
Shinyzenith 8bbd34c4df
Check all event devices for KEY_ENTER presence.
2 years ago