Comments (10)
I'll definitely give this the same treatment as indicator positioning and stuff. Might take me a while since I've got like 3 exams in the next week, though.
from i3lock-color.
My motherboard just died, so I'm pretty much upgrading my dev rig to Ryzen now. My progress will be halted until then, so my estimated time on this is probably just end of october for now :&
from i3lock-color.
No haste, it's not something that makes program unusable or something. Good luck with your upgrade.
from i3lock-color.
This'll be a bit tricky, since I'm trying to find a good way to do it without bringing in any extra libraries - I'd like to stay pretty close to upstream in most regards; the way most other projects do it is sorta hacky.
(though frankly, apparently it's really hard to get the active keyboard layout in C. God knows why.)
If it's exposed through an environment variable at all that'd be ideal, but I suspect that's not the case.
from i3lock-color.
What about Xkb library? I have working solution with this library, and I could possibly create pull request with this feature complete and working, if it's ok - i3lock doesn't work with Wayland anyway, so why not to use Xorg library?
from i3lock-color.
Actually, the last time I experimented with Wayland, i3lock actually worked when you recompiled and ran it. Not sure about it now with the compositor stuff, but it did work.
I'll keep looking at this - we should already be using the xcb-xkb libs, so that's fine. Most of the other solutions I've seen require x11 libs, which is what I'm trying to avoid, since it'll require more libs to be linked in the Makefile.
from i3lock-color.
Ok, I'll try to create pull request sometime soon.
from i3lock-color.
heyo!
I had the time to sit down finally. Here's what I have so far.
(I refactored a decent amount of code to make this more maintainable, so it should be a bit easier to do color work in the future).
Currently, the keylayout only shows if the clock / text is showing, and is only checked once (so if your keylayout changes while i3lock is running, stuff will break a bit - not too hard to fix, but I don't think that that's possible?)
I can probably rework it some so that the keylayout always shows, though.
from i3lock-color.
This has been merged into master, so in closing this now.
from i3lock-color.
Bug: #115
from i3lock-color.
Related Issues (20)
- [Suggestion] Lock/Duration/Unlock Session Log (Option) HOT 1
- Password check if 'backspace' is pressed when no character is buffered
- Build failure HOT 7
- [Suggestion] GNU Grub Bootloader Init Tune Parameter for Lockscreen Login Error (Option)
- Cursor not hidden when i3lock is run from a different TTY
- Wrong timezone used when TZ environment variable is set to anything
- When new release? Modifier keys updated on i3lock HOT 3
- `./configure` fails to find libev in `/usr/local/lib` HOT 5
- Notifications above lock screen (no compositor) HOT 4
- libxcb-xkb.so.1: cannot open shared object file: No such file or directory HOT 3
- Feature request: require password to unlock only after certain seconds HOT 2
- Font outlines are displayed on the wrong layer with Bahnschrift font HOT 4
- Command not found HOT 1
- Modkey stays on screen longer than expected HOT 1
- Dead link in README HOT 1
- Extreme Lag With xcompmgr HOT 1
- Memory leak when running slideshow
- No longer being able to unlock the screen
- Display multiple texts
- Mention in docs minor conflict with the `--show-failed-attempts` and `--clock` flag
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 i3lock-color.