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.
7 years ago
Pandora
3edfb79f96
move timed redraws into own thread; make bar prettier
7 years ago
Pandora
e69147d860
fix that annoying refresh bug
7 years ago
Chris Guillott
ef9d84128f
fix some leaks; update lock.sh
7 years ago
Chris Guillott
5e0aeccbb3
first commit towards fixing this
7 years ago
Michael Stapelberg
ef4f9e4057
Switch to autotools ( #163 )
This was largely copied from the i3 configure.ac and Makefile.am.
7 years ago
Chris Guillott
3d60b97f33
commit more bar stuff
7 years ago
Chris Guillott
6f8753f0f6
initial bar commit
7 years ago
Alexei Bendebury
2238cd20b9
Added support for setting status font
7 years ago
Chris Guillott
2afbb68849
add text align options
7 years ago
Chris Guillott
807ff5c2b1
add --force-clock option; remove old debug output that _shouldn't_ be necessary now
7 years ago
Chris Guillott
b5099e3cd3
tweak manpage; make keylayout turn the clock on
7 years ago
Chris Guillott
3d6b294d11
initial keylayout work
7 years ago
Chris Guillott
9d065441ca
index on master: 4f95adb
merge upstream
7 years ago
Michael Stapelberg
a514472ec4
Rename xinerama.[ch] to randr.[ch]
7 years ago
Michael Stapelberg
c311d1c5a3
Use RandR for learning about attached monitors
The code now tries the following options, in order:
• obtain monitors via RandR 1.5
• obtain outputs via RandR ≤ 1.4
• obtain screens via Xinerama
fixes #159
related to #101
related to #148
related to #149
7 years ago
Michael Stapelberg
5b4d45a8af
SetInputFocus to the i3lock window to force-close context menus ( #155 )
When grabbing the pointer/keyboard fails, a new code path is activated, which:
1. Uses the standards-compliant _NET_ACTIVE_WINDOW root window property to
determine the window to restore focus to.
2. Sets the input focus to the i3lock window, thereby possibly force-closing
open context menus (works with e.g. Google Chrome, does not work with
e.g. thunar, gedit).
3. Upon exiting, restores focus to the window from step ① by sending a
_NET_ACTIVE_WINDOW ClientMessage to the root window. Note that this step
requires https://github.com/i3/i3/pull/3027 in i3 to not mess up focus.
fixes https://github.com/i3/i3lock/issues/35
7 years ago
Orestis
8eecef62fb
Immediately hide the unlock indicator after ESC / C-u ( #145 )
7 years ago
Matthew Fry
f1f239e970
Added a ring width to customize the width of the ring
7 years ago
Chris Guillott
d03fbe70c9
remove debug code
7 years ago
Chris Guillott
110d5d58bd
this is what code review is for, kids
7 years ago
Ran Benita
76d9960dbe
Change the locale discovery procedure to treat empty string same as unset
This is explained in the commit message here:
f468f0b243
7 years ago
Chris Guillott
c758871bc1
obey date/time formats for locales
7 years ago
James Wescott
84eb1c3cce
Fixed several typos in the option handling ( #32 )
7 years ago
James Wescott
73f02eea6e
Initial implementation of indicator positioning
7 years ago
jakob
cddb87420b
Fix overwrite of getopt optind
Using 'optind' in getopt_long() shadows actual 'optind' being provided
by getopt, thus prevents any future options change from using optind.
See https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html#index-getopt_005flong
7 years ago
Chris Guillott
6ec7c668cf
add some more options
8 years ago
Chris Guillott
d9f2e04bab
add a no-composite arg
8 years ago
Chris Guillott
aa906d564c
restore intended functionality of images over blurring
8 years ago
Chris Guillott
14af07f5dc
update docs
8 years ago
Chris Guillott
245c6706c6
tweak defaults
8 years ago
Chris Guillott
3637d7ba28
fix pointer bugs, fix arithmetic bugs, expose more variables for time/date pos
8 years ago
Chris Guillott
638cf1a6e2
clock/text fixes, string fixes
8 years ago
Chris Guillott
32d99ccd6f
allow variable refresh rates
idk why you'd do this, but alright
8 years ago
Chris Guillott
5aaf5a293e
tweak indicator stuff
8 years ago
Aline
f2ef5989e1
Separated time and date display
8 years ago
Aline
e26171d545
Make clock font size modifiable
8 years ago
Aline
e64f9adedc
Made clock position freely modifiable
8 years ago
Aline
2193acef3b
Added CLI options for date/time font and clock text color
8 years ago
Chris Guillott
b8bf88a125
cleaner language :)
8 years ago
Jasper Lievisse Adriaanse
ea65a5292d
Restore intended behaviour and don't use mlock(2) on OpenBSD.
8 years ago
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
8 years ago
Jasper Lievisse Adriaanse
15973d1f52
Move all PAM code behind UES_PAM and enable that by default.
8 years ago
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.
8 years ago
Sebastian Frysztak
0f989add08
Pass blur strength from command line arguments
8 years ago
Nicolò Balzarotti
7504e16527
Add Enter on C-m ( #103 )
8 years ago
Chris Guillott
db9e953bde
really hacky blur + overlayed image support
8 years ago
Chris Guillott
c3a95b86d6
add initial blur support
thanks to https://github.com/shiver/i3lock
8 years ago
Chris Guillott
18a9572482
Add clock functionality and swap default time/date format strings
I set them to what I use because I'm an asshole.
8 years ago
Chris Guillott
e4301604e5
add custom time formatter strings
8 years ago