Commit graph

173 commits

Author SHA1 Message Date
Basti
5d8b8aa72a
Update docs regarding master -> main change
(cherry picked from commit 0da7dac0f3b229e0e560706a72f23e410b468263)
2021-10-11 17:33:14 +02:00
Basti
9e43994c25
Merge pull request #286 from betterlockscreen/next
Prepare for v4.0.3 release
2021-08-21 21:39:34 +02:00
Sebastian Sellmeier
70f08f9032
Prepare release for v4.0.3 2021-08-21 21:38:58 +02:00
Sebastian Sellmeier
f8f897f758
Prepare beta-release for v4.0.3-beta1 2021-08-21 02:18:26 +02:00
Sebastian Sellmeier
a0fb39fd5a
Fixes wrong docs for --off #281 2021-08-21 02:15:51 +02:00
Sebastian Sellmeier
bc2a17621c
Fixes issue with systemd-service #277 2021-08-21 02:14:51 +02:00
Basti
9260018996
Merge pull request #278 from pavanjadhaw/fix/missing_dollar_variable
Fix missing dollar for variable in cmd_exists check
2021-08-10 22:26:54 +02:00
Sebastian Sellmeier
46dc2ae6c4
Fix missing dollar for variable in cmd_exists check (thanks to @hrhino for pointing out) 2021-08-10 22:25:31 +02:00
Basti
a315d2ea24
Merge pull request #275 from pavanjadhaw/next
Stable Release
2021-08-09 23:12:24 +02:00
Sebastian Sellmeier
c3fcd2d6f7
Prepare release for stable v4.0.0 2021-08-09 23:11:04 +02:00
Basti
caa0350752
Merge pull request #273 from pavanjadhaw/beta_fix_installer
v4.0.0-beta2: Fix installer to detect i3lock-color also if named i3lock
2021-08-08 21:28:58 +02:00
Sebastian Sellmeier
7157b04564
Fix installer to also detect i3lock-color if command is i3lock 2021-08-07 14:48:15 +02:00
Sebastian Sellmeier
f452ef0ec4
Prepare release v4.0.0-beta2 with autodetection of i3lock-color binary-name (i3lock-color/i3lock) 2021-08-07 01:25:30 +02:00
Basti
d53669fdbf
Merge pull request #272 from pavanjadhaw/issue_266
Autodetect i3lock-color name / validate $i3lockcolor_bin from user-config, Extend copyright matching LICENSE
2021-08-07 01:21:07 +02:00
Sebastian Sellmeier
583ad3468f
Add code to autodetect if i3lock-color is available under its name or i3lock and validate custom values from config, extend copyright matching LICENSE 2021-08-07 01:18:44 +02:00
Sebastian Sellmeier
6537717ab1
Updated CONTRIBUTING.md and according section in README.md to avoid duplicate text 2021-07-21 01:57:08 +02:00
Sebastian Sellmeier
4ef273cf5e
Add gento-install to readme from #264 thanks to @mjkalyan 2021-07-21 01:42:54 +02:00
Sebastian Sellmeier
68e474393d
Fixup docs
Update readme to show beta-release, rename workflow-config

(cherry picked from commit 4a95562740)
2021-07-21 01:04:41 +02:00
Sebastian Sellmeier
6ac1f74a94
Prepare for release v4.0.0-beta1 2021-07-21 01:04:41 +02:00
Sebastian Sellmeier
0a81e77d8d
Improve --version command 2021-07-21 01:04:41 +02:00
Jeff M. Hubbard
7c1f480a4d
Reworked loginbox (#249)
* Redesigned loginbox, theme errors, add keylayout

    See #225 and #229
    Always display --keylayout
    Wrong, verif, and modif messages are displayed
    Added all pass-thru keys options

* Adjust positioning of verif/wrong-pos according feedback

Co-authored-by: Sebastian Sellmeier <mail@sebastian-sellmeier.de>
2021-07-21 01:04:41 +02:00
Sebastian Sellmeier
17bf536969
Adjust lock_timeout to default 2021-07-21 01:04:40 +02:00
Sebastian Sellmeier
ad329ee195
missing file 2021-07-21 01:04:40 +02:00
Sebastian Sellmeier
be2d9a90dd
Fix i3lockcolor_bin (#251) 2021-07-21 01:04:40 +02:00
Basti
682e056aec
Fix default feh-command to match doc behaviour (#257) 2021-07-21 01:04:40 +02:00
Basti
a320ab3ff9
Improve/docs ci naming (#253)
* Fixes --lock not working with autodetection when started from zsh, avoids autodetect because of stability issues

* Prepare docs/workflow-config for merge-state
2021-07-21 01:04:40 +02:00
Basti
906259dd2b
Fixes --lock not working with autodetection when started from zsh, avoids autodetect because of stability issues (#254) 2021-07-21 01:04:39 +02:00
Basti
2b31627d59
Reformat and improve documentation, add install-script (#242) 2021-07-21 01:04:38 +02:00
Basti
8ab40b5af2
Determinate i3lock-color binary automatically with i3lock-color/i3lock or quit with error (#252) 2021-07-21 01:03:48 +02:00
Basti
709933350c
Check for dunstctl once as dunst is optional dependency (#250) 2021-07-21 01:03:48 +02:00
Jeff M. Hubbard
3c76a7ebfe
Fixed issue with --update failing due to quoting 2021-07-21 01:03:47 +02:00
Basti
6cc1fc16df
Issue-231: Add -v/--version (#246) 2021-07-21 01:03:47 +02:00
Basti
95bd5767ae
Use XDG_* variables for directories and /home/sebtm* only as fallback (ported from #184) (#244) 2021-07-21 01:03:47 +02:00
Basti
62b8002248
Add current github-workflow from master (#243) 2021-07-21 01:03:47 +02:00
Jeff M. Hubbard
d1d19e1ff0
Clear shellcheck errors 2021-07-21 01:03:47 +02:00
Sourav Das
321b8e8c5f
Don't change state of dunst on unlock if paused on lock (#233)
* Fix: Don't change state of dunst on unlock if paused on lock (credits to @souravdas142)
2021-07-21 01:03:46 +02:00
Jeff M. Hubbard
a64ce8f441
Left-align time string (#238) 2021-07-21 01:03:46 +02:00
Jeff M. Hubbard
66d9759159
Get DPI from xrdb, fixes #236 (#237)
`multi-monitor` branch did not check for user set DPI in Xresources.
It does now. Also, rather than parsing .Xresources file, we instead
query xrdb to get the current value.
2021-07-21 01:03:46 +02:00
Jeff M. Hubbard
c025de7b8f
Delete TODO.md 2021-07-21 01:03:46 +02:00
Jeff M. Hubbard
741567fa3e
Prepare to merge (#228)
* Fix loginbox position for vertical arrangements

* Fix tabs everywhere

* 110 Automatically deduce DPI

* 118 Add description for Void Linux installation

* 119 Add Timeout Option

* Update README for multi-monitor

* Keep original directory

* Update README

* Rename project files

* Always use defaults

* Rewrite update() and get_display_list()

* Add lock_timeout to defaults

* Fix ExecStart in systemd unit

* Update README

* Fix bad variable name in wallpaper()

* Remove quoting, it breaks things

* Fix paths and canvas color

* Effects now are optional to speed up updating cache

* Fix fx_dimblur()

* Add shadow to loginbox (#3)

* Add create_loginbox(), add loginshadow option
* Add loginshadow option to example config

* Add solid color background effect (#4)

* Use array and fix quoting

* Add color effect, create solid color backgrounds

* Update README

* Add more arguments and options (#5)

* New arguments and config options

* Update usage more

* Update README

* Minor text edits

* Relocate config and cache (#6)

* Move config and cache directories
* Make sure cache dir exists
* Reorder defaults, clarify options and theme
* Reformat example config
* Moved example config
* Update header info
* Fix quoting in DEFAULT_TIMEOUT

* Rewrite usage()

* Touch up comments and some syntax

* Update README, fix usage

* Fix passing arguments to i3lock

lockargs needs to be an array so that it can expand to multiple
arguments (preferable to using wordsplitting or eval instead).

* Scale loginbox based on DPI

Fixes jeffmhubbard/multilockscreen#7.

* Add failsafe to lock screen when images not found (#13)

* Add optional description box (#10)

* Add optional description box

The box is located in the bottom right corner
of the lock screen image and contains a
custom  description message
(e.g. to present a name for random images
or to display additional information)

Added option: --desc <DESCRIPTION>

* Adapt description to i3lock date font

* Description font queried like in i3lock-color

* description: force normal upright font style

* added support for dimpixel effect (#16)

* added support for using different images on different displays (#17)

* added support for using different images on different displays

* fixed list creation when passed a single image

* reworked how WALL_LIST is generated

* Fix span output (#19)

* Make output reflect one set of images is processed

* Return only 1 image when spanning

* Correct output in a few spots

* Add fancy output (#20)

* Add echo wrapper to prefix output

* Fix typo

* Update README.md (#21)

* Fixes misspelled fn (#22)

* Escape spaces in path for IM (#24)

* Minor fixes (#26)

* Better parsing --lock args

* Add --pass-media-keys

* Add --pass-screen-keys and --pass-power-keys

* Fix insanely short default timeout

* Make error text transparent

* Call init_config later, update example config (#27)

Reading config file later allows users to define
custom functions in config (prelock, postlock, etc)
Updated docs with example usage

* Fix suspend (#30)

* Fix borked logic in --lock arg that breaks suspend

* Don't check  before all arguments read

* Use `dunstctl` to (un)pause the dunst pre/post-lock. (#31)

Please be aware that, the use of dunstctl means that users will be forced to have dunst v1.5.0 or newer installed.

* Update LICENSE

* Disable DPMS after unlocking if it was originally disabled (#32)

* feat[multilockscreen]: Add --show-layout option (#36)

* Only change DPMS timeout if Enabled (#38)

* Fix #40 (#41)

Don't wait for `prelock()` and `postlock()` to complete

* Add bgcolor option to set i3lock --color (#44)

Closes #43

* Update systemd unit (#45)

* Fix options name for i3color-lock release 2.13.c.3 (#49)

With release 2.13.c.3 i3color-lock has added dashes before color, pos, size, etc.
https://github.com/Raymo111/i3lock-color/releases/tag/2.13.c.3

* Add checklist

* Rename script

* Extra files from upstream

* Update README

Keep most of betterlockscreen README. Replaced configuration,
usage, and usage examples.

* Update example config

* Fix branding, paths, etc

* Add wallpaper_cmd and time_format, long arg only

* Fix quoting, remove unused variable

Co-authored-by: Fox Kiester <noct@posteo.net>
Co-authored-by: Richard <fr34q@users.noreply.github.com>
Co-authored-by: Sheeets <31318683+sheeets@users.noreply.github.com>
Co-authored-by: Paul Zeinlinger <paul.zeinlinger@gmail.com>
Co-authored-by: Luc Caspar <casparluc@users.noreply.github.com>
Co-authored-by: R. David Dunphy <rdd.dunphy@gmail.com>
Co-authored-by: Artem Vasenin <vasart169@gmail.com>
Co-authored-by: Nicolas Serafini <serafini.nicolas@gmail.com>
2021-07-21 01:03:44 +02:00
Jeff M. Hubbard
dcc9166703
Fix loginbox position for vertical arrangements (#123) 2021-07-21 01:01:15 +02:00
Jeff M. Hubbard
49ce9ae7fa
add pixel effect 2021-07-21 01:01:15 +02:00
Jeff M. Hubbard
41d43f6323
Update README and example config 2021-07-21 01:01:13 +02:00
Jeff M. Hubbard
c6064ff970
Fix for wallpaper(), always span multi-monitor 2021-07-21 00:59:48 +02:00
Jeff M. Hubbard
e74dec7848
Removed commented code and fix spacing issues 2021-07-21 00:59:48 +02:00
Jeff M. Hubbard
e5e891786e
Multi-monitor rewrite
* init_filenames -> init_config
- remove -t from i3lock call since we make image for total resolution
+ add --screen to i3lock call to show time and ring on that screen
* rec_get_random -> get_user_wall
+ get_total_size retuns total combined resolution
+ get_display_list returns list of screens (number name geometry)
+ resize_and_render resize, dim, blur, dimblur image for each screen
+ purge_cache delete and recreate cache directories
* update completely rewritten to support multi-monitor
- arg --resolution; isn't needed
+ arg --display; screen to display loginbox (default: 0)
+ rc display_on; screen to display loginbox (default: 0)
+ arg --span; span image across all screens (default: false)
+ rc span_image; span image across all screens (default: false)
2021-07-21 00:59:48 +02:00
Pavan Jadhaw
3df1808280
[main] add ability to choose on which screen clock is shown for multimonitor setup 2021-07-21 00:59:46 +02:00
Sebastian Sellmeier
4a95562740
Update readme to show beta-release, rename workflow-config 2021-07-01 18:38:54 +02:00
Basti
1c36673ecb
Should fix #218 and #175 (#227) 2021-05-29 18:48:38 +02:00
Basti
bbe277c0db
Fix #217 - Change systemd-service type to forking (#224)
Besides user-feedback I've found many resources showing that it is one common way to use forking here.
I've also found the option "--nofork" for i3lock-color but I'm unsure of the side-effects (https://github.com/i3/i3lock/issues/109)
as it was the less popular solution.

https://gist.github.com/victorhaggqvist/603125bbc0f61a787d89
https://github.com/Raymo111/i3lock-color/issues/174#issuecomment-687149213
https://gist.github.com/Raymo111/91ffd256b7aca6a85e8a99d6331d3b7b
2021-05-28 23:36:46 +02:00