index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (1078B)
---
1 Foreground Image
2 ================
3
4 Description
5 -----------
6 This patch lets you add a foreground image to your lock screen.
7
8 Configuration Options
9 ---------------------
10 * `imgpath` - is path to image to display, image must be xpm file
11 * `imgwidth` - width of the image
12 * `imgheight` - height of the image
13 * `imgoffsetx` - image offset from left side
14 * `imgoffsety` - image offset from top side
15 * `showimgonlyatstart` - if set to 1 image will be shown only at the start (before tipying), if set to 0 image will be always shown
16
17
18 Xpm Image
19 ---------
20 Xpm image is bitmap image used by X Windows System. It's one of the few image formats that is supported by Xorg by default.
21
22 Convert jpg to xpm:
23 ```
24 convert image.jpg -geometry 1920x1080 -colors 216 image.xpm
25 ```
26
27 Notes
28 -----
29 This is [patch](https://github.com/ViliamKovac1223/slock-foreground-image-patch) also hosted on my [github](https://github.com/ViliamKovac1223).
30
31 Download
32 --------
33 * [slock-foreground-image-20211210.diff](slock-foreground-image-20211210.diff)
34
35 Authors
36 -------
37 * Viliam Kováč - viliamkovac1223@gmail.com