sudo apt-get updatesudo apt-get install -y libx11-dev libxfixes-dev libxrandr-dev xserver-xorg-dev libxinerama-dev libpam0g-dev libxft-devBuilding release build:
./build.shBuilding debug build:
./build.sh debugCleaning:
./build.sh clean./build/minimalist-Lockscreen --image /path/to/image.png --suspend 600--imageis the path to the image you want to use as a wallpaper.--suspendis the time in seconds after which the computer will be suspended (systemctl suspendis called).
Alternatively, you can use the --color argument to specify a solid background color:
./build/minimalist-Lockscreen --color "ff0000" --suspend 600--colorsets the background color as a hexadecimal value. RGB (ex:#ff0000) and RGBA (ex:#ff0000ff) values are supported.
If both --image and --color are provided, --image takes precedence.
The application listens to DPMS and Screensaver events to lock the screen when the screen is turned off and the screensaver is activated (if screensaver is enabled after the screensaver timeout).
xset dpms 300 360 420 # Standby Suspend Offxset s on
xset s 330 0xset s off
xset -dpmsxset q- only redraw the part of the wallpaper that needs to be redrawn
- allow missing args
- make date and unlock indicator modules as well
- support for config file
- support for custom colors
- support for multiple wallpapers for multiple monitors
- custom modules support (ex: display weather, music, calendar at given positions)
- video support
