EdenQwQ
ee31c54d42
[update] config: more tests for range syntax
2 years ago
EdenQwQ
49ebf957b3
rustfmt
2 years ago
EdenQwQ
caaedeb4a7
[update] handle invalid range
2 years ago
EdenQwQ
214b1b1692
Merge remote-tracking branch 'origin/error_display' into config_devel
...
[merge] config error display by Angelo
2 years ago
EdenQwQ
5df6027991
[remove] config: remove test for nonsensical file
2 years ago
Angelo Fallaria
90cb0e4b93
feat(daemon): display error message for config errors
2 years ago
Angelo Fallaria
9567883fed
feat: add Display functionality for config errs
2 years ago
Angelo Fallaria
f78e40c67c
test: add tests for error display
2 years ago
EdenQwQ
85fe0f70f2
[update] config: support for ascii character as range
2 years ago
EdenQwQ
165d6b50af
[rustfmt] config
2 years ago
EdenQwQ
62cbe3e420
[update] config: basic range syntax(support numbers only)
2 years ago
EdenQwQ
f60903d2f3
[refactor, update] config: basic curly brace syntax
2 years ago
EdenQwQ
c7da0a4669
[update] config: a new function to extract all the items inside a pair of curly braces
2 years ago
EdenQwQ
a780a6ea4b
[update] config.rs: comment out unimplemented modifiers; add delete, brightness
2 years ago
EdenQwQ
4eea8ee20f
improve(server): collapse nested if block; &String to &str
2 years ago
EdenQwQ
7541118640
improve(daemon): collapse nested if block; use vec! instead of Vec::new()
2 years ago
Aakash Sen Sharma
0c910ffa37
[merge] refactor(daemon): reduce indent w/ guard clause
...
refactor(daemon): reduce indent w/ guard clause
2 years ago
Shinyzenith
870fcbf354
[remove] unused imports.
2 years ago
Shinyzenith
6911e116cb
[remove] pr template
2 years ago
Shinyzenith
222780c4f3
[upload] Basic pull request template
2 years ago
Aakash Sen Sharma
59cd0ab87c
[create] Code of conduct.md
2 years ago
Shinyzenith
7b6780e3b8
[update] Contributing.md
2 years ago
Aakash Sen Sharma
b76917f981
[create] Contributing.md
2 years ago
Angelo Fallaria
2739434273
refactor(daemon): reduce indent w/ guard clause
2 years ago
Angelo Fallaria
ce3b551628
style: fix formatting w/ rustfmt
2 years ago
Angelo Fallaria
7098ff3aab
refactor(config): put test-only modules in own mod
...
std::fs and std::io::Write are used in the unit tests,
but not in the main program itself, which results in a
warning by the Rust compiler. They are now only used
in the test module, when `cargo test` is run.
2 years ago
Angelo Fallaria
e10d2ac005
fix(config): alleviate panic on blank config filee
...
Whenever the config parse was parsed an empty config,
a panic would result because of trying to process an
empty vector:
---- config::tests::test_blank_config stdout ----
thread 'config::tests::test_blank_config' panicked at 'index out of bounds: the len is 0 but the index is 0', src/config.rs:237:33
This commit alleviates that by simply returning an empty
Hotkey vector whenever an empty config is passed.
2 years ago
Shinyzenith
036e7c12fe
[update] Build instructions.
2 years ago
Shinyzenith
47b25859ea
[update] style change
2 years ago
Shinyzenith
665f1b2e38
[Update] Add AUR to install.md
2 years ago
Shinyzenith
d1051685fa
[update]Minor readme changes
2 years ago
Shinyzenith
4502170d5f
[Bug fix] rules file needs to have permission 644.
2 years ago
Idli
62c4370f09
update: readme; grammatical error
2 years ago
Shinyzenith
042e4ff9fc
[update] switch prefix dir to comply with AUR.
2 years ago
Shinyzenith
1407b5c0f4
[Contrib] Add pkgbuilds.
2 years ago
EdenQwQ
106bef257c
added many keysyms
2 years ago
Shinyzenith
ef3e8c9b97
[typo]
2 years ago
Eden
64f32da78f
Update README.md
2 years ago
Shinyzenith
649673eeff
[readme] fix
2 years ago
Shinyzenith
0c957d840c
[update] Readme.
2 years ago
EdenQwQ
1ef54df4f7
support single keysym
2 years ago
Shinyzenith
92b8b6f24b
[feature] Do not allow multiple instances.
2 years ago
Shinyzenith
078135bc55
[update] Mention failed line on parse error.
2 years ago
Shinyzenith
44568d19fc
[Update] add printscr to enum
2 years ago
Shinyzenith
f59dfcd99d
[add] Automatic build script for github releases.
2 years ago
EdenQwQ
8499692702
Implement inline comments support when parsing config
2 years ago
Shinyzenith
e16b5e40df
[rel] Version bump.
2 years ago
Shinyzenith
ac37e441bb
[rel] Version bump. First official point release.
2 years ago
Shinyzenith
a415b24323
[update] Example config file uploaded.
2 years ago
Shinyzenith
572673811d
[Update] fix ISSUE_TEMPLATE
2 years ago