You are not logged in.
Can you post your .conkyrc?
Sure. I made the background for it in GIMP... it's actually part of the wallpaper because I don't think there is a way to do anything like that within the conkyrc... though if anyone knows, I'd love to find out.
#avoid flicker
double_buffer yes
background yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
#shades
draw_shades no
#position
gap_x 0
gap_y 6
alignment top_left
#behaviour
update_interval 3
#colour
default_color white
#own_window_colour 262729
#font
use_xft yes
xftfont DejaVu Sans Book:size=8
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
#to prevent window from moving
use_spacer none
minimum_size 1024 0
# | Up: ${upspeed wlan0} Down: ${downspeed wlan0}
TEXT
Cpu1: ${cpu cpu1}% | Cpu2: ${cpu cpu2}% | Ram: ${memperc}% | Up: ${upspeed wlan0} Down: ${downspeed wlan0}${alignr}Weather: ${execi 1800 ~/Documents/Scripts/conkyForecast.py -l USMI0678 --im} | Mail: ${execi 300 perl ~/Documents/Scripts/gmail.pl n} | Vol: ${exec ~/Documents/Scripts/volume.sh} | MPD: $mpd_smart
Links: Gmail Script, Weather Script, Volume Script
Last edited by dfetter88 (2010-07-01 12:59:38)
Offline
@tawan... what openbox theme are you using?
Offline
Offline
Well, yes, I'm back to openbox after some window manager hopping.
I've tried several tiling WM lately and they really have some very nice features, but I have also realized that I don't want tiled windows all the time.
So I've basically assembled an openbox setup with features and keybindings similar to those of tiling wms, but with the flexibility of a floating wm.
I have to say that it's great and I feel to have the best of both worlds, though I may be wrong.
The keybindings, are badly inspired from vim, wmii and i3.
An informative description of this setup can be found here: have a look to get an idea of what I'm talking about!
Info:
OS: Arch Linux x86_64
WM: Openbox 3.4.11
OB theme: 2px
GTK theme: termGTK
Font: Terminus
Wallpaper: Leaf Skin
Apps: urxvt.tabbed, vim, vimperator, weechat, conky, tint2
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
Offline
Great work rent0n!
Offline
@tawan, @Barthalion: thank you guys!
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
dfetter88 wrote:@tawan... what openbox theme are you using?
I had been working on an old one of mine Still Dark (I think was the name) it has a new name now and I'll post it on box look when it's done.
As I saw on box-look.org, you already uploaded it. Thanks for that!
Offline
Clean:
http://img8.imageshack.us/img8/6364/cleanv.th.pngDirty:
I've basically settled on this setup... finally finished tweaking conky & tint2. Now if I could stop changing wallpapers, I might actually get some work done.
What gtk and icon theme did you use. Where can I get them? Can you post links please?
Last edited by Ventil1 (2010-07-05 12:45:15)
Offline
hey,
do u remember the openbox, gkt and icon theme of this? and what panel are u using?
Offline
tawan wrote:hey,
do u remember the openbox, gkt and icon theme of this? and what panel are u using?
The panel looks like Tint2.
Offline
tawan wrote:hey,
do u remember the openbox, gkt and icon theme of this? and what panel are u using?
openbox theme is Still Dark II (see my sig) the GTK is WoW Dark by nale12
the panel is tint2 and i've improved it since this screenshot - here is the config
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 0
border_width = 2
background_color = #2D2D2D 100
border_color = #2D2D2D 100
# ID 2
rounded = 4
border_width = 2
background_color = #E1ECF9 1
border_color = #86C113 100
# ID 3
rounded = 6
border_width = 0
background_color = #E1ECF9 100
border_color = #FFFFFF 100
# Panel
panel_monitor = all
panel_position = top left vertical
panel_size = 84% 28
panel_margin = 0 0
panel_padding = 0 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.0
autohide_hide_timeout = 0.0
autohide_height = 12
strut_policy = none
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 1
taskbar_active_background_id = 2
# Tasks
urgent_nb_of_blink = 7
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 20 20
task_padding = 4 1
task_background_id = 0
task_active_background_id = 0
task_urgent_background_id = 0
task_iconified_background_id = 0
# Task Icons
task_icon_asb = 40 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 20 0 0
# Fonts
task_font = sans 7
task_font_color = #FFFFFF 60
task_active_font_color = #000000 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #FFFFFF 100
font_shadow = 1
# System Tray
systray = 1
systray_padding = 4 4 5
systray_sort = left2right
systray_background_id = 1
systray_icon_size = 12
systray_icon_asb = 80 0 0
# Clock
time1_format = %H:%M
time1_font = Digital Readout Thick Upright Bold 8
time2_format = %d%b
time2_font = Sans 6
clock_font_color = #86C113 100
clock_padding = 4 2
clock_background_id = 1
clock_lclick_command = zenity --calendar
clock_rclick_command = zenity --calendar
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.3
tooltip_hide_timeout = 0.5
tooltip_background_id = 1
tooltip_font = sans 10
tooltip_font_color = #FFFFFF 80
# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = none
mouse_scroll_down = none
# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #FFFFFF 61
battery_padding = 1 0
battery_background_id = 1
# End of config
Offline
thanks for the answer, but i mean the config before (from the 3th of July). watch the linked image
Offline
With 'config' I primaly meant the openbox, gtk and icon theme. Sorry for my unclear expression
Offline
null wrote:tawan wrote:hey,
do u remember the openbox, gkt and icon theme of this? and what panel are u using?The panel looks like Tint2.
New background:
Clean:
http://img697.imageshack.us/img697/733/ … 050.th.png
What gtk and icon theme are you using?
Offline
My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP
Offline
Thanks a lot! MurrinaChrome is awsome and I'm using it right now.
Offline
Offline
I get the 2nd conky on the center of the desktop when I left click on the clock in tint2 panel. When I right click the clock it closes the 2nd conky.
.conkyrc (bottom right with rings)
# -- Conky settings -- #
background no
update_interval 1
#update_interval_on_battery 3 when running on battery
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
#own_window_colour 100908
minimum_size 38 252
alignment br
gap_x 2
gap_y 5
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# -- Text settings -- #
use_xft yes
xftfont Sans:Bold:pixelsize=9
# -- Lua Load -- #
lua_load ~/.rings.lua
lua_draw_hook_pre ring_stats
short_units yes
TEXT
${color 999999}${voffset 9}${if_gw}${if_up ppp0}${downspeed ppp0}
${goto 11}NET
${upspeed ppp0}${endif}${if_up wlan0}${downspeed wlan0}
${goto 11}NET
${upspeed wlan0}${endif}${if_up eth0}${downspeed eth0}$
${goto 11}NET
${upspeed eth0}${endif}${else}
${goto 11}NET
${endif}
${voffset 28}${goto 12}VOL
${voffset 5}${goto 10}${execi 2 amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "mute" }}'}
${voffset 16}${goto 11}MEM
${voffset 5}${goto 5}${mem}B
${voffset 15}${goto 12}${font Sans:Bold:pixelsize=8}CPU${font}
${voffset 6}${goto 11}${acpitemp}°C
${voffset 6}${execi 120 sh ~/checkgmail.sh} gmail
${voffset 6}${if_match "${acpiacadapter}" == "off-line"}${if_match ${battery_percent BAT0} > 15}${goto 4}BAT ${battery_percent BAT0}
${goto 2}${battery_bar BAT0}
${execi 60 cat /proc/acpi/battery/BAT*/state | awk '{if ($0 ~ "present rate:"){rate = $3} if($0 ~ "remaining capacity:"){cap = $3}} END {printf "%dh %dm" ,(cap / rate), (((cap % rate) / rate) * 60)}'}${endif}${if_match ${battery_percent BAT0} <= 15}${if_match ${battery_percent BAT0} > 10}
${color orange}${goto 4}BAT ${battery_percent BAT0}
${goto 2}${battery_bar BAT0}
${execi 60 cat /proc/acpi/battery/BAT*/state | awk '{if ($0 ~ "present rate:"){rate = $3} if($0 ~ "remaining capacity:"){cap = $3}} END {printf "%dh %dm" ,(cap / rate), (((cap % rate) / rate) * 60)}'}${endif}${endif}${if_match ${battery_percent BAT0} <= 10}${if_match ${battery_percent BAT0} >= 5}${color red}${goto 4}${execi 60 aplay ~/DingLing.wav}BAT ${battery_percent BAT0}
${goto 2}${battery_bar BAT0}
${execi 60 cat /proc/acpi/battery/BAT*/state | awk '{if ($0 ~ "present rate:"){rate = $3} if($0 ~ "remaining capacity:"){cap = $3}} END {printf "%dh %dm" ,(cap / rate), (((cap % rate) / rate) * 60)}'}${endif}${endif}${if_match ${battery_percent BAT0} <= 5}${exec poweroff}${endif}${else}AC
${goto 2}${battery_bar BAT0}
${execi 60 cat /proc/acpi/battery/BAT*/state | awk '{if ($0 ~ "present rate:"){rate = $3} if($0 ~ "remaining capacity:"){cap = $3}} END {printf "%dh %dm" ,(cap / rate), (((cap % rate) / rate) * 60)}'} ${endif}
.rings.lua (.conkyrc needs it to draw rings)
--[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num > 5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num > 3; conversely if you update Conky every 0.5s, you should use update_num > 10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
Changelog:
+ v1.2.1 -- Fixed minor bug that caused script to crash if conky_parse() returns a nil value (20.10.2009)
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
]]
settings_table = {
{
name='downspeedf',
arg='wlan0',
max=250,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.5,
x=22, y=34,
radius=28,
thickness=6,
start_angle=-35,
end_angle=35
},
{
name='upspeedf',
arg='wlan0',
max=50,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.5,
x=22, y=30,
radius=28,
thickness=6,
start_angle=145,
end_angle=215
},
{
name='mixer',
arg='',
max=100,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.4,
x=22, y=85,
radius=17,
thickness=6,
start_angle=-135,
end_angle=135
},
{
name='memperc',
arg='',
max=100,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.5,
x=22, y=130,
radius=17,
thickness=6,
start_angle=-120,
end_angle=120
},
{
name='cpu',
arg='cpu0',
max=100,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.5,
x=22, y=175,
radius=18,
thickness=5,
start_angle=-135,
end_angle=135
},
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=0xcccccc,
bg_alpha=0.2,
fg_colour=0xffffff,
fg_alpha=0.5,
x=22, y=175,
radius=12,
thickness=5,
start_angle=-135,
end_angle=135
},
}
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
local cr=cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
end
.conky2 (center desktop)
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
alignment bm
gap_y 20
use_spacer none
minimum_size 520 200
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
# -- Text settings -- #
use_xft yes
xftfont Monospace:pixelsize=12
short_units yes
TEXT
${color slate grey}${goto 60}Top Memory:${goto 310}Top CPU:
${color lightgrey}${goto 60} ${top_mem name 1}${goto 182}${top_mem mem_res 1}B${goto 310} ${top name 1}${goto 425}${top cpu 1}%
${goto 60} ${top_mem name 2}${goto 182}${top_mem mem_res 2}B${goto 310} ${top name 2}${goto 425}${top cpu 2}%
${goto 60} ${top_mem name 3}${goto 182}${top_mem mem_res 3}B${goto 310} ${top name 3}${goto 425}${top cpu 3}%
${goto 60} ${top_mem name 4}${goto 182}${top_mem mem_res 4}B${goto 310} ${top name 4}${goto 425}${top cpu 4}%
${goto 60} ${top_mem name 5}${goto 182}${top_mem mem_res 5}B${goto 310} ${top name 5}${goto 425}${top cpu 5}%
${goto 60} ${top_mem name 6}${goto 182}${top_mem mem_res 6}B${goto 310} ${top name 6}${goto 425}${top cpu 6}%
${goto 60} ${top_mem name 7}${goto 182}${top_mem mem_res 7}B${goto 310} ${top name 7}${goto 425}${top cpu 7}%
${goto 60} ${top_mem name 8}${goto 182}${top_mem mem_res 8}B${goto 310} ${top name 8}${goto 425}${top cpu 8}%
${goto 60} ${top_mem name 9}${goto 182}${top_mem mem_res 9}B${goto 310} ${top name 9}${goto 425}${top cpu 9}%
${goto 60} ${top_mem name 10}${goto 182}${top_mem mem_res 10}B${goto 310} ${top name 10}${goto 425}${top cpu 10}%
${goto 110}Host:${nodename} | Kernel:${kernel} | Uptime: ${uptime_short}
tint2rc
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 5
border_width = 0
background_color = #000000 25
border_color = #ffffff 40
rounded = 5
border_width = 0
background_color = #ffffff 60
border_color = #ffffff 50
#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = 1
panel_position = top right vertical
panel_size = 66% 44
panel_margin = 0 0
panel_padding = 2 2 6
font_shadow = 1
panel_background_id = 0
wm_menu = 1
panel_layer = bottom
#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_desktop
taskbar_padding = 5 2 5
taskbar_background_id = 1
#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0
task_maximum_size = 35 35
task_centered = 1
task_padding = 6 3
task_icon_asb = 100 0 0
task_active_background_id = 2
task_active_font_color = #ffffff 85
task_active_icon_asb = 100 0 0
#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 4 4 5
systray_background_id = 1
systray_sort = left2right
systray_icon_size = 16
systray_icon_asb = 100 0 0
#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans bold 8
time2_format = %b %d
time2_font = sans 6
clock_font_color = #bbbbbb 100
clock_padding = 4 2
clock_background_id = 1
clock_lclick_command = conky -c ~/.conky_namizje
clock_rclick_command = pkill -f 'conky -c /home/marko/.conky_namizje' #needs to be home/user! doesnt work with ~/
clock_tooltip = %A %d %B
#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 0
battery_hide = 98
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
bat1_font = sans bold 8
bat2_font = sans bold 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 0
#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #ffffff 80
tooltip_font = sans 10
#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = close
mouse_right = close
mouse_scroll_up = none
mouse_scroll_down = none
# End of config
Last edited by Ventil1 (2010-07-10 06:55:35)
Offline