Martin Dørum
a99afe6a70
Implement key repeat
2020-06-19 23:02:23 +02:00
Nils
a6b3a0956b
Use xkb_keymap_new_from_buffer instead of xkb_keymap_new_from_string
...
xkb_keymap_new_from_string just calls xkb_keymap_new_from_buffer with size as `strlen(string)`.
0f1cae0cc4/src/keymap.c (L164)
According to the [spec](https://gitlab.freedesktop.org/wayland/wayland/-/blob/master/protocol/wayland.xml#L2182 ), MAP_PRIVATE should be used.
2020-03-29 21:00:33 +02:00
Jakub Profota
73754703c5
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
1620d98411
Added --indicator-x\y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
18e2a70ddb
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Jakub Profota
6015f4450d
Added --indicator-x/y-position
2020-03-06 15:21:24 +01:00
Michael Vetter
5da2b1d861
Set version to 1.6
...
It seems this gets forgotten before doing a release.
Like last time: https://github.com/swaywm/swaylock/pull/84
So this time I will try differently and set it to the (probably)
next version number :-)
2020-01-23 07:30:27 -07:00
Eli Schwartz
89f1ede511
fish-completion: use the correct fallback directory
...
fish completions should never be installed to share/fish/completions/ as
that directory is reserved exclusively for completions shipped as part
of the fish source code.
Use the same vendor_completions.d/ directory which the default fish
configuration uses.
2020-01-22 09:19:47 -07:00
Eli Schwartz
3baa500c5e
completion: use pkg-config to get install location for bash/fish
...
Both shells provide pkg-config files which declare their designated
completionsdir. Use this as the primary source of truth.
2020-01-22 09:19:47 -07:00
Namkhai B
dee002155b
Remove FreeBSD-specific PAM configuration
...
Something in FreeBSD's PAM modules changed, and
now using the "passwd" configuration file fails to unlock
2020-01-06 13:18:25 -07:00
Matt Della
a7404e1096
Added option to adjust ring position via CLI arguments and the config file
2019-11-27 19:53:07 -05:00
Olegs Jeremejevs
426e1ce93d
Fix, clean up and sync docs and completions
2019-09-12 16:33:24 -04:00
HardDie
ba31e2eaee
Submit password by pressing Ctrl+m
...
As it work in emacs style console
2019-08-15 18:47:27 +03:00
Alexander Martin
666ae950bc
Adds option to show indicator even if idle
2019-08-04 02:15:49 -04:00
Martin Dørum
080e8356b7
properly fix indicator position
2019-07-20 10:06:33 +03:00
Martin Dørum
b1a7defa00
seed rand
2019-06-28 10:27:42 -04:00
Martin Dørum
25ce4b12bb
fix indicator position
2019-06-28 10:27:34 -04:00
Abdelhakim Qbaich
11560381bf
Damage state when the keyboard layout changes
2019-06-22 22:36:53 +03:00
Abdelhakim Qbaich
89b214612c
Resizable buffer size for the subsurface
2019-06-22 22:36:53 +03:00
Abdelhakim Qbaich
e049fa4868
Minor edits
2019-06-22 22:36:53 +03:00
Michael Vetter
a9b274eb6c
Adapt version number to actual release
2019-05-23 09:43:51 +03:00
Jan Beich
96e281fdb2
pool-buffer: add L suffix to POSIX version for consistency
2019-05-20 19:51:48 +03:00
Jan Beich
45c587e93c
loop: bump required POSIX version for poll()
2019-05-20 19:51:48 +03:00
Peter Kasza
183d1bd549
Add fixed font-size option for indicator
...
This commit adds a new command line option called --font-size to
specify a fixed font size in the indicator. The default value for
font-size is 0, which means that the text will autoscale. Any other
positive value will result in a fixed text size.
2019-05-05 09:25:59 -06:00
Gabriel Sanches
84bfc6c7ed
Submit password by pressing Ctrl+m ( close #75 )
2019-04-29 08:37:47 -06:00
Drew DeVault
f403cc0702
Merge pull request #73 from jeremiah-miller/add-hide-keyboard-layout
...
Add hide keyboard layout option
2019-04-22 16:14:09 -06:00
bbgun7
4971afb52d
Described hide-keyboard-layout option in swaylock.1.scd
2019-04-22 11:36:37 -07:00
bbgun7
86f4fea55e
Added hide keyboard layout option
2019-04-22 10:34:19 -07:00
Geoff Greer
98e5afe364
Fix lock indicator position on hidpi screens.
2019-04-03 01:15:51 -04:00
Brian Ashworth
7892d8cc51
Allow spaces in image file path
...
This allows one or more spaces to be in the image file path
2019-04-01 11:33:14 +03:00
Kenny Levinsen
d815e29b64
Do not exit if no outputs are present
2019-03-30 00:37:59 +02:00
Anders Nylander
7d5a73b0a9
Decouple the drawing of the background from drawing the indicator.
...
* Render background only once in main wl_surface
* Render indicator on subsurface
2019-03-20 23:07:31 +02:00
Drew DeVault
6b3be42264
Merge pull request #53 from swaywm/fix-meson-version
...
Fix --version when building from tarball
2019-02-12 23:27:26 +01:00
emersion
076d442c03
Fix --version when building from tarball
2019-02-12 23:25:56 +01:00
MalteT
ec78bb121f
Fix minor typo in man page
2019-02-12 12:24:21 +01:00
Drew DeVault
37280a92d9
Merge pull request #47 from bendooru/layout-text
...
Show current xkb layout while typing
2019-02-06 02:09:06 +01:00
Dominik Bendle
a052a56bc2
Display xkb layout while typing
...
Displays the current keyboard layout below the unlock indicator if more
than one xkb layout is configured or the show-keyboard-layout option is
given. The text is displayed with a background box.
Adds commandline options for text color, background color and border
color of the box as well.
2019-02-06 01:42:49 +01:00
Drew DeVault
1db5c78037
Merge pull request #45 from jubalh/version
...
Set version in project file
2019-02-05 14:37:17 +01:00
Michael Vetter
3515c4b453
Set version in project file
...
Let's set the version in the meson file instead of declaring it outside.
In case git is installed we use the git hash as version. Instead it
isn't (like on a clean build system), let's use the version defined in
the project.
2019-02-05 14:19:14 +01:00
Drew DeVault
effdea5231
Merge pull request #39 from bendooru/show-failed-attempts
...
Add option show-failed-attempts
2019-01-29 14:48:00 -05:00
Dominik Bendle
40e9098a74
Add option show-failed-attempts
...
Keeps track of unsuccessful authentication attempts via an int counter
in the state struct. Displays on the unlock indicator, but will be
replaced by the Caps Lock text if enabled.
2019-01-29 20:44:32 +01:00
v44r
ecc8402c43
Fix vertical align of text inside the circle
2019-01-28 14:28:08 -05:00
Drew DeVault
6a7e3a16f2
Merge pull request #36 from c-edw/feature/ShadowBackendSleep
...
Sleep on incorrect password with shadow backend.
2019-01-27 18:03:29 -05:00
Connor E
6fd9cd2246
Sleep on incorrect password with shadow backend.
2019-01-27 18:12:54 +00:00
Drew DeVault
368f53e4f1
Merge pull request #35 from bendooru/fix-image-bg-color
...
Allow setting both background image and colour
2019-01-25 09:48:32 -05:00
Dominik Bendle
c2b99768e9
Allow setting both background image and colour
...
The -c/--color option no longer sets BACKGROUND_MODE_SOLID_COLOR (which
disables the background image) and the background color is now set in
all cases. One can still use --scaling solid_color to disable display of
a background image.
As a consequence, there is now only one possible default background
colour (white), regardless of whether a background image is given or not.
2019-01-25 10:30:13 +01:00
Jan Beich
c163f0a0c7
Add man-pages option like swaywm/sway@ba16f16e4d
2019-01-24 23:23:30 +01:00
John Axel Eriksson
3d94a60924
Include stdlib.h in shadow.c
2019-01-23 21:31:49 +01:00
Drew DeVault
5d60610cb0
Merge pull request #30 from ianyfan/cleanup
...
Cleanup
2019-01-23 09:16:34 -05:00
Ian Fan
b87e2a4916
Remove references to pango
2019-01-23 12:20:24 +00:00