Rio6
4bc07d8ea5
Implement bar-count to replace bar-width
...
And tried to make draw_bar less messy
2021-01-24 01:14:03 -05:00
Benoît Dardenne
457ab2ae2b
Refactor to share image drawing code
2020-04-18 12:50:27 +02:00
Benoît Dardenne
8bb468697c
Added option to display the provided image centered on all monitors
2020-04-18 12:37:41 +02:00
Benoît Dardenne
0da5cdb447
Use 32bit-deep drawables to allow setting a color with alpha channel as background
2020-04-11 21:44:02 +02:00
Raymond Li
032f960c1e
Replace quotes here as well
2020-03-08 16:22:22 -04:00
Jakob Lindskog
556cc7f0a8
add greeter option, which displays a user provided string
2018-10-05 16:40:50 +02:00
eyenseo
efd6b36daa
Add drawing lock on multiple screens
2018-02-04 09:15:38 +01:00
eyenseo
19e6bb9acf
Fix scaling issues
2018-02-03 22:18:17 +01:00
Pandora
fdd03ea1e3
merge upstream
2018-01-20 00:06:10 -05:00
Michael Stapelberg
6b53758e14
display error when backspace is pressed without any input ( #172 )
...
This adds some feedback to a keypress which previously had no visible effect.
While the text “no input” isn’t the most descriptive, it was the only one I
could think of which fit into the unlock indicator circle. If you have a better
suggestion, let me know.
fixes #164
2018-01-14 22:17:43 +01:00
Pandora
59cdccb3e5
make render thread optional
...
theoretical potential security concerns; no use unless using bar and you care... I hammered pretty hard on my kb for a while to try and see if it's possible to configure it poorly and get the render thread to crash, but to no avail.
2017-12-08 02:29:05 -05:00
Pandora
e69147d860
fix that annoying refresh bug
2017-12-08 00:38:55 -05:00
Chris Guillott
5e0aeccbb3
first commit towards fixing this
2017-12-05 12:53:54 -05:00
Chris Guillott
3d6b294d11
initial keylayout work
2017-11-19 15:12:43 -05:00
Chris Guillott
12e3a846b8
fix compile warning
2017-05-30 18:34:02 -04:00
Chris Guillott
3a1790ecc2
merge commit etc
2017-04-17 16:55:50 -04:00
Jasper Lievisse Adriaanse
68fc2e8b5f
Use bsd_auth(3) instead of PAM on OpenBSD
...
Also apply two security measures for OpenBSD:
- use explicit_bzero(3)
- mlock(2) works for non-root users too
2017-04-17 15:06:59 +02:00
Jasper Lievisse Adriaanse
c1de117825
Rename all PAM-independant variables/comments.
...
there is nothing PAM-specific about pam_state or pam_state_t. therefore
rename them to be authenticator independant.
2017-04-15 09:44:09 +02:00
Chris Guillott
e4301604e5
add custom time formatter strings
2016-10-14 20:57:34 -04:00
Chris Guillott
158623508a
add basic clock feature
2016-10-14 14:48:43 -04:00
eplanet
d2130092cf
Display error message when locking failed ( #99 )
...
To give a feedback for when the pointer couldn't be grabbed,
displaying an error message before exiting.
2016-10-11 13:40:51 -07:00
eplanet
1c97a84847
Displaying locking message when grabbing the pointer/keyboard. ( #88 )
...
Display "locking…" message when grabbing the pointer/keyboard,
after at least 250 ms of unfruitful attempts. If grabbing
eventually fails, application will not fork and return 1.
2016-09-27 18:39:52 -07:00
Michael Stapelberg
68b78a7f57
clang-format -i **/*.[ch]
...
From here on, we’ll use clang-format to automatically format the source.
This has worked well in i3, so we are introducing it for i3lock.
2015-03-16 18:47:16 +01:00
Vytautas Šaltenis
2509c987d1
Extract start/stop timer code to reusable funcs
2014-03-11 09:11:20 +01:00
Michael Stapelberg
dc2b6e5f39
Use (void) instead of () for functions without args (Thanks fernandotcl)
...
See also:
http://article.gmane.org/gmane.linux.kernel/1268792
The C compiler will handle (void) as "no arguments" and () as "variadic
function" (equivalent to (...)) which might lead to subtle errors, such
as the one which was fixed with commit 0ea64ae4.
2012-04-01 12:28:28 +02:00
Michael Stapelberg
0e7e009f45
Properly free timeouts, move one of the timeouts to unlock_indicator.c
2012-01-03 22:18:33 +00:00
Michael Stapelberg
57585bef70
Refactor the unlock indicator into its own source code file
2012-01-03 20:56:05 +00:00