You are not logged in.

#41 2018-01-31 04:23:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: conky for Helium

martix wrote:

This Conky Chooser is an awesome little tool (created by damo)

Yes!

Conky Manager=Conky Chooser=bl-conkyzen - this might be a bit confusing for new users (especially as in the help it's about a Conky Manager and no word about "Conky Chooser".

Agreed, but I had nothing to do with this. (It took me a while to figure out what conkyzen was.) It might be a bit late for a major renaming just now...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#42 2018-01-31 04:32:29

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: conky for Helium

^Yeah, that's true. Room for future improvements though.

Just discovered BL-Ellipses-Time.conkyrc via Conky Chooser and it's really cool.

Offline

#43 2018-02-01 02:36:07

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: conky for Helium

One question: about ARGB visuals:

conkyrc wrote:

-- This option will not work as desired (in most cases) in conjunction with
-- own_window_type normal,

Is this still true (if it ever was)?
Especially considering the next section says:

-- When ARGB visuals are enabled, use this to modify the alpha value
-- Use: own_window_type = 'normal'

Remove the first comment about not working? (It's always worked OK for me anyway.)

Also, maybe set the commented-out argb transparency to '--own_window_argb_value = 50,' just to keep it the same as Sector11's original choice? EDIT I see in another file '150' so I guess that's OK.

Last edited by johnraff (2018-02-01 02:59:29)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#44 2018-02-01 11:47:53

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: conky for Helium

^I can confirm that it works fine here too.

It looks like it's been a copy&paste mess up as it should be "This option will not work as desired (in most cases) in conjunction with 'own_window_type override'." (from conky manual). There are some minor mistakes in that part ("are enabled, this use this to modify", there is a "," missing from the end of the window type normal line, etc.). Here is a newer version - how does it look?

-- ARGB can be used for real transparency
--own_window_argb_visual = true, -- Options: true|false

-- NOTE that a composite manager is required for real transparency and ARGB will not
-- work as desired (in most cases) in conjunction with 'own_window_type override'.
-- Use with ARGB: own_window_type = 'normal',
-- Use with ARGB: own_window_transparent = false,

-- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
-- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 150,

It might be considered to add one more line to the intro (as Conky Chooser and that Help belong together):

 BunsenLabs conky scripts help
 Openbox Menu/Preferences/Conky/Conky Chooser
 Openbox Menu/Preferences/Conky/Conky Manager Help

For future releases wttr.in could be also used. Just a one liner displays a nice output.

Offline

#45 2018-02-02 06:49:28

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: conky for Helium

martix wrote:
-- ARGB can be used for real transparency
--own_window_argb_visual = true, -- Options: true|false

-- NOTE that a composite manager is required for real transparency and ARGB will not
-- work as desired (in most cases) in conjunction with 'own_window_type override'.
-- Use with ARGB: own_window_type = 'normal',
-- Use with ARGB: own_window_transparent = false,

-- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
-- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 150,

Looks good, except how about:

-- Use with: own_window_type = 'normal',
-- Use with: own_window_transparent = false,

That "ARGB:" might be confusing?

It might be considered to add one more line to the intro (as Conky Chooser and that Help belong together):

 BunsenLabs conky scripts help
 Openbox Menu/Preferences/Conky/Conky Chooser
 Openbox Menu/Preferences/Conky/Conky Manager Help

Actually, if you look at the "Conky Manager Help" it's not only about Conky Chooser/bl-conkyzen but describes the whole set of conky management scripts, so maybe it's OK how it is?

For future releases wttr.in could be also used. Just a one liner displays a nice output.

If the conky people here come up with something, then sure, it has the advantage of working out of the box, so could just go in as default. Maybe with comments explaining about the alternative. Something for Lithium. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#46 2018-02-02 07:39:45

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: conky for Helium

Ok, updated in #11 and old syntax in the OP as suggested. Apart from the things mentioned I cannot think of anything else to change right now. This is how it looks:

--[[ conky configuration
 ------------------------------
 For conky variables and commands use the terminal command:

 man conky
 ------------------------------ 
 BunsenLabs conky threads
 Index » Scripts, Tutorials & Tips » Conky - Calendars / Clocks / Time
 https://forums.bunsenlabs.org/viewtopic.php?id=516

 Open a thread and post conky questions in: Index » GUI & Applications
 https://forums.bunsenlabs.org/viewforum.php?id=4

 Display your completed conky and codes
 Index » Scripts, Tutorials & Tips » Show us your conky
 https://forums.bunsenlabs.org/viewtopic.php?id=512

 BunsenLabs conky scripts help
 Openbox Menu/Preferences/Conky/Conky Manager Help
 
 If there are one or more conkys running, it is possible to kill one conky with
 the following command, IF you used what is between the quotes to start the conky, e.g.:
 pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc"
]]


conky.config = {

--  Window Settings  
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_colour = '000000',
	own_window_class = 'Conky',
	own_window_title = 'BunsenLabs Default Conky',

-- ARGB can be used for real transparency
--own_window_argb_visual = true, -- Options: true|false

-- NOTE that a composite manager is required for real transparency and ARGB will not
-- work as desired (in most cases) in conjunction with 'own_window_type override'.
-- Use with: own_window_type = 'normal',
-- Use with: own_window_transparent = false,

-- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
-- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 150,

	minimum_width = 200, minimum_height = 0,-- width | height
	maximum_width = 200,

	gap_x = 20,-- left | right
	gap_y = 45,-- up | down

	alignment = 'top_right',
--  End Window Settings  


--  Font Settings  
-- Use Xft (anti-aliased font and stuff)
	use_xft = true,
--font = 'Liberation Mono:bold:size=10',
--font = 'Liberation Sans:size=10',
	font = 'Sans-serif:size=10',

-- Alpha of Xft font. Must be a value at or between 1 and 0
	xftalpha = 1,
-- Force UTF8? requires XFT 
	override_utf8_locale = true,

	uppercase = false,
--  End Font Settings  


--  Color Settings  
	draw_shades = false,
	default_shade_color = '000000',

	draw_outline = false,-- amplifies text if true
	default_outline_color = '000000',
        default_color = '678b8b', -- Beam green
--default_color = '656667', -- Waldorf original colour
--default_color = '7a7a7a', -- Flame  & BunsenLabs Grey
--default_color = '929292', -- BunsenLabs Grey
--default_color = 'C0C0C0', -- BunsenLabs 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 = 'C0C0C0',-- Silver	
--  End Color Settings  


--  Borders Section  
	draw_borders = false,
-- 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 = false,
--default_graph_height = 15,
--default_graph_width = 40,
--  End Borders Section  


--  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 = 6144,

-- Subtract (file system) buffers from used memory?
	no_buffers = true,

-- change GiB to G and MiB to M
	short_units = true,

-- 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 = true,

--   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',

-- Update interval in seconds
	update_interval = 1,
	
--  End Miscellaneous Section  
};


conky.text = [[
S Y S T E M    I N F O
${hr}
Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
RAM:$alignr${mem} / ${memmax}
Swap usage:${alignr}${swap} / ${swapmax}
Disk usage:$alignr${fs_used /} / ${fs_size /}
#Root usage:$alignr${fs_used /} / ${fs_size /}
#Home usage:$alignr${fs_used /home} / ${fs_size /home}
CPU Average:${alignr}${cpu cpu0}%
#
# Weather information from openweathermap.org can be displayed in conky by
# using the script $HOME/.config/conky/scripts/bunsenweather.sh. The openweathermap
# service requires registration in order to receive an API Key, which has to be
# added to bunsenweather.sh. For further info see this script and the following thread:
# https://forums.bunsenlabs.org/viewtopic.php?id=2060
#
# Calling bunsenweather.sh from conky works by using
# ${execpi <t> /path/to/bunsenweather.sh "yourlocation"} 
# where <t> is the update interval. If "yourlocation" is not defined, the script
# sets geolocation based on your IP adress using the website ipinfo.io.
#
#W E A T H E R
#${hr}
#${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}

S H O R T C U T    K E Y S
${hr}
Alt + F2${alignr}Run Dialog
Alt + F3${alignr}Alt Menu
Super + Space${alignr}Main Menu
Super + Tab${alignr}Client Menu
Super + t${alignr}Terminal
Super + f${alignr}File Manager
Super + e${alignr}Editor
Super + m${alignr}Media Player
Super + w${alignr}Web Browser
Super + h${alignr}Task Manager
Super + l${alignr}Lock Screen
Super + v${alignr}Volume Control
Super + x${alignr}Logout
PrtSc${alignr}Screenshot
]];

Offline

#47 2018-02-02 08:01:03

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: conky for Helium

Great! I'll upload that to GitHub tomorrow and we've got one item less on the Helium TODO. cool


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#48 2018-02-03 00:29:11

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: conky for Helium

The new .conkyrc is in bunsen-configs here:
https://github.com/BunsenLabs/bunsen-co … l/.conkyrc
and in bunsen-conky here:
https://github.com/BunsenLabs/bunsen-co … lt.conkyrc
(I took the liberty of adding a couple of empty lines and adjusting indenting in a couple of places.)

Damo's bunsenweather script is here:
https://github.com/BunsenLabs/bunsen-co … weather.sh

That all looks OK?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#49 2018-02-03 09:30:52

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: conky for Helium

Checked it and it looks good.

Using an API-key works fine too, weather info looks great.

Offline

Board footer

Powered by FluxBB