You are not logged in.
Hey yall, this is a little ascii hostname generator I've been working on using figlet/conky. Hope yall enjoy it as much as I have.
## INSTRUCTIONS
copy the code to a text file in your <home>/bin/ named "billboard"
(from terminal)
"chmod +x billboard" to make it executable
"source ~/.profile" to make it available
(from run command)
billboard
*The script will generate a .billboardrc on firstrun that you can tweak just like any other .conkyrc. Add "billboard &" to your ~/.config/openbox/autostart.sh for a billboard on startup.
*You may have to log out then back in to get it into your openbox variables completely
cheers;)
#!/bin/bash
#
# billboard - an ascii hostname generator using conky/figlet
#
# by Rooster Cogburn <rstrcogburn(at)gmail.com>
# Copyright (C) 2010 Rooster Cogburn
#
# Licensed under the GNU GPLV3 license
#
# rcfile: $HOME/.billboardrc
#
# ---------------------------------------------------------------------
# create .billboardrc unless present
BILLBOARDRC=$HOME/.billboardrc
if [ ! -f $BILLBOARDRC ]; then
(
cat <<'EOF'
##############################################
# Settings
##############################################
# Use Xft?
use_xft yes
xftfont Mono:size=8
xftalpha 1
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 80
#maximum_width 1024
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
#stippled_borders 0
# border margins
#border_margin 0
# border width
#border_width 0
# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
#own_window_colour black
# Text alignment, other possible values are commented
alignment middle_middle
#alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 0
gap_y 0
# Subtract file system buffers from used memory?
no_buffers yes
uppercase no
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
EOF
) > $BILLBOARDRC
fi
conky -c $BILLBOARDRC -t '${exec hostname | figlet}'
exit 0... and a kind word. -Duke
Offline
very nice
although i got quite excited at being able to use bash functions in a conkyrc 
- - - - - - - - Wiki Pages - - - - - - -
#! install guide *autostart programs, modify the menu & keybindings
configuring Conky *installing scripts
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.