134 Commits (d1051685fa3f8514ff367f77bccda14be7f2a9cd)

Author SHA1 Message Date
Shinyzenith a9e66360a9
[refactor] Do not hardcode executable path, use std::env::current_exe() instead
2 years ago
Shinyzenith f77fb6049b
[update] Remove clap from server.rs
2 years ago
Shinyzenith 97b8af219f
[update] log on removal of socket file.
2 years ago
Shinyzenith ab914f5b9c
[refactor] Add temporary to hotedit the shell command for development testing.
2 years ago
Shinyzenith 5d92de385a
[feature] Implement UNIX domain socket IPC between swhks ( server ) & swhkd ( daemon )
2 years ago
Shinyzenith c15b5b153e
[refactor] Setup build instructions for client to recieve shell commands.
3 years ago
Shinyzenith ac6c5d5fc6
[refactor] Remove preceeding "Note:" from root warning.
3 years ago
Shinyzenith 620782f1ba
[refactor] Default to /etc/swhkd/swhkdrc instead of /home/USER/.config/swhkd/swhkdrc.
3 years ago
Shinyzenith ced2ea3c95
[refactor] flag creation function, xdg checker function, allow swhkd to run as root
3 years ago
Shinyzenith f2a1e5b862
[refactor] Append valid devices to a vector and check for 0 devices
3 years ago
Shinyzenith c8dcd0dd0c
[refactor] Replace glob with evdev::enumerate.
3 years ago
Shinyzenith 6ccce2792c
[refactor] concise import
3 years ago
Shinyzenith 824d36a7f9
[refactor] concise format
3 years ago
Shinyzenith a9d6966ad5
[refactor] Utilize cargo pkg authors
3 years ago
Shinyzenith df2f110208
[refactor] use Path::new PathBuf instead of pushstr
3 years ago
Shinyzenith dbad34c65f
[refactor] turn permission checks into a function main.rs
3 years ago
Shinyzenith fc70c44684
[feature] config file path detection with xdg base directory variables
3 years ago
Shinyzenith c774f6b3f8
move input group permission check to separate function
3 years ago
Shinyzenith c44b634cc3
logging added, permission checks added, basic error handling
3 years ago
Shinyzenith 328c310f16
add tokio as dependency for event scheduling
3 years ago
Shinyzenith 8bbd34c4df
Check all event devices for KEY_ENTER presence.
3 years ago
Shinyzenith ffd8b998b2
remove all python code
3 years ago
Shinyzenith 6ce03e1bc3
Rolling back a commit.
3 years ago
ckyiu 704d1f1e47 Add requirements.txt and clean up configuration related stuff
3 years ago
Shinyzenith 13d3e26725
stdout to devnull
3 years ago
Shinyzenith 069230e0be
Fixed running swhkd as sudo and added exception for no input group
3 years ago
Shinyzenith 421728d19d
no keyboard check
3 years ago
Shinyzenith fc3454b94f
typo fix
3 years ago
Shinyzenith f7da66a1a7
added stderr for error messages, config parser, sample configuration file. STILL A WIP. THE PROGRAM WILL JUST SPIT OUT THE EVENTS AND NOT ACTUALLY USE YOUR DEFINED EVENTS.
3 years ago
Shinyzenith 41a17d9b49
remove EV_MSC event
3 years ago
Shinyzenith 12e50824b4
Useless import
3 years ago
Shinyzenith 35455635c1
signal handler fix and some minor changes
3 years ago
Shinyzenith 1eca3b18e0
readme update
3 years ago
Shinyzenith f58f07c5be
working input detection
3 years ago