Skip to content

20-20-20 rule enforcer for compositors implementing ext-session-lock

Notifications You must be signed in to change notification settings

waycrate/twenty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twenty

20-20-20 rule enforcer for compositors implementing ext-session-lock. Twenty makes sure that you look 20 ft away every 20 minutes for 20 seconds to relax your eyes.

Uses waycrate/exwlshelleventloop/iced_sessionlock for locking the screen.

Installing

You can compile it using cargo or via baker.

via baker

bake setup
bake
sudo bake install

A binary will be copied to ./bin/twenty

via cargo

cargo build --release

A binary will be copied to ./target/release/

Usage

[] indicates optional arguments.

Initializing the program.

twenty --init [light/dark]

The lock screen defaults to dark mode unless specified otherwise.

Killing the program

twenty --kill

Uninstalling

sudo bake uninstall

Authored by rv178 and shivkr6

About

20-20-20 rule enforcer for compositors implementing ext-session-lock

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages