You are not logged in.
Another thing for Conky v1.10 - it comes with "convert.lua" that does a fairly decent conversion of conky v1.9 to v1.10. I copied it to /media/5/Conky/convert-lua/convert.lua
And convert.lua should have been installed with conky, but not on the $PATH.
On Void, it's located in /usr/share/conky; I think it's the same for Debian, or maybe in /usr/share/doc/conky.
Of course, you can always get it from the git page.
Last edited by PackRat (2017-05-05 22:38:42)
You must unlearn what you have learned.
-- yoda
Online
A question for the lua coders. Can a lua function send a notification to the system tray?
If so, you have a link to an example?
You must unlearn what you have learned.
-- yoda
Online
Sector11 = lua challanged
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ fvirgola80
Hi there ... looks good, I like it.
I'm doing fine here. You have been absent for a while. Work?
Later my friend.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ ragamatrix
Could not find the file. Are you sure of the URL?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Been thunderstorming all day so I tweaked the hell out if a "few" conkys merging them and a couple of LUA scripts not to mention a couple of Tteo's scripts one weather and one moon script included as well:
The Frankenconky! It Lives! It was that last bolf of lightning I know it!
But, 'it's peaceful and wants to be your friend.
Calendar tweaked one from mobilediesel (I think) from back in my Ubuntu days
Air Clock by Alison Pitt (2009)
Some of the conky layout comes from mzsade - tweaked.
The weather is a tweak from Temetka
Weather script 1_accuweather by TeoBigusGeekus
Moon script 4_moom by TeoBigusGeekus
Currency code tweaked from code by Inodoro-Pereyra
Bottom like emaii by kaivalagi (conkyEmail) and volume by {cough cough} - me.
Draw-background by mrpeachy - wherever you are KUDOS, my friend
For some old timers: Pure CCCC! as londonali1010 said.
BunsenlabRat in the making:
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ ragamatrix
Could not find the file. Are you sure of the URL?
Hi Sector11, I'm back I don't understand your URL message, what is the topic ? Guys you've done great conky work oO
Offline
Ummm neither do I but if my OOPS! got a Hi out of you old friendf, then it's a good day.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ fvirgola80
Hi there ... looks good, I like it.
I'm doing fine here. You have been absent for a while. Work?Later my friend.
@ Sector11
You are too loving my friend but these days I am releasing I have a project in the head .... a new mega conky .... I update you
Later my friend
Nothing happens by chance
Offline
Well ... mrpeachy's v9000 weather script ... now three years old still works in conky v1.90
so I ripped out conky 9 for conky 10:
$ c9-10
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
conky-all*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,266 kB disk space will be freed.
(Reading database ... 170978 files and directories currently installed.)
Removing conky-all (1.9.0-6) ...
Purging configuration files for conky-all (1.9.0-6) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
apcupsd audacious moc mpd xmms2
The following NEW packages will be installed:
conky-all
0 upgraded, 1 newly installed, 0 to remove and 164 not upgraded.
Need to get 0 B/422 kB of archives.
After this operation, 1,672 kB of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package conky-all.
(Reading database ... 170948 files and directories currently installed.)
Preparing to unpack .../conky-all_1.10.6-1~bpo8+1_amd64.deb ...
Unpacking conky-all (1.10.6-1~bpo8+1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up conky-all (1.10.6-1~bpo8+1) ...
and ran the same conky:
Obviously I put conky v1.90 back online:
$ c10-9
[sudo] password for sector11:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
conky-all*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,672 kB disk space will be freed.
(Reading database ... 170981 files and directories currently installed.)
Removing conky-all (1.10.6-1~bpo8+1) ...
Purging configuration files for conky-all (1.10.6-1~bpo8+1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
apcupsd audacious moc mpd xmms2
The following NEW packages will be installed:
conky-all
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/328 kB of archives.
After this operation, 1,266 kB of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package conky-all.
(Reading database ... 170948 files and directories currently installed.)
Preparing to unpack .../conky-all_1.9.0-6_amd64.deb ...
Unpacking conky-all (1.9.0-6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for menu (2.1.47) ...
Setting up conky-all (1.9.0-6) ...
Processing triggers for menu (2.1.47) ...
When Debian Stretch come - let's please keep conky v1.90 in BunsenLabs
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
When Debian Stretch come - let's please keep conky v1.90 in BunsenLabs
I can confirm the procedure with the latest Conky version in arch-linux.
pacman -Qi conky
Name : conky
Version : 1.10.6-2
Beschreibung : Lightweight system monitor for X
Architektur : x86_64
URL : https://github.com/brndnmtthws/conky
Lizenzen : BSD GPL
Gruppen : Nichts
Stellt bereit : Nichts
Hängt ab von : glib2 lua wireless_tools libxdamage libxinerama libxft
imlib2 libxml2 libpulse
Optionale Abhängigkeiten : Nichts
Benötigt von : Nichts
Optional für : Nichts
In Konflikt mit : Nichts
Ersetzt : Nichts
Installationsgröße : 9,78 MiB
Packer : Gaetan Bisson <bisson@archlinux.org>
Erstellt am : Di 16 Mai 2017 10:26:20 CEST
Installiert am : Mi 17 Mai 2017 19:43:20 CEST
Installationsgrund : Ausdrücklich installiert
Installations-Skript : Nein
Verifiziert durch : Signatur
An empty window is displayed. The error message lets me guess that calling the Lua script with the new Conky syntax
must be different.
...
conky: llua_do_call: function conky_weather_settings execution failed: attempt to call a nil value
conky: llua_do_call: function conky_weather_settings execution failed: attempt to call a nil value
..
Unfortunately, I can also from the linked examples of @mrneilypops draw any conclusions.
@mrpeachy would have found the solution already...
for control
conky.config = {
--# To use #! in a conky use: ${exec echo '#!'}
-- pkill -xf "conky -q -c /media/5/Conky/S11_v9_10d-24h.conky" &
--#
--# The latest script is a lua only weather script. aka: v9000
--# http://crunchbang.org/forums/viewtopic.php?id=16100
--#
--# the file:
--# http://dl.dropbox.com/u/19008369/current%20v9000/v9000.tar.gz
--# ### NO LONGER GOOD ###
--#
--# mrppeachys LUA Tutorial
--# http://crunchbang.org/forums/viewtopic.php?id=17246
--#
--#
--## Begin Window Settings ##################################################
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'normal',
own_window_hints = 'below,skip_taskbar,skip_pager',--undecorated,
own_window_transparent = false,
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Lichtenstein Germany - 24Std - 10Tage Weather Forecast',
-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,
--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
own_window_argb_visual = true,
--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value = 60,
--minimum_size 1120 370 #860 260 ##820 260 ## width, height
--maximum_width 1120 ##860 ## width, usually a good idea to equal minimum width
--minimum_size 1850 370 #860 260 ##820 260 ## width, height
--maximum_width 1850 ##860 ## width, usually a good idea to equal minimum width
minimum_width = 1380, minimum_height = 0,--# w|h
maximum_width = 1380,
gap_x = 0,--## left &right
gap_y = 10,--## up & down
alignment = 'top_middle',
--alignment top_left
--################################################### End Window Settings ###
--## Font Settings ##########################################################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
--xftfont Anonymous Pro:size=9
font = 'Monofur:size=12',
-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,
draw_shades = true,
default_shade_color = 'black',
draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',
uppercase = false,
--##################################################### End Font Settings ###
--## Color Settings #########################################################
default_shade_color = 'gray',
default_outline_color = 'black',
default_color = '#DCDCDC',--220 220 220 Gainsboro
--default_color C0C0C0 #192 192 192 Silver
--default_color B0E0E6 #176 224 230 PowderBlue
color0 = '#8FBC8F',--143 188 143 DarkSeaGreen
color1 = '#778899',--119 136 153 LightSlateGray
color2 = '#D8BFD8',--216 191 216 Thistle
color3 = '#9ACD32',--154 205 50 YellowGreen
color4 = '#FFA07A',--255 160 122 LightSalmon
color5 = '#FFDEAD',--255 222 173 NavajoWhite
color6 = '#00BFFF',-- 0 191 255 DeepSkyBlue
color7 = '#5F9EA0',-- 95 158 160 CadetBlue
color8 = '#BDB76B',--189 183 107 DarkKhaki
color9 = '#CD5C5C',--205 92 92 IndianRed #FF0000 #255 0 0 Red
--#################################################### End Color Settings ###
--## Borders Section ########################################################
draw_borders = false,
-- Stippled borders?
stippled_borders = 0,
-- border margins
border_inner_margin = 5,
border_outer_margin = 0,
-- border width
border_width = 0,
-- graph borders
draw_graph_borders = false,
--default_graph_size 15 40
--#################################################### End Borders Secton ###
--## Miscellaneous Section ##################################################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',
-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
text_buffer_size = 256,
-- Subtract (file system) buffers from used memory?
no_buffers = true,
-- change GiB to G and MiB to M
short_units = true,
-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,
-- Maximum size of user text buffer, i.e. layout below TEXT line in config file
-- (default is 16384 bytes)
-- max_user_text 16384
-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit
--############################################# End Miscellaneous Section ###
--## LUA Settings ###########################################################
lua_load = '~/v9000/v9000.lua',
lua_draw_hook_post = 'weather',
lua_load = '~/10d_24h/S11-10d-24h-template.lua',
--####################################################### End LUA Settings ###
update_interval = 1,
};
conky.text = [[
${color C0C0C0}${font LED_mono:size=40}${goto 50}${time %T}${alignr 50}${time %d:%m:%Y}${font}${color}
]];
Online
Working on a new "Keyboard Conky" big_smile
game matz O:)
Online
Online
^ Mine would be simple too:
${if_exist "battery"}${echo "You're on the wrong computer - RUN ... NOW!"}${end_if}
Love the wallpaper!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Here, a couple of posts above, I showed my first conky(s). well, today was another rainy day so between life things in the house I woke up the old code and started tweaking...
The conky starts like this:
# conkymain
# 09/01/2008
looked like this when I fired it up ...
So I get started, I added the missing font, HandelGotD, didn't like it, changed to another I have here, ripped out parts I don't care for, added parts I wanted and tweaked, re-tweaked and re-re-tweaked and this is what it ended up like - so far:
Needs a weather tweak
##### ORIGINAL CODE ABOVE TEXT #################################################
# conkymain
# 09/01/2008
#background yes
#own_window yes
#own_window_type normal #override
#own_window_transparent yes
#own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
#own_window_colour black
#
#double_buffer yes
#use_spacer yes
#use_xft yes
#xftfont HandelGotD:size=8
#xftalpha 0.5
#update_interval 1.0
#draw_shades yes
#draw_outline no
#draw_borders no
#uppercase no
#stippled_borders 3
#border_margin 9
#border_width 10
#default_color white
#own_window_colour brown
#own_window_transparent yes
##alignment top_left
#alignment top_right
##alignment bottom_left
##alignment bottom_right
#gap_x 10
#gap_y 25
#Subtract file system buffers from used memory?
#no_buffers yes
# FOR MY INFO
# last month
# ${font DejaVu Sans Mono :size=8}${execi 60 cal -3 | cut -c00-22}
# this month
# ${execi 60 cal}
# next month
# ${execi 60 cal -3 | cut -c45-64}$font
# this month and next month
# ${font DejaVu Sans Mono :size=8}${execi 60 cal -3 | cut -c23-64}$font
# For international dates & times ${tztime} see: /usr/share/zoneinfo
# Leave 3 blank lines below TEXT to clear panels
# add this line below TEXT to test things, remove when finished.
#${color3}Fix me: CPU Temp: ${color white}${acpitemp}C ${color}
#${color9}Test Cmds Above ${hr 3} ${color}
##### END ORIGINAL CODE ABOVE TEXT #############################################
##### NEW CODE ABOVE TEXT ######################################################
##pkill -xf "conky -q -c /media/5/Conky/conkymain-may-2017" &
## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below
own_window_colour 000000
own_window_class Conky
own_window_title 1st Conky revisited
#own_window_argb_visual yes
#own_window_argb_value 80
minimum_size 250 0
maximum_width 250
gap_x 10 ## l|r
gap_y 10 ## u|d
#minimum_size 400 00
#maximum_width 400
alignment tr
## ---------- End Window Settings
## ---------- Font Settings
## Force UTF8? requires XFT
override_utf8_locale yes
## Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Fira Mono:bold:size=10
xftalpha 1.0
## --------- End Font Settings
## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000
default_color DCDCDC #Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 454545 #unseen cal
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
## ---------- End Color Settings
## ---------- Begin Borders Section
draw_borders no
stippled_borders 5
border_inner_margin 9
border_outer_margin 0
border_width 10
draw_graph_borders yes
#default_graph_size 15 40
## ---------- End Borders Secton
## ---------- Begin Miscellaneous Section
background yes
use_spacer none
#text_buffer_size 3072
no_buffers yes
short_units yes
imlib_cache_size 0
#imlib_cache_flush_interval 900
# default_bar_size 0 10
double_buffer yes
## default is 16384 bytes)
#max_user_text 16384
#top_name_width 8
## ---------- End Miscellaneous Section
## ---------- Begin draw.bg LUA
## ---------- Above and After TEXT (requires a composite manager or it blinks!)
#lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
##OR Both above TEXT (no composite manager required - no blinking!)
#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
# TEXT
## Note inusage:
## ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
## See below: 1 2 3 4 5 6 7
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
## covers the whole window and will change if you change the minimum_size setting
## 1 = 20 corner_radius
## 2 = 0 x_position l|r
## 3 = 0 y_position u|d
## 4 = 0 width
## 5 = 0 height
## 6 = 0x000000 color
## 7 = 0.2 alpha
## ---------- End draw.bg LUA
update_interval 1
TEXT
${image /media/5/Conky/images/SR-71-Front.png -p 25,410 -s 200x52}
${alignc}${color7}UTC ${swapbar 0,20}${color} ${font LED_mono:size=12}${tztime GMT %T}${font} ${color7}${swapbar 0,20} GMT
${alignc}${swapbar 0,30} Canada ${swapbar 0,30}
Winnipeg${color}${alignr 20}${font LED_Mono:bold:size=12}${tztime Canada/Central %H:%M}${font}
${color7}London${color}${alignr 20}${font LED_Mono:bold:size=12}${tztime Canada/Eastern %H:%M}${font}${color}
${alignc}${color7}${swapbar 0,20} Int Date Line ${swapbar 0,20}
NZ - ${color}${tztime NZ %d %b}${alignr 20}${font LED_Mono:bold:size=12}${tztime NZ %H:%M}${font}
${alignc}${color7}${swapbar 0,30} Buenos Aires ${swapbar 0,30}${color}
${font LED_mono:size=30}${alignc}${time %T}${font}
${alignc}${if_match ${time %w}==0}${color}SU${color6} MO TU WE TH FR SA${else}\
${if_match ${time %w}==1}${color6}SU ${color}MO${color6} TU WE TH FR SA${else}\
${if_match ${time %w}==2}${color6}SU MO ${color}TU${color6} WE TH FR SA${else}\
${if_match ${time %w}==3}${color6}SU MO TU ${color}WE${color6} TH FR SA${else}\
${if_match ${time %w}==4}${color6}SU MO TU WE ${color}TH${color6} FR SA${else}\
${if_match ${time %w}==5}${color6}SU MO TU WE TH ${color}FR${color6} SA${else}\
${color6}SU MO ${color}${time %b %Y}${color6} FR ${color}SA${color}\
${endif}${endif}${endif}${endif}${endif}${endif}
${alignc -8}${color6}${execpi 1800 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color}&${color6}/' | sed ':a;N;$!ba;s/\n/\n${alignc -8}/g'}${color}
${alignc}${color}${time %B %Y}${color}
${alignc}${color7}${swapbar 0,170}
${alignc}Booted ${color}${pre_exec who -b | cut -c23-}
${alignc}${color7}UpTime ${color}${uptime_short}
${alignc}${pre_exec whoami} ${color7}@${color} ${desktop_name}
${color7}${swapbar 0}
${swapbar 0}${color}
${alignc}${color7}CPU Total Usage${color} ${if_match ${cpu cpu0}<10} ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%
${alignc}${color7}CPU 1${color} ${if_match ${cpu cpu1}<10}${color7} ${color}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color7} ${color}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}% \
${color7}2${color} ${if_match ${cpu cpu2}<10}${color7} ${color}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color7} ${color}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}% \
${color7}3${color} ${if_match ${cpu cpu3}<10}${color7} ${color}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color7} ${color}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}%
${alignc}${color7}GHz 1${color} ${freq_g 1} ${color7}2${color} ${freq_g 2} ${color7}3${color} ${freq_g 3}
${alignc}${color7}${swapbar 0,25} Temperatures${swapbar 0,25}${color}
${alignc}${color7}CPU${color} ${platform f71882fg.2560 temp 2}° \
${color7}M|B${color} ${execpi 5 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
${alignc}${color7}SDA${color} ${hddtemp /dev/sda}° \
${color7}GPU${color} ${nvidia temp}°
${swapbar 0}${color}
${goto 80}${color7}Free${goto 140}Used${goto 210}Max${color}
${goto 30} ${color7}RAM${color}${goto 80}${memfree}${goto 140}${mem}${goto 210}${memmax}
${goto 30}${color7}Root${color}${goto 80}${fs_free_perc /}%${goto 140}${fs_used /}${goto 210}${fs_size /}
${goto 30}${color7}Home${color}${goto 80}${fs_free_perc /home}%${goto 140}${fs_used /home}${goto 210}${fs_size /home}
${goto 30}${color7} M/5${color}${goto 80}${fs_free_perc /media/5}%${goto 140}${fs_used /media/5}${goto 210}${fs_size /media/5}
${goto 30}${color7}M/10${color}${goto 80}${fs_free_perc /media/10}%${goto 140}${fs_used /media/10}${goto 210}${fs_size /media/10}
${color7}${swapbar 0}
${alignc}Net Stats
Down ${color}${downspeed eth0} ${alignr 25}${upspeed eth0} ${color7}Up${color}
${color7}Total ${color}${totaldown eth0}${alignr}${totalup eth0} ${color7}Total${color}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Updated my conky, learning a bit more now, getting addictive...
Simple one, nothing really fancy, played around with inserting images and made a background for it.
I wont include the whole conky as it is just a modified version in the text fields of the conky bl ships with, or should i?
# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html
# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424
# beta tested by: smacz
# Enjoy! :)
# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
### Begin Window Settings #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Conky
### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no
### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50
minimum_size 200 0 ### width | height
maximum_width 200
gap_x 20 ### left | right
gap_y 45 ### up | down
alignment tr
####################### End Window Settings ###
### Font Settings #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Cantarell:regular:size=9
#xftfont Liberation Sans:size=9
# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes
uppercase no
######################### End Font Settings ###
### Colour Settings ###########################
draw_shades no #yes
default_shade_color 000000
draw_outline no # amplifies text if yes
default_outline_color 000000
#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame & Bunsen Grey
#default_color 929292 # Labs Grey
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
####################### End Colour Settings ###
### Borders Section ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
####################### End Borders Section ###
### Miscellaneous Section #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes
# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none
# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144
# Subtract (file system) buffers from used memory?
no_buffers yes
# change GiB to G and MiB to M
short_units yes
# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384
# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
default_bar_size 200 8
################# End Miscellaneous Section ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1
TEXT
${image ~/Pictures/dark2.png -p -1,1 -s 215x595}\
${image ~/Pictures/blpenguin.png -p 50,400 -s 85x135}\
${color}${alignc}Bunsenlabs System Info
#${color}${alignc}$conky_build_arch
${nodename}-${sysname}${kernel}${machine}
${hr}
#Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
#UTC:${alignr}${utime %H:%M}
#${goto 60}Used${alignr}Size
$hr
Root - ${fs_used /}${alignr}${fs_size /}
$color0${fs_bar}$color
RAM - ${mem}${alignr}${memmax}
$color0${membar}$color
Swap - ${swap}${alignr}${swapmax}
$color0${swapbar}$color
CPU - $cpu% ${alignr}$freq_g
$color0${cpubar}$color
Battery - ${battery_percent BAT1}%
$color0${battery_bar BAT1}$color
Network
Total Up ${totalup usb0} | Down$color ${totaldown usb0}
${hr}
$color${alignc}Shortcut Keys
${hr}
[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
[S] + Space${alignr}Main Menu
[S] + Tab${alignr}Client Menu
[S] + t${alignr}Terminal
[S] + f${alignr}File Manager
[S] + e${alignr}Editor
[S] + m${alignr}Media Player
[S] + w${alignr}Web Browser
[S] + h${alignr}Task Manager
[S] + l${alignr}Lock Screen
[S] + v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot
$hr
Last edited by Steve (2017-05-29 13:41:01)
Offline