Skip to content

Widget for the awesome WM to control screensaver timeout

License

Notifications You must be signed in to change notification settings

deficient/screensaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awesome-screensaver

Description

Widget for the awesome window manager that allows to enable/disable the screensaver and change the timeout for the screensaver to activate. Currently, the only supported mode is black-screen/monitor-poweroff.

The implementation depends on xset.

Installation

Drop the script into your awesome config folder. Suggestion:

cd ~/.config/awesome
git clone https://github.com/deficient/screensaver.git

sudo pacman -S xorg-xset

Usage

In your ~/.config/awesome/rc.lua:

-- load the module
local screensaver = require("screensaver")


-- instanciate the control
screensaver_ctrl = screensaver({})


-- add the widget to your wibox
right_layout:add(screensaver_ctrl.widget)

Requirements

About

Widget for the awesome WM to control screensaver timeout

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages