Sebastian Sellmeier
ee1a64375e
Change back to i3lock-command. Fixes #210 ( #211 )
2021-05-18 17:26:53 +02:00
Sebastian Sellmeier
929205022c
Add shellcheck-action, fix shellcheck-errors ( #206 )
2021-05-15 12:43:43 +02:00
Sebastian Sellmeier
3be77f6854
Add option for time-format (with default-config) from #185 ( #205 )
...
* Add an option to change the time format
* Add option to example-config
Co-authored-by: Addison Bean <addisonbean@gmail.com>
2021-05-15 11:36:48 +02:00
E. Almqvist
2d1a53e245
Added i3lock option
...
Added `-c 00000000` to make the backgrounds opacity to 0.
2021-04-17 01:30:30 +05:30
AUTplayed
66411bc8da
Added config & cmd arg to change wallpaper setter; don't create .fehbg
2020-05-15 10:15:18 +02:00
Aicaya
7774266ee6
Restore previous DPMS setting if turned off ( #151 )
...
* Restore previous DPMS setting if turned off
Added the variable 'default_dpms', which reads the last element of line
26 ("DPMS is Enabled/Disabled"). If it's disabled, it restores that
setting upon login.
This fixes an issue where if the user had manually turned off DPMS, the
screen will still turn itself off after a while.
* Look for string instead of line number
(also use tabs for indents to match code)
2020-01-23 21:27:29 +01:00
Kieran Siek
82d1a7280e
Fix typo when getting DPI from .Xresources ( #140 )
2019-09-14 17:53:22 +02:00
Yanze Li
6c66db535f
fix scaling when Xft.dpi are set ( #114 )
2019-09-02 21:52:00 +02:00
yurisuki
69ae265a40
add the --pass-media-keys argument ( #120 )
2019-09-02 21:48:02 +02:00
Ibrahim Jarif
11bb4e1c6d
Fix null check for lock_timeout
...
This commit fixes an issue with the validating the `lock_timeout` value. The current implementation would complain if `lock_timeout` value is null.
2019-09-02 21:31:49 +02:00
ettom
89f7dcd2be
Make compatible with shellcheck
...
Add double quotes for variables, fix minor semantic problems.
2019-06-14 10:17:09 +05:30
Vivek R
643ea70aa7
Add Timeout Option ( #119 )
...
This adds an opton to set custom monitor timeout in seconds.
Timeout only applicable during lockscreen.
Reverts back to normal timeout after logging back in.
Closes https://github.com/pavanjadhaw/betterlockscreen/issues/116
2019-05-28 23:18:22 +05:30
Andre Schröder
cdb603a3f2
Automatically deduce DPI ( #110 )
...
With this commit the DPI doesn't have to be listed in the ~/.Xresources and will be deduced automatically.
2019-03-31 13:15:31 +00:00
Kamil Skowron
d022301c38
Fix: Allow to remove current
directory ( #112 )
...
* Fix: Allow to delete `current` directory
* Further improvements just in case new screen resolution
2019-03-28 16:34:30 +00:00
Ben Allen
ed2e9d80bb
Added pixelation lock mode ( #101 )
...
* Added pixelation lock option
2019-02-12 08:35:52 +05:30
Pavan Jadhaw
364848eec6
[update] rc, custom lockscreen text
2019-02-07 08:54:35 +05:30
Pavan Jadhaw
08440bab90
[main] rm un-needed greeter-font flag
2019-01-30 14:38:43 +05:30
Lélio Brun
4edcd0c452
Add support to change default font ( #96 )
2019-01-29 18:25:55 +05:30
Philipp Hemmelmayr
839a3746d2
fixed #93
2019-01-28 20:20:13 +01:00
Jeff M. Hubbard
24b089297e
Add simple color themes ( #90 )
...
* Add ability to change colors without modifying script
* Better name and location for config
2019-01-06 15:21:49 +05:30
Philipp Hemmelmayr
5a2fbbaddd
removed warnings
2019-01-05 18:44:47 +01:00
Yohann Leon
e33fc1dacb
fix: return default dpi pixel coordinates if no dpi is set
2018-12-12 00:29:17 +01:00
Yohann Leon
271bb03368
fix: hardcoded DPI value in logical_px()
2018-12-11 17:41:00 +01:00
Yohann Leon
9e96fa323f
add: support for HiDPI screens
2018-12-10 22:41:59 +01:00
Mike Mob
5007d00536
Pass argument directory to i3lock ( #79 )
...
New "--" argument to pass arguments directly to i3lock
String optimizations
2018-11-04 10:52:53 +05:30
zv0n
031140d5c4
Add ability to set custom lockscreen text, tabs ( #65 )
2018-09-17 13:33:41 +00:00
Bosmak
33b7763283
lockscreen after suspend using systemd service ( #51 ) ( #53 )
...
* lockscreen after suspend using systemd service (#51 )
* renaming .service to betterlockscreen.service
* adding TimeoutSec to betterlockscreen.service
2018-09-15 23:36:56 +05:30
dunCan
441d091da6
Updated lockselect() function and argument -s ( #69 )
...
You can just remove second argument in lockselect() function and execute suspend command directly from the case.
2018-08-13 09:23:40 +05:30
Thomas Magalhaes
2753996e88
betterlockscreen: fix lock resolution not being used ( #66 )
...
Due to recent changes, the resolution option's output was never
used. Fix that by setting a current directory in order to always use
the intended resolution.
2018-06-19 22:53:27 +05:30
zv0n
864d00eec3
check if dunst is running
2018-06-13 15:37:45 +05:30
Jonas Collberg
265fa106fc
Save images in different directories depending on resolution ( #62 )
...
This makes the script dynamically select the correct cached version of
the image, depending on the current resolution.
2018-06-12 20:57:01 +05:30
zvon
2e0a6dbcc3
Fix time position on multi-monitor setup
2018-05-31 23:56:22 +02:00
Terencio Agozzino
89e620cbfe
Fix exempli gratia and a few forgotten points.
2018-05-20 20:26:18 +02:00
Terencio Agozzino
6a29c5145a
Fix typo with two dots
2018-05-20 20:18:06 +02:00
Philipp Hemmelmayr
3217a0b564
unified indentation, removed duplicate code ( #50 )
2018-04-27 22:48:51 +05:30
Philipp Hemmelmayr
368b30495d
add nofork argument when locking without suspend ( #48 )
2018-04-26 14:57:15 +05:30
Pavan Jadhaw
c120c12cf1
Make betterlockscreen compatible with wip rewrite of i3lock-color ( #37 )
...
* Changed time position property to be compatible with i3lock update
* Also changed date position variable
* Use latest text color properties
* Remove no input text
2018-04-11 19:18:00 +05:30
Pavan Jadhaw
73bff1ca38
Switch to rgba for rectangle opacity rendering.
2018-04-08 21:58:39 +05:30
Jean-Samuel Aubry-Guzzi
2565b6a1e8
Changes how the rectangle opacity is rendered
2018-04-08 21:55:27 +05:30
Henry Nelson
fc9c6b2905
Lock before suspend to prevent race ( #28 )
...
For suspend to work consistently, the screen must be locked before the
suspend. Otherwise, occasionally the suspend will occur before the
screen locks, resulting in a wakeup to a momentarily unlocked screen.
2018-01-17 17:55:51 +05:30
Pavan Jadhaw
4c938cb1ce
fix typo
2018-01-02 07:52:12 +05:30
Pavan Jadhaw
cd33700ba2
Just small change
2017-12-31 22:11:51 +05:30
bjarkt
13bdde37c0
Replace #!/usr/bin/bash with #!/usr/bin/env bash. ( #23 )
2017-12-31 11:45:50 +05:30
Denys Pavlov
020b597c43
Add custom blurring level, speed up blur ( #21 )
...
Replace gaussian blur with shrinking and scaling the image. Adjust the
shrinking and scaling factors based on a number set by the user. The
default blur level should keep the blur about the same.
2017-12-29 20:07:27 +05:30
Targuinius
e53a3bea25
Add multimonitor support along with option to set custom resolution ( #19 )
2017-12-24 10:06:53 +05:30
Drew Walters
7dd83ed6e9
Add suspend and lock support ( #20 )
2017-12-24 10:03:52 +05:30
Philipp Hemmelmayr
828df2052d
added forced clock ( #16 )
2017-12-19 18:52:53 +05:30
Pavan Jadhaw
5e775c59a4
dont pause player when locked
2017-12-16 21:13:16 +05:30
Pavan Jadhaw
73a62022a2
update docs
2017-12-14 08:46:51 +05:30
Philipp Hemmelmayr
80a69a42a9
rename script to fit repo name ( #11 )
...
* rename script to fit repo name
* obviously also update the docu
2017-12-14 03:10:51 +00:00