Commit graph

27 commits

Author SHA1 Message Date
Vincent Bernat
2ff8e9bacd dimmer: handle wide screens split in two 2023-04-25 11:34:53 +02:00
Vincent Bernat
b0fd8f4a04 xss-dimmer: recent versions of Gdk seems to handle HiDPI differently
Or maybe that's GTK changing the way it reports position?
2023-01-29 15:50:41 +01:00
Vincent Bernat
44b6f25170 xss-dimmer: try again to have sound using Gstreamer 2022-08-02 15:52:28 +02:00
Vincent Bernat
7b1c7c13d5 Revert "xss-dimmer: play a sound to notice dimmer when not looking at the screen"
This reverts commit 131962b3a6. Well,
doesn't work.
2022-05-11 21:21:02 +02:00
Vincent Bernat
131962b3a6 xss-dimmer: play a sound to notice dimmer when not looking at the screen
Second try, but tell SDL to install a signal handler.
2022-05-11 21:01:08 +02:00
Vincent Bernat
e52f0e4bc3 Revert "xss-dimmer: play a sound to notice dimmer when not looking at the screen"
This reverts commit 398ef9263b. pygame
intercepts SIGTERM. Maybe we could use Gstreamer instead. No time for
that, let just remove this feature for now.
2022-05-11 20:55:42 +02:00
Vincent Bernat
398ef9263b xss-dimmer: play a sound to notice dimmer when not looking at the screen 2022-04-30 16:19:06 +02:00
Vincent Bernat
2351fe909c xss-dimmer: use none as a default easing function
Now that picom does not change opacity of the window, this is just
fine.
2021-12-20 10:43:06 +01:00
Vincent Bernat
76dfac0d99 xss-dimmer/xsecurelock: handle case where background is too small 2021-12-13 21:20:58 +01:00
Vincent Bernat
53c5ecdfb2 xss-dimmer: correctly handle opacity
We were using operator source which does not compose using opacity.
2021-12-13 18:38:47 +01:00
Vincent Bernat
9beed1de33 xss-dimmer: invert outline drawing 2021-12-09 23:10:56 +01:00
Vincent Bernat
efd887f51a xss-dimer: blacken 2021-12-08 19:43:59 +01:00
Vincent Bernat
74ab3229df xss-dimmer: avoid font jumping by using a fixed width to format text
Also, use the same font as when the screen is locked.
2021-12-08 19:06:00 +01:00
Vincent Bernat
237fc329bc xsecurelock: display a clock 2021-12-08 18:25:15 +01:00
Vincent Bernat
4997db033a xsecurelock: replace i3lock
Currently, there is nothing "new". But I plan to do more at some point.
2021-12-08 17:21:01 +01:00
Vincent Bernat
a4bd93b969 xss-dimmer: seperate timer handling from drawing 2021-12-08 00:28:47 +01:00
Vincent Bernat
e6a82ab0a2 xss-dimmer: change default easing function 2021-11-29 23:03:04 +01:00
Vincent Bernat
b48064be34 xss-dimmer: simplify easing function names 2021-09-29 15:30:26 +02:00
Vincent Bernat
7f04bb6cf0 xss-dimmer: even more easing functions 2021-09-29 07:12:03 +02:00
Vincent Bernat
dc6c2f05ff xss-dimmer: add easing functions 2021-09-29 06:56:08 +02:00
Alexandre Macabies
ba0e511bb3 xss-dimmer: remove unused variable 2021-09-08 23:49:43 +02:00
Vincent Bernat
cef1c1982b xss-dimmer: be more precise with timer duration 2021-09-07 21:56:54 +02:00
Vincent Bernat
0106eddaff xss-dimmer: handle HiDPI screens 2021-09-06 21:31:44 +02:00
Vincent Bernat
f25552e4cb xss-dimmer: start from 0 opacity to 1 opacity 2021-09-06 17:49:59 +02:00
Vincent Bernat
100a79c9e1 xss-dimmer: accept a background 2021-09-06 14:57:32 +02:00
Vincent Bernat
432149fd91 xss-dimmer: add an outline on countdown timer 2021-09-06 14:15:15 +02:00
Vincent Bernat
f7e0fd5250 dimmer: rename to xss-dimer 2021-08-10 16:17:02 +02:00
Renamed from bin/dimmer (Browse further)