Also I made tiny scripts for the proper conkyrc file to be loaded in accordance with the window manager.
Step 1 - you have already a ~/.conkyrc file so you create another one for the other window manager. If you're in icewm, create ~/.conkyrcflux, if you're in fluxbox, create ~/.conkyrcice.
My conkyrc for icewm
Code: Select all
alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color 5825c9
default_outline_color 5825c9
default_shade_color red
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 25
gap_y 65
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
own_window yes
own_window_transparent yes
own_window_class Conky
#own_window_colour aecee0
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer left
show_graph_scale no
show_graph_range no
TEXT
$nodename - $sysname $kernel
$hr
Uptime:$alignr $color $uptime
Frequency (in MHz):$alignr $color $freq
RAM Usage:$alignr $color $mem/$memmax - $memperc%
Swap Usage:$alignr $color $swap/$swapmax - $swapperc%
CPU Usage:$alignr $color $cpu%
Processes:$alignr $color $processes Running:$color $running_processes
$hr
File systems:
/ $color${fs_used /} +${fs_free /} ${fs_bar 6 /}
$hr
Networking:
Up: ${upspeed eth0}$alignr Down: ${downspeed eth0}
$hr
Super+space$alignr Run
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+u$alignr Rox
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+n$alignr Htop
Super+o$alignr Conky on/off
PrtSc$alignr Screenshot
Insert$alignr Screensaver
Alt+Shift+F2$alignr Tile Vert
Alt+Shift+F3$alignr Tile Horz
Super+r$alignr Reboot
Super+x$alignr Shutdown
Code: Select all
alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color 5825c9
default_outline_color 5825c9
default_shade_color red
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 25
gap_y 65
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
own_window yes
own_window_transparent yes
own_window_class Conky
#own_window_colour 6F728E
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer left
show_graph_scale no
show_graph_range no
TEXT
$nodename - $sysname $kernel
$hr
Uptime:$alignr $color $uptime
Frequency (in MHz):$alignr $color $freq
RAM Usage:$alignr $color $mem/$memmax - $memperc%
Swap Usage:$alignr $color $swap/$swapmax - $swapperc%
CPU Usage:$alignr $color $cpu%
Processes:$alignr $color $processes Running:$color $running_processes
$hr
File systems:
/ $color${fs_used /} +${fs_free /} ${fs_bar 6 /}
$hr
Networking:
Up: ${upspeed eth0}$alignr Down: ${downspeed eth0}
$hr
Alt+d$alignr ShowDesktop
Alt+m$alignr Minimize
Alt+f$alignr Iceweasel
Alt+t$alignr Terminal
Alt+r$alignr RootMenu
Alt+s$alignr Screenshot
Alt+h$alignr Htop
Alt+c$alignr ControlCenter
Super+t$alignr Conky On/Off
Open a new text file, paste the following text and save as conkyice:
Code: Select all
#!/bin/bash
mv ~/.conkyrc ~/.conkyrcflux && mv ~/.conkyrcice ~/.conkyrc
Open another new text file, paste the following text and save as conkyflux:
Code: Select all
#!/bin/bash
mv ~/.conkyrc ~/.conkyrcice && mv ~/.conkyrcflux ~/.conkyrc
Now if you go from fluxbox to icewm you only need to run conkyice (Super+spacebar, and type conkyice) and if you go from icewm to fluxbox you only need to run conkyflux to set the proper conky.