ArchLabs Linux

Add a pithy Shakespearian insult to your desktop

Based on this post. <-- get the script from here.

A conky to add a pithy insult to your desktop:

Insult changes every 30 minutes; requires conky (1.10 for this config) and php.

conkyrc:

--#############################################
-- Settings
--#############################################
	background = true,
	use_xft = true,
--	font = 'Allerta:Regular:size=11',
	font = 'Ubuntu:Semibold:size=12',
	xftalpha = 1.0,
	update_interval = 1.0,
--	update_interval_on_battery = 30.0,
	total_run_times = 0,

	own_window = true,
	own_window_colour = '#171717',
	own_window_transparent = true,
	-- own_window_type = 'dock',
	own_window_type = 'desktop' ,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_class = 'ConkyFB',
	own_window_title = 'ConkyFB',
--#############################################
-- Compositing tips:
-- Conky can play strangely when used with
-- different compositors. I have found the
-- following to work well, but your mileage
-- may vary. Comment/uncomment to suit.
--#############################################
--#
	 -- own_window_argb_visual = true,
	 -- own_window_argb_value = 2,

--# xcompmgr
-- own_window_argb_visual yes
-- own_window_argb_value 120

--# cairo-compmgr
--own_window_type desktop
--own_window_argb_visual yes
--#############################################

	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,
	short_units = true,
	imlib_cache_size = 0,
	pad_percents = 1,
	max_user_text = 3200,
	text_buffer_size = 1024,
	if_up_strictness = 'address',
	double_buffer = true,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	border_inner_margin = 1,
	border_outer_margin = 1,

	default_color = '#DECB9F',
	default_shade_color = '#000000',
	default_outline_color = '#828282',
	color0 = '#FFFFFF',
	color1 = '#000000',
	color2 = '#FF0000',-- - red
	color3 = '#FFFF00',-- - yellow
	color4 = '#0000FF',-- - blue
	color5 = '#00FF00',-- - green
	color6 = '#FFA500',-- - orange
	color7 = '#00CDCD',-- - cyan3
	color8 = '#FFD700',-- - gold
	color9 = '#F00F16',-- - reddish

	minimum_width = 512, minimum_height = 0,
	maximum_width = 512,
	alignment = 'bottom_left',
	gap_x = 24,
	gap_y = 8,

};

conky.text = [[
${execpi 1800 /home/doug/bin/bsquote}
]];
2 Likes

:+1: cool :slight_smile:

don’t forget: you need to have php-cli installed

1 Like

php-cli is apparently is installed with php.
I didn’t find a separate package in the repos or AUR.

gheh, me neither :slight_smile:

Another proof of ‘me getting old’… I still remember the WTF’s I used to have when I wanted to run a php-script on the command line and being presented with an error. The olden days, when everything was in black-and-white, dinosaurs roamed the streets and I had to walk through the snow to work. Uphill. Both ways.

2 Likes

Shit @PackRat, no messing around here. You were just discussing this earlier.

My dad used to do the same to go to school.
Barefoot, apparently.

1 Like

I’m dutch, wooden shoes FTW :stuck_out_tongue: