summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-18Log error and exit if swaylock is suid with PAM backend.Connor E
2019-01-17Merge pull request #21 from primeos/replace-old-sway-referencesDrew DeVault
Replace old Sway references with swaylock
2019-01-17Replace old Sway references with swaylockMichael Weiss
2019-01-17Merge pull request #19 from swaywm/asyncDrew DeVault
Async password verification
2019-01-17Merge pull request #20 from attente/allow-image-file-colonsDrew DeVault
Allow image file paths to contain colons
2019-01-17Allow image file paths to contain colonsWilliam Hua
Colon characters are allowed in file paths, so if an image file named 'foo:bar.png' is passed as an --image argument, it's currently parsed as image 'bar.png' on output 'foo'. This fix allows the caller to pass the argument ':foo:bar.png' and treat an output of '' the same as NULL. This is assuming there will never be an output named '' however...
2019-01-17Check password without blockingemersion
2019-01-17loop: fix loop_add_fd when called multiple timesemersion
2019-01-17Move PAM into a child processemersion
2019-01-17shadow: fix return in initialize_pw_backendemersion
2019-01-16Merge pull request #14 from swaywm/shadow-fortify-drop-rootDrew DeVault
Make sure we can't restore root after setuid
2019-01-16Merge pull request #17 from swaywm/pam-optionDrew DeVault
Add a pam Meson option
2019-01-16Merge pull request #13 from swaywm/detailed-error-messagesDrew DeVault
Print more detailed error messages
2019-01-16Make sure we can't restore root after setuidemersion
2019-01-16Add a pam Meson optionemersion
2019-01-16Print more detailed error messagesemersion
2019-01-16Merge pull request #12 from swaywm/ciDrew DeVault
ci: add .build.yml
2019-01-16ci: add .build.ymlemersion
2019-01-15Merge pull request #9 from johnae/masterDrew DeVault
Fix swaylock.h include directive
2019-01-15Fix swaylock.h include directiveJohn Axel Eriksson
2019-01-15Remove list.cBrian Ashworth
This replaces all occurrences of `list_t` with `wl_list` to eliminate the need for `list.c`
2019-01-15Merge pull request #7 from RedSoxFan/remove-wlrootsemersion
Implement logging and remove wlroots dependency
2019-01-14Implement logging and remove wlroots dependencyBrian Ashworth
This implements a simpler version of the wlroots logger for swaylock. With this logger, the dependency on wlroots can be dropped. This also adds a debug flag and disables debugging output by default
2019-01-14Add datadir1.2Drew DeVault
And actually tested it as if I weren't a dumbass
2019-01-14Remove enable-tray properly1.1Drew DeVault
2019-01-14Add completions1.0Drew DeVault
2019-01-14Merge pull request #5 from Robinhuett/caps_indicatorDrew DeVault
Add caps lock state to indicator
2019-01-14Add caps lock state to indicatorRobinhuett
This implements customization for the indicator as proposed in sway#2788 with comments from sway#3367 in mind. The default behaviour does not change exept for the caps lock text color. Since these changes seem to be lost in the split I've remade them.
2019-01-13Correct references to swayidle in readmeDrew DeVault
2019-01-13Add README.md, compile man pagesDrew DeVault
2019-01-13MIT licenseDrew DeVault
2019-01-13Remove unused functions in common codeDrew DeVault
2019-01-13Convert swaylock into standalone projectDrew DeVault
2019-01-08Merge pull request #3275 from ianyfan/remove-readlineemersion
Rewrite strip_whitespace and remove readline.c
2019-01-03swaylock: Fix caps lock not updating immediatelyOscar Cowdery Lack
Partially fixes #2788. This change makes it so the lock screen is redrawn whenever the caps lock modifier state changes, rather on relying on the keypress event. This didn't work because caps lock is disabled when the key is released, not pressed, so the caps lock indicator does not go away until the next keypress event.
2019-01-01Remove readline.cIan Fan
All occurrences of read_line have been replaced by getline. peek_line has been absorbed into detect_brace.
2018-12-23swaylock: Submit password on Ctrl-DMilkey Mouse
Ctrl-D functions as EOF in most cases on the terminal. login(1) & many other programs check the password on EOF, same as Enter. To make behavior consistent, have swaylock submit the password on Ctrl-D. This commit moves the handling for Enter into its own static function, which is now also called on Ctrl-D.
2018-12-23swaylock: Clear password buffer on Ctrl-CMilkey Mouse
I've got in the habit of using Ctrl-C with login(1) to restart password entry. If Sway does the same thing I don't have to retrain my login muscle memory ;)
2018-12-02fix typobschacht
bahavior -> behavior
2018-11-30swaylock: fix build with musl libcCameron Nemo
Signed-off-by: Cameron Nemo <camerontnorman@gmail.com>
2018-11-25Replace _XOPEN_SOURCE with _POSIX_C_SOURCEemersion
And make sure we don't define both in the same source file.
2018-10-27reordered swaylock manpagemadblobfish
2018-10-24Merge pull request #2925 from ianyfan/swaylockDrew DeVault
swaylock: exit early if unable to get input inhibitor
2018-10-24Add multiseat support to swaylockRyan Dwyer
2018-10-23swaylock: exit on display errorIan Fan
2018-10-23swaylock: exit early if unable to inhibit inputIan Fan
This stops the program from going into a spinlock without exiting
2018-10-19Change initial background mode before arg parse.Connor E
2018-10-16Fix swaylock version stringRyan Dwyer
The referenced constants were not defined so it always printed "version unknown". Also it would exit with code 1. It now exits with code 0.
2018-10-15Sway clients: Exit gracefully when compositor is unavailableRyan Dwyer
2018-10-15Remove timerfd from loop implementationRyan Dwyer
timerfd doesn't work on the BSDs, so this replaces it with a timespec for the expiry and uses a poll timeout to check the timers when needed.