Giter Club home page Giter Club logo

Comments (6)

karulont avatar karulont commented on July 20, 2024

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.

neochrome avatar neochrome commented on July 20, 2024

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.

karulont avatar karulont commented on July 20, 2024

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.

karulont avatar karulont commented on July 20, 2024

I made it fork with fuzzy option right away.

from i3lock-blur.

neochrome avatar neochrome commented on July 20, 2024

Sweet, I'll give it a spin first thing tomorrow morning :)
On Sep 18, 2014 8:55 PM, "karulont" [email protected] wrote:

Closed #4 #4.


Reply to this email directly or view it on GitHub
#4 (comment).

from i3lock-blur.

neochrome avatar neochrome commented on July 20, 2024

It works like a charm over here. Thanks for helping out!

from i3lock-blur.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.