Skip to content
al0rid4lPublic

About

Screen locker based on Quickshell

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

qslock

Screen locker based on Quickshell

Image

Requirements

  • Quickshell v0.3.0

Usage

$ git clone --depth=1 https://github.com/al0rid4l/qslock.git
$ mkdir -p ~/.config/quickshell && ln -sf "$(realpath qslock/qslock)" ~/.config/quickshell/qslock
$ qs -c qslock

Integration with swayidle

lock 'pidof qslock || bash -c "exec -a qslock qs -c qslock"'
before-sleep 'loginctl lock-session'
timeout 900 'loginctl lock-session'
timeout 1200 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors'
timeout 1800 'systemctl suspend'
idlehint 900

swayidle.service

[Unit]
Description=swayidle service
PartOf=graphical-session.target
After=graphical-session.target
[Install]
WantedBy=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/swayidle -w
TimeoutSec=5

Configuration

All options can be found in QSLockConfig.qml

About

Screen locker based on Quickshell

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages