Comments (7)
This is a known bug, we have implemented chords in the config but daemon doesn't support it yet.
Eden, who is working on it is currently sick so it'll be implemented as soon as they're back!
from swhkd.
@xircon would you mind trying out the new branch where we implemented a new feature called modes
, which is supposed to work similar to chords
but with a greater readability and functionality.
The basic syntax of key modes:
# the default mode is `normal` mode, which is always on the bottom of the mode stack
super + m
# commands starting with `@` are internal commands. Internal commands can be combined with normal commands with `&&`
# @enter will push a mode into the mode stack
@enter music && echo music > .swhkd_mode
mode music # define a mode with the `mode` statement
super + {n,p,space}
mpc {next,prev,pause}
q
@escape # an internal command to pop the current mode out of the mode stack
endmode # end a mode definition with `endmode`
from swhkd.
Seems to work OK, need to get my head around it, will have some questions 😄
First one:
-
@Enter music && echo music > .swhkd_mode
This is set, but never unset? The file always contains music. -
KP_Add & KP_Subtract don't work as keys.
from swhkd.
Thanks for your tests
- that .swhkd_mode is for something like waybar integration and I forgot to write
echo normal > .swhkd_mode
after the@escape
- Will check out the key issue later
from swhkd.
Seems to work OK, need to get my head around it, will have some questions smile First one:
- @Enter music && echo music > .swhkd_mode
This is set, but never unset? The file always contains music.- KP_Add & KP_Subtract don't work as keys.
Hi kpsubtract and kpplusminus exists, can you try binding them?
from swhkd.
@Shinyzenith - kpminus works for the "-" key (numeric keypad), kpplusminus is valid, but does nothing as do all combinations I invented which all error 😄
from swhkd.
Chords should work now, if you face any issue then please make a new ticket 😁.
from swhkd.
Related Issues (20)
- Cannot use keychords HOT 1
- `swhkd-bin` not maintained - AUR!
- Keyboard stops working after running `pkexec swhkd` HOT 6
- How to express this sxkhd underscore-range idiom in swkhd?
- `XDG_RUNTIME_DIR` is not a typo HOT 1
- `/dev/input/mouse1`: Inappropriate ioctl for device HOT 10
- compositor pkexec swhkd invocation is buggy
- documentation for multiple config loading
- pkexec alternative ?
- Can't compile (make: rustup: No such file or directory make: *** [Makefile:61: setup] Error 127) HOT 2
- Systemd service won't start HOT 2
- swhkd doesn't compile, returns Makefile 25 error HOT 10
- Proposal: Better Path handling Mechanisms HOT 3
- Mouse events occur twice HOT 2
- [enchancement] Add Path Validations to Environment Variables
- feat: generate default config HOT 1
- [enchancement] Fork into SWHKS when not detected HOT 3
- Swhks stops after login HOT 5
- Use rust build scripts/GH integration instead of Makefile
- compatibility with hyprland HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swhkd.