Code Monkey home page Code Monkey logo

gllock's People

Contributors

anekos avatar garbeam avatar kuravih avatar oursin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gllock's Issues

Request: Faster unlock animation

Maybe it's just me, but while the animation is lovely while locking, and I still do like and want it while unlocking, I get impatient as I'm ready to get back to work. Sometimes I end up tapping a keyboard shortcut for some other task a couple times during the process waiting for it to finish. What does anyone (and especially the author) think about speeding up the unlock animation/process?

r67.90f8911

AUR package

Hey folks!

Saw the demo via reddit and loved it. Are there any plans on releasing it to the Arch's User Repository?

Would make installing and updating a bliss.

Some kind of indicator for input

Hey folks!

Loving this gllock!

It's missing some kind of indicator when typing, so that the user can see that something could happen. Also maybe an indicator for "wrong password" wouldn't be that bad.

Use PAM authentication instead

With the new systemd-homed, which stores all user information within the home directory, the locker no longer works. Since it can't read the user entry in /etc/shadow, the locker is unable to start. This could be solved by using PAM.
Sadly the slock you used doesn't seem to be the same slock available on suckless software's site, so patching gllock with the PAM patch in there doesn't seem like it's going to work. It may help with the implementation though, but I don't know C.

Repository has bulky images

Hi, loved the work, but the high quality GIFs take a lot of size and is making the repository hard to clone on low bandwidth networks. Would you please upload the GIFs to a CDN or imgur and have the links in README?

Thanks!

What will the license be?

Can I bring the shaders from the project into my game and use them?

The shader effect looks great.

'sticks' in unlock

Locks fine, can input password then animation begins to unlock, then freezes for ~5s and then ends. No errors are reported.

Nvidia 18.04 LTS Ubuntu.

make error

gllock build options:
CFLAGS   = -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.1-alpha" -DHAVE_SHADOW_H -DSHADER_LOCATION="/root/.gllock" -DFRGMNT_SHADER="circle.fragment.glsl"
LDFLAGS  = -s -L/usr/lib -lc -lcrypt -L/usr/X11R6/lib -lX11 -lGL -lGLEW -lpthread
CC       = cc
CC gllock.c
gllock.c: In function ‘readpw’:
gllock.c:172:26: warning: implicit declaration of function ‘crypt’ [-Wimplicit-function-declaration]
  172 |         running = strcmp(crypt(passwd, pws), pws);
      |                          ^~~~~
gllock.c:172:26: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
  172 |         running = strcmp(crypt(passwd, pws), pws);
      |                          ^~~~~~~~~~~~~~~~~~
      |                          |
      |                          int
In file included from gllock.c:15:
/usr/include/string.h:136:32: note: expected ‘const char *’ but argument is of type ‘int’
  136 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
CC common.c
CC -o gllock
installing executable file to /usr/local/bin
ln: failed to create symbolic link '/root/.gllock': File exists
make: *** [Makefile:45: install] Error 1

gllock version

When running gllock -v
╰─>$ gllock -v
gllock-0.1-alpha, ? 2019 Kuravi H

Is this the current version?
I am using tilix/fish, it looks like the copyright symbol isn't rendering.

Makefile issues

I think there's a few issues with the Makefile right now:

  1. The default SHADER_LOCATION is $(HOME)/.gllock which evaluates to /root/.gllock since we need to run make with sudo. It's unclear if this is the intended location.
  2. Running sudo make install twice generates the symlink shaders/shaders -> .
  3. Running sudo make uninstall only removes the unintentional symlink above.

I think merging this pull request might be a good approach to fixing some of these issues.

Segfault at password entry.

On my system, gllock segfaults whenever enter is pressed on the lockscreen, whether the password is entered correctly or not.

Steps to reproduce:

  • start gllock
  • press enter

GDB Trace of such a segfault:
gdb_trace.txt
I tried to add symbols to the binary but i had no luck for some reason...

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.