Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deficient/screensaver
Widget for the awesome WM to control screensaver timeout
https://github.com/deficient/screensaver
awesome-wm screensaver widget
Last synced: 4 months ago
JSON representation
Widget for the awesome WM to control screensaver timeout
- Host: GitHub
- URL: https://github.com/deficient/screensaver
- Owner: deficient
- License: unlicense
- Archived: true
- Created: 2016-05-10T20:13:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T20:11:17.000Z (6 months ago)
- Last Synced: 2024-08-18T21:27:06.229Z (6 months ago)
- Topics: awesome-wm, screensaver, widget
- Language: Lua
- Size: 12.7 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-awesomewm-modules-widgets-and-libraries - screensaver
- awesome-awesomewm-modules-widgets-and-libraries - screensaver
README
**This repository has been assimilated into** https://github.com/deficient/deficient
## awesome-screensaver
### Description
Widget for the [awesome window manager](https://awesome.naquadah.org/) 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:
```bash
cd ~/.config/awesome
git clone https://github.com/deficient/screensaver.gitsudo pacman -S xorg-xset
```### Usage
In your `~/.config/awesome/rc.lua`:
```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
* [awesome 4.0](http://awesome.naquadah.org/) or possibly 3.5
* xorg xset