Skip to content

Latest commit

 

History

History
93 lines (80 loc) · 1.88 KB

File metadata and controls

93 lines (80 loc) · 1.88 KB

Entropy

A modular information display project

Installation

Tested under ArchARM

yaourt -Sy python-yaml python-pyqt5
pip install pyowm pytz
git clone https://github.com/budb/Entropy.git
cd ./Entropy/
python main.py

Usage

A configfile is required to initialize the program. P the file config.yml in the program folder. The api key can be acquired from http://openweathermap.org/appid. The place id can also be found at http://openweathermap.org/.

Example

general:
  background: './wallpaper.jpg'
  frameless: 'True'
widgets:
    clock:
      class: DigClock
      background: '#CFD8DC'
      position: center
      color: '#222222'
    weather:
      class: Weather
      api_key: 123456789abcdefghijklmnopqrstuvw
      place_id: 2911298
      color: '#222222'
      background: '#CFD8DC'
      position: [400,400]
      font_size: '22px'
    sign:
      class: Sign
      color: '#CFD8DC'
      background: 'transparent'
      position: [0,100]
      text: ['FREE','ALREADY DISTURBED','DO NOT DISTURB']
      font_size: '64px'
      button_size: '24px'
    quotes:
      class: Quotes
      color: '#CFD8DC'
      background: 'transparent'
      position: [1200,100]
      font_size: '24px'
      mode: 'False' # can be True or False for True or Fake Authors

Documentation

optional [Default]

####General

background: <path to wallpaper> or '#000000' frameless: 'True' [False]

####Clock

class: DigClock position: center[0,0] background: 'transparent' or '#000000' color: '#000000'

####Weather class: Weather api_key: 123456789abcdefghijklmnopqrstuvw place_id: 2911298 background: 'transparent' or '#000000' position: [400,400] color: '#000000' font_size: '22px'

####Sign class: Sign background: 'transparent' or '#000000' position: [400,400] color: '#000000' font_size: '22px' text: [''] font_size: '64px' button_size: '24px'