Moves conky to LEGACY

This commit is contained in:
Jonathan Hodgson 2019-07-30 15:12:16 +01:00
parent 5095b12c47
commit dc296d2a46
13 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,54 @@
background yes
update_interval 0.2
double_buffer yes
no_buffers yes
text_buffer_size 2048
gap_x 10
gap_y 10
own_window yes
own_window_type override
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
#own_window_argb_visual yes
#own_window_argb_value 128
border_inner_margin 0
border_outer_margin 0
alignment top_left
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no
# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Blue
color4 2f519a
# Green
color5 77B753
minimum_size 250 500
own_window_argb_value 0
own_window_argb_visual no
TEXT
${font GE Inspira:pixelsize=30}${execpi 60 python ~/.conky/BibleVerse/bibleGateway.py}
${color 2f519a}${execpi 60 python ~/.conky/BibleVerse/reference.py}

View file

@ -0,0 +1,11 @@
__author__ = 'jonathan'
import urllib.request
import json
import html
import textwrap
f = urllib.request.urlopen("http://www.biblegateway.com/votd/get/?format=json&version=ESV")
content = json.loads(f.read().decode("utf-8"))
print(textwrap.fill(html.unescape(content['votd']['text']),30))

View file

@ -0,0 +1,8 @@
__author__ = 'jonathan'
import urllib.request
import json
f = urllib.request.urlopen("http://www.biblegateway.com/votd/get/?format=json&version=ESV")
content = json.loads(f.read().decode("utf-8"))
print(content['votd']['reference'])