Comments (6)
Well I don't have enough time right now to check the code, why not forking was a good idea.
But I am using a different approach for locking on suspend.
I use a program called xss-lock https://bitbucket.org/raymonad/xss-lock
It listens for systemd events and runs your supplied program when session is locked. In my i3 config file I have lines
# screenlocker
exec --no-startup-id xss-lock -- i3lock -f
from i3lock-blur.
No worries, if I felt a bit more up to speed with my meager C skills I would take a stab at it myself.
Your method using xss-lock however works just perfect, so I'll stick to that for the moment.
from i3lock-blur.
I looked into the code.
i3lock forks when the mapnotify event happens. This event happens when a (new) window is mapped to screen.
Without fuzzy option, the i3lock creates a new window for itself, and when that is mapped, i3lock forks.
With fuzzy option a new window is not created, an overlay window is used. This means that mapnotify event is not executed and i3lock doesn't fork right away. But it will fork, when some other application creates a window and that window gets mapped.
from i3lock-blur.
I made it fork with fuzzy option right away.
from i3lock-blur.
Sweet, I'll give it a spin first thing tomorrow morning :)
On Sep 18, 2014 8:55 PM, "karulont" [email protected] wrote:
—
Reply to this email directly or view it on GitHub
#4 (comment).
from i3lock-blur.
It works like a charm over here. Thanks for helping out!
from i3lock-blur.
Related Issues (18)
- Screen Corruption on Unlock HOT 3
- Blurring all screen elements HOT 2
- More radius/sigma by default HOT 2
- i3lock-blur work but flickers. HOT 9
- X11 errors when blurring HOT 6
- fatal IO error 11 (Resource temporarily unavailable) on X server ":0" HOT 7
- Can this be merged into i3lock? HOT 1
- lock/unlock is quite slow HOT 3
- Feature Request: Darkening
- Update for i3lock 2.6? HOT 2
- How to install HOT 4
- Cmdline argument '-f' use. HOT 1
- Blurring cuts in and out HOT 19
- Blurring not working with fglrx HOT 6
- Catalyst drivers problem
- BadValue (integer parameter out of range) HOT 1
- Not blurring feh background image HOT 2
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-blur.