Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (28 loc) · 962 Bytes

README.md

File metadata and controls

47 lines (28 loc) · 962 Bytes

This repository has been assimilated into https://github.com/deficient/deficient

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