From ba42e819b7a860486ef3de13e7718d0263184b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Soykan=20Ert=C3=BCrk?= Date: Fri, 27 Mar 2020 00:22:52 +0300 Subject: [PATCH] Requirements of sun module --- Modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules.md b/Modules.md index 85d22c5..18b61e0 100644 --- a/Modules.md +++ b/Modules.md @@ -61,7 +61,7 @@ |spacer |Draws a widget with configurable text content.

Parameters:
* spacer.text: Widget contents (defaults to empty string)
| |spotify |Displays the current song being played
Requires the following library:
* python-dbus
Parameters:
* spotify.format: Format string (defaults to "{artist} - {title}")
Available values are: {album}, {title}, {artist}, {trackNumber}, {playbackStatus}
* spotify.previous: Change binding for previous song (default is left click)
* spotify.next: Change binding for next song (default is right click)
* spotify.pause: Change binding for toggling pause (default is middle click)
Available options for spotify.previous, spotify.next and spotify.pause are:
LEFT_CLICK, RIGHT_CLICK, MIDDLE_CLICK, SCROLL_UP, SCROLL_DOWN
| |stock |Display a stock quote from worldtradingdata.com

Requires the following python packages:
* requests

Parameters:
* stock.symbols : Comma-separated list of symbols to fetch
* stock.change : Should we fetch change in stock value (defaults to True)
| -|sun |Displays sunrise and sunset times

Parameters:
* cpu.lat : Latitude of your location
* cpu.lon : Longitude of your location
| +|sun |Displays sunrise and sunset times

Requires the following python packages:
* requests
* suntime

Parameters:
* cpu.lat : Latitude of your location
* cpu.lon : Longitude of your location
| |system | system module

adds the possibility to
* shutdown
* reboot
the system.

Per default a confirmation dialog is shown before the actual action is performed.

Parameters:
* system.confirm: show confirmation dialog before performing any action (default: true)
* system.reboot: specify a reboot command (defaults to 'reboot')
* system.shutdown: specify a shutdown command (defaults to 'shutdown -h now')
* system.logout: specify a logout command (defaults to 'i3exit logout')
* system.switch_user: specify a command for switching the user (defaults to 'i3exit switch_user')
* system.lock: specify a command for locking the screen (defaults to 'i3exit lock')
* system.suspend: specify a command for suspending (defaults to 'i3exit suspend')
* system.hibernate: specify a command for hibernating (defaults to 'i3exit hibernate')
| |taskwarrior |Displays the number of pending tasks in TaskWarrior.

Requires the following library:
* taskw

Parameters:
* taskwarrior.taskrc : path to the taskrc file (defaults to ~/.taskrc)
| |test |Test module
|