Sunday, December 18, 2016

tinkering with openbox

My Openbox setups continue to evolve. Here's my current BunsenLabs desktop, with a reorganized menu; I've edited my conky and added a conky calendar:

I put a "start-stop-conky" item in my "openbox" submenu, which toggles my conkys off and on by running the ~/start-stop-conky script:

# start or stop conky - click to start, click to stop
if pidof conky | grep [0-9] > /dev/null
      exec killall conky
      conky &
      conky -c /home/steve/.conkyrc-2

My ~/.conkyrc-2 file contains the following (for the conky calendar):

alignment bottom_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 15
gap_y 25
minimum_size 5 5
maximum_width 205
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
double_buffer yes
own_window yes
own_window_class Conky
own_window_type desktop
own_window_transparent no
own_window_argb_visual yes
own_window_colour 000000
own_window_argb_value 155
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no


$color ${font DejaVu Sans Mono:size=12}${execpi 60 DJS=`date +%_d`; cal -h | sed s/"\(^\|[^0-9]\)$DJS"'\b'/'\1${color gold}'"$DJS"'$color'/}

A similar setup in Antergos (on the same computer), but with a few launchers down near the bottom of the tint2 panel, and a somewhat different menu layout:

Here, a look back at the default Openbox setups I snapped earlier in BunsenLabs and Antergos, respectively:

Both distros ship with nice setups. Very few self-respecting Openbox users will stick with the default setups. If you use Openbox, you tinker; it's what you do. :)

No comments: