316 Commits (7c4b5458536d827912f283cdc2691cb9e13629c5)
 

Author SHA1 Message Date
Angelo Fallaria 62e20946de ci: add formatting checker
2 years ago
Angelo Fallaria 21b348d5fc chore: merge branch 'config' of github.com
2 years ago
Angelo Fallaria fdf93f6d8c
feat(config): add error when command doesn't start w/ whitespace
2 years ago
EdenQwQ b794b89c80 return the command line instead
2 years ago
EdenQwQ 84fd84cc65 error if command doesn't start with whitespace
2 years ago
Angelo Fallaria 3afb2fd470 ci: rename file to ci.yml and improve formatting
2 years ago
EdenQwQ 42d3c9da71 return the command line instead
2 years ago
Angelo Fallaria 0061107669 ci: add basic Rust CI
2 years ago
Eden 8b168b8845
Merge branch 'Shinyzenith:config' into config
2 years ago
EdenQwQ 2b81e33446 error if command doesn't start with whitespace
2 years ago
Angelo Fallaria a1872dab76
feat: Merge pull request #19 from EdenQwQ
2 years ago
EdenQwQ a7529c49f2 small improvement
2 years ago
Angelo Fallaria cffd1694d1 style: format config.rs using rust-analyzer
2 years ago
Angelo Fallaria b47904b3f3 test: add test for command with blank space
2 years ago
Angelo Fallaria c61e92a3a2 style: add comment in ParseError to explain u32 field
2 years ago
Angelo Fallaria 60c2539413 feat: add public load config function
2 years ago
Angelo Fallaria d26c4666ee test: edit tests to accomodate the edited functions
2 years ago
Angelo Fallaria 9b6d67f45e refactor: make parse_contents accept string, not PathBuf
2 years ago
Angelo Fallaria 0a76516178 test: rewrite basic hotkey tests
2 years ago
Angelo Fallaria d5a95a26ef refactor: refactor file loading into own function
2 years ago
Angelo Fallaria 0266ab2718 refactor: rename key_presses field in Hotkey to keysyms
2 years ago
Angelo Fallaria abe8987d79 refactor: rename Keybind to Hotkey
2 years ago
Angelo Fallaria 17d0f02baa test: add blank tests to fill in later
2 years ago
Angelo Fallaria d153526037 test: improve test for nonexistent file
2 years ago
Angelo Fallaria fd9524eaf5 style: remove some newlines in start of parse_config
2 years ago
Angelo Fallaria ebd9db0689 fix: remove unneeded PartialEq derive in enum
2 years ago
Angelo Fallaria 7103537e31 fix: return actual line number in error
2 years ago
Angelo Fallaria 8918b03f6e feat: add handling of empty command
2 years ago
Angelo Fallaria 5763be0a7b style: improve styling and comments of config parse func
2 years ago
Angelo Fallaria 503f174672 feat: add more error situations in the config parser
2 years ago
Angelo Fallaria c2c1a0285d feat(config): return error if keybind at last line
2 years ago
Angelo Fallaria 3f5c46cc48 style: remove unecessary TODO: comments
2 years ago
Angelo Fallaria a444e3eff1 style: compress the evdev keys vector
2 years ago
Angelo Fallaria 2d97b2dea3 feat(config): add all alphanumeric numbers
2 years ago
Angelo Fallaria 1a1ba9ffbd test(config): add 9 more unit tests
2 years ago
Angelo Fallaria 252ce9f2e4 feat: add basic config parser
2 years ago
Shinyzenith b5a7422c89
[delete] Remove all IPC code.
2 years ago
Shinyzenith 54234ac9e8
[refactor] Warn on failure to remove sock file
2 years ago
Shinyzenith f0d212b9b0
[Refactor] permission_check(), exit on fail.
2 years ago
Idlidev d39876e4ca
[update] move assets/ -> docs/assets/ and update INSTALL.md
2 years ago
Shinyzenith 2e1f6c2e9c
[delete] Remove man pages temporarily.
2 years ago
Shinyzenith 021291c6a3
[refactor] Warn on no perms.
2 years ago
Shinyzenith 5da3789981
[refactor] Remove redundant return statement
2 years ago
Shinyzenith faecfcf617
[refactor] Refuse to run swhkd as user with input group
2 years ago
Shinyzenith 0e00175ff0
[update] Comment out man page build instructions.
2 years ago
Shinyzenith 00c59ab5cc
[update] Comment out man page build instructions.
2 years ago
Shinyzenith e421f02d7b
[update] Mkdir manpage dir
2 years ago
Shinyzenith 096b610edc
[update] Remove redundant comments.
2 years ago
Shinyzenith 1e01014a14
[update] Remove physical path logging
2 years ago
Shinyzenith 65e9649f87
[update] Cargo fmt.
2 years ago