Tait Hoyem
5c6773d87a
Update docs with newest version
2 years ago
Tait Hoyem
f40385ae65
Attempt at working with optional keys
2 years ago
Tait Hoyem
85779876dd
swhkd -> sohkd
2 years ago
Tait Hoyem
8204055b88
Basic structural nav example
2 years ago
Tait Hoyem
f2a17998a5
Working consumption of keys
2 years ago
Tait Hoyem
512b7a28a3
Add mode changer, Polkit -> Udev
2 years ago
Tait Hoyem
196afffaff
Add git
2 years ago
Tait Hoyem
e6099ad1d8
Add sohkctl
2 years ago
Tait Hoyem
b421f20daf
Add sohkctl
2 years ago
Tait Hoyem
0e3db26b87
Add modes
2 years ago
Tait Hoyem
80f4fde12d
Move socket sending to new thread
2 years ago
Tait Hoyem
d58fb3d5c3
Add control program to change modes; also accepted over sohkdctl.sock
2 years ago
Tait Hoyem
56a94b2dee
New Hotkey struct; compiling
2 years ago
Tait Hoyem
4b80557af0
Update name
2 years ago
Tait Hoyem
af323a0f16
Add consume config
2 years ago
Tait Hoyem
3e622b7192
New name
2 years ago
Tait Hoyem
2795ee8bb4
Add example of modal keybinding
2 years ago
Tait Hoyem
78179cc836
Add modal keybindings
2 years ago
Idli
dd8573c379
Merge pull request #47 from actualdankcoder/main
...
[update] Fixed high severity typo
2 years ago
DankCoder
5f97be397e
[update] fix typo
2 years ago
EdenQwQ
07c86a2c2b
[test]config: restore test for 'none'
2 years ago
EdenQwQ
7e60588717
[update]config: avoid possible error when removing file; fix typo; ignore undone tests
2 years ago
Angelo Fallaria
9b81a7ed6a
test: add another test for multiple ranges
2 years ago
Angelo Fallaria
0223510bf7
test: add test for multiple ranges
2 years ago
Angelo Fallaria
547027c52c
Merge branch 'main' of github.com:waycrate/swhkd
2 years ago
Angelo Fallaria
49fd6268a5
test: make keybind order not matter for config test
2 years ago
Angelo Fallaria
3b0edf53e4
test: remove unimplemented tests
2 years ago
Angelo Fallaria
a66f6a3504
revert: revert alias feature
...
revert: revert alias feature
2 years ago
Angelo Fallaria
71b7faf138
revert: remove alias tests
2 years ago
Angelo Fallaria
da5e14d761
fix: remove git merge conflict markers
2 years ago
Angelo Fallaria
220d16d0b0
revert: "[feat] config: support for aliases"
...
This reverts commit 76ca5be56e
.
2 years ago
EdenQwQ
5720d0b3f7
[update] config: add brace key
2 years ago
EdenQwQ
7c4b545853
[update] config: mod1 = alt, mod4 =
2 years ago
Aakash Sen Sharma
2c658fcf58
Merge pull request #44 from waycrate/config_devel
...
[feat] aliases for config
2 years ago
Eden
53eca2d556
[remove] config: remove unnecessary check
...
I'm literally pushing this commit on my phone lol
2 years ago
EdenQwQ
ca68cc6cb1
[update] config: add space key; add support for using '_' as a 'None'
2 years ago
EdenQwQ
467067459c
[test] config: test for should work aliases (just to make sure)
2 years ago
EdenQwQ
938fc88b7c
Merge branch 'main' into config_devel
...
merge main
2 years ago
EdenQwQ
76ca5be56e
[feat] config: support for aliases
2 years ago
EdenQwQ
7c230c4054
[fix] config: typo in comment
2 years ago
Angelo Fallaria
b2230760fe
feat: add curly brace syntax parsing and error display
...
Curly brace syntax parsing by EdenQwQ
2 years ago
Angelo Fallaria
ba1ad4845c
refactor(config): order functions by importance
...
To better communicate which functions are more fundamental,
`parse_contents` has been put above `parse_keybinds` and
`extract_curly_brace`.
2 years ago
Angelo Fallaria
ba84ffab6a
refactor: rename push_direct_output to push_one_item
2 years ago
Angelo Fallaria
3fceb8bb1e
refactor: improve var names for ascii iterator
2 years ago
Angelo Fallaria
983b02aa45
refactor: rename start/end to start_index/end_index
2 years ago
Angelo Fallaria
38b1d758c7
style: format w/ rustfmt
2 years ago
Angelo Fallaria
67a558288e
refactor: rename .._curly_brace to str_..._braces
2 years ago
Angelo Fallaria
4140fa3065
refactor: rename i in range to ascii_number
2 years ago
Angelo Fallaria
767f8eb6f6
refactor: add descriptive var names for ASCII ranges
2 years ago
Angelo Fallaria
3ce4db7be8
refactor: change range syntax for squirly brace
...
Before:
```rust
begin.parse::<char>().unwrap() as u8..end.parse::<char>().unwrap() as u8 + 1
```
After:
```rust
begin.parse::<char>().unwrap() as u8..=end.parse::<char>().unwrap() as u8
```
We will use ..= instead of adding + 1 to the end range as it is
the idiomatic Rust syntax.
2 years ago