aboutsummaryrefslogtreecommitdiff
path: root/conky.dot.link/weather/conkyrc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-19 15:56:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-19 15:56:18 -0300
commitd763f83a314722f0d0b0917a32ff7400c7d09969 (patch)
tree081b5056c62c9f1f32159980757e8a3a11e0ef92 /conky.dot.link/weather/conkyrc
parent8eb5300d437a19ad85e7558d7eb9b0897ef4dd4e (diff)
downloadconky-d763f83a314722f0d0b0917a32ff7400c7d09969.tar.gz
conky-d763f83a314722f0d0b0917a32ff7400c7d09969.tar.bz2
Convert config to new format
Diffstat (limited to 'conky.dot.link/weather/conkyrc')
-rw-r--r--conky.dot.link/weather/conkyrc138
1 files changed, 71 insertions, 67 deletions
diff --git a/conky.dot.link/weather/conkyrc b/conky.dot.link/weather/conkyrc
index c0302d3..d0e3869 100644
--- a/conky.dot.link/weather/conkyrc
+++ b/conky.dot.link/weather/conkyrc
@@ -1,94 +1,97 @@
-#
-# conky configuration for weather information
-#
+conky.config = {
-# set to yes if you want conky to be forked in the background
-background yes
+-- conky configuration for weather information
-# X font when Xft is disabled, you can pick one with program xfontsel
-#font 5x7
-#font 6x10
-#font 7x13
-#font 8x13
-#font 9x15
-#font *mintsmild.se*
-#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
-# Use Xft?
-use_xft yes
+-- set to yes if you want conky to be forked in the background
+ background = true,
-# Xft font when Xft is enabled
-#xftfont courier-12
-xftfont Terminus:size=8
+-- X font when Xft is disabled, you can pick one with program xfontsel
+--font 5x7
+--font 6x10
+--font 7x13
+--font 8x13
+--font 9x15
+--font *mintsmild.se*
+--font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
-# Text alpha when using Xft
-#xftalpha 0.8
+-- Use Xft?
+ use_xft = true,
-# mail spool
-#mail_spool $MAIL
+-- Xft font when Xft is enabled
+--xftfont courier-12
+ font = 'Terminus:size=8',
-# Update interval in seconds
-update_interval 5.0
+-- Text alpha when using Xft
+--xftalpha 0.8
-# Create own window instead of using desktop (required in nautilus)
-own_window yes
-own_window_type override
-own_window_transparent yes
-own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
+-- mail spool
+--mail_spool $MAIL
-# Use double buffering (reduces flicker, may not work for everyone)
-double_buffer yes
+-- Update interval in seconds
+ update_interval = 5.0,
-# Minimum size of text area
-#minimum_size 280 5
+-- Create own window instead of using desktop (required in nautilus)
+ own_window = true,
+ own_window_type = 'override',
+ own_window_transparent = true,
+ own_window_hints = 'undecorate,sticky,skip_taskbar,skip_pager,below',
-# Draw shades?
-#draw_shades yes
+-- Use double buffering (reduces flicker, may not work for everyone)
+ double_buffer = true,
-# Draw outlines?
-#draw_outline no
+-- Minimum size of text area
+--minimum_size 280 5
-# Draw borders around text
-#draw_borders yes
+-- Draw shades?
+--draw_shades yes
-# Stippled borders?
-#stippled_borders 8
+-- Draw outlines?
+--draw_outline no
-# border margins
-#border_margin 4
+-- Draw borders around text
+--draw_borders yes
-# border width
-#border_width 1
+-- Stippled borders?
+--stippled_borders 8
-# Default colors and also border colors
-#default_color white
-#default_shade_color black
-#default_outline_color black
+-- border margins
+--border_margin 4
-# Text alignment, other possible values are commented
-alignment top_left
-#alignment top_right
-#alignment bottom_left
-#alignment bottom_right
+-- border width
+--border_width 1
-# Gap between borders of screen and text
-#gap_x 30
-#gap_y 25
-gap_x 20
-gap_y 30
+-- Default colors and also border colors
+--default_color white
+--default_shade_color black
+--default_outline_color black
-# Subtract file system buffers from used memory?
-no_buffers yes
+-- Text alignment, other possible values are commented
+ alignment = 'top_left',
+--alignment top_right
+--alignment bottom_left
+--alignment bottom_right
-# set to yes if you want all text to be in uppercase
-uppercase no
+-- Gap between borders of screen and text
+--gap_x 30
+--gap_y 25
+ gap_x = 20,
+ gap_y = 30,
-# increase buffer size
-text_buffer_size 400
+-- Subtract file system buffers from used memory?
+ no_buffers = true,
-# stuff after 'TEXT' will be formatted on screen
+-- set to yes if you want all text to be in uppercase
+ uppercase = false,
-TEXT
+-- increase buffer size
+ text_buffer_size = 400,
+
+-- stuff after 'TEXT' will be formatted on screen
+
+};
+
+conky.text = [[
Weather
$stippled_hr
${execi 3600 weather-query weather}
@@ -124,3 +127,4 @@ ${voffset -165}${goto 490}${execpi 3600 weather-query brweather --option=LUA1T}
+]];