This repository has been assimilated into https://github.com/deficient/deficient
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
.
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
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)
- awesome 4.0 or possibly 3.5
- xorg xset