Useful *nix stuff
export CLICOLOR=1 export LSCOLORS=ExFxCxDxBxegedabagacad alias ls='ls -lart' uptime uname -a if [ -f ~/.bash_rc ]; then source ~/.bashrc fi
alignment bottom_right background yes border_width 1 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no use_xft yes xftfont DejaVu Sans Mono:size=12 gap_x 5 gap_y 6 minimum_size 5 5 net_avg_samples 2 no_buffers yes out_to_console no out_to_stderr no extra_newline no #own_window yes #own_window_class Conky #own_window_type override stippled_borders 0 update_interval 1.0 uppercase no use_spacer none show_graph_scale no show_graph_range no TEXT #host info $nodename - $kernel ${time %a %d-%b-%Y %R %Z} #wifi info ${if_up wlp3s3} $hr --Wi-Fi Settings-- ${color grey}IP:${color} ${addrs wlp3s3} ${color grey}SSID:${color} ${wireless_essid wlp3s3} ${color grey}Rate:${color} ${wireless_bitrate wlp3s3} ${color grey}Strength:${color} ${wireless_link_bar wlp3s3} ${color grey}Down speed:${color} ${downspeed wlp3s3} $hr $endif #battery info --Battery Status-- ${color grey}Status:$color $battery ${color grey}Time:$color $battery_time ${color grey}% Charge:$color $battery_bar #${color grey}Frequency (in MHz):$color $freq $hr #system info --System Info-- ${color grey}Uptime:$color $uptime ${color grey}Frequency (in GHz):$color $freq_g ${color grey}RAM Usage:$color $mem($memperc%) ${membar 4} ${color grey}Swap Usage:$color $swap($swapperc%) ${swapbar 4} ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${cpugraph -l -t} #${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes $hr --File systems-- / $color${fs_used /}/${fs_size /} ${fs_bar 6 /} #${color grey}Networking: #Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0} $hr #${color grey}Name PID CPU% MEM% #${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} #${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} #${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} #${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} --Weather-- Now: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YMML temperature}∞C ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YMML weather} Wind: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YMML wind_speed}km/h ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YMML wind_dir} Weather: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YMML weather} #Min: ${weather_forecast http://xoap.weather.com/weather/local/ 06807 1 low}∞C
#********************************************************************** # # .twmrc # #********************************************************************** #Variables #AutoRaise AutoRelativeResize NoDefaults BorderColor "white" #BorderTileBackground #BorderTileForeground BorderWidth 0 ButtonIndent 0 #ClientBorderWidth Color { #BorderColor "white" TitleBackground "white" TitleForeground "black" MenuBackground "black" MenuForeground "white" MenuTitleBackground "red" MenuTitleForeground "white" IconBackground "#fffff0" IconForeground "black" IconBorderColor "black" IconManagerBackground "white" IconManagerForeground "black" } #ContrainedMoveTime Cursors { } #DecorateTransients #DefaultBackground "black" #DefaultForeground "white" #DontIconifyByUnmapping #DontMoveOff #DontSqueezeTitle #ForceIcons #FramePadding #Grayscale {} #IconBackground "" {} #IconBorderColor "" {} #IconBorderWidth 0 IconDirectory "~/.twm" IconFont "-*-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1" #IconForeground IconifyByUnmapping #IconManagerBackground #IconManagerDontShow IconManagerFont "-*-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1" #IconManagerForeground IconManagerGeometry "=100x100+0+0" #IconManagerHighlight "" #IconManager {} #IconManagerHow {} IconRegion "1600x1600-0-0" SOUTH EAST 175 175 Icons { "Xmh" "/usr/include/X11/bitmaps/letters" "XTerm" "/usr/include/X11/bitmaps/terminal" } #InterpolateMenuColors #MakeTitle {} #MaxWindwSize "" #MenuBackground "" MenuBorderColor "white" #MenuBorderWidth 2 MenuFont "-*-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1" #MenuForeground "" MenuShadowColor "red" #MenuTitleBackground "" #MenuTitleForeground "" #Monochrome {} #MoveDelta 0 #NoBackingStore #NoCaseSensitive #NoDefaults #NoGrabServer #NoHighlight {} #NoIconManagers #NoMenuShadows #NoRaiseOnDeiconify #NoRaiseOnMove #NoRaiseOnResize #NoRaiseOnWarp #NoSaveUnders #NoStackMode {} #NoTitle #NoTitleFocus #NoTitleHighlight {} OpaqueMove #Pixmaps {} #Priority RandomPlacement #ResizeFont "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" RestartPreviousState #aveColor {} ShowIconManager SortIconManager #SqueezeTitle {} #StartIconified {} #TitleBackground "" {} TitleButtonBorderWidth 0 TitleFont "-*-new century schoolbook-bold-r-normal--*-100-*-*-*-*-iso8859-1" #TitleForeground "" {} #TitlePadding 0 UnknownIcon "/usr/include/X11/bitmaps/xlogo32" UsePPosition "off" #WarpCursor #WindowRing {} #WarpUnmapped #XorValue #Zoom 8 #Varibles to set after Fonts DefaultFunction f.nop #WindowFunction #Bindings LeftTitleButton "resize.xbm"=f.resize RightTitleButton "minimize.xbm"=f.iconify RightTitleButton "maximize.xbm"=f.fullzoom RightTitleButton "close.xbm"=f.delete # define key bindings Button1 = : title : f.move Button2 = : title : f.menu "Title Menu" Button3 = : title : f.resize Button3 = c m : title : f.destroy Button1 = : root : f.menu "RootMenu" Button2 = : root : f.menu "Applications" Button3 = : root : f.menu "System" Button1 = : icon : f.iconify Button1 = : iconmgr : f.iconify menu "Applications" { "Applications Menu" f.title "" f.nop "Xman" !"xman &" "Calculator" !"xcalc &" "Clock" !"xclock&" "Eyes" !"xeyes &" "Xterm" !"xterm &" "" f.nop "gnumeric" !"gnumeric &" "abiword" !"abiword &" "" f.nop "Chromium" !"chromium &" "" f.nop "Code::Blocks" !"codeblocks &" "Graphics Viewer" !"gsview &" "" f.nop "File Manager" !"xfe &" } menu "System" { "System" f.title "Window ops" f.menu "Window Ops" "Windows" f.menu "TwmWindows" "" f.nop "Refresh" f.refresh "Unfocus" f.unfocus "Show Icon Box" f.showiconmgr "Hide Icon Box" f.hideiconmgr "Version" f.version "" f.nop "Restart" f.restart "Logout" f.quit } menu "Window Ops" { "Window Ops" f.title "Lower" f.lower "Raise" f.raise "Resize" f.resize "Move" f.move "Deiconify" f.deiconify "Iconify" f.iconify "Identify" f.identify "Focus" f.focus "Kill" f.destroy } menu "RootMenu" { "Root Menu" f.title "" f.nop "Applications" f.menu "Applications" "" f.nop "Restart" f.restart "Exit" f.quit "" f.nop "Power Off" !"/sbin/poweroff" }
# /etc/skel/.bashrc # # This file is sourced by all *interactive* bash shells on startup, # including some apparently interactive shells such as scp and rcp # that can't tolerate any output. So make sure this doesn't display # anything or bad things will happen ! # Test for an interactive shell. There is no need to set anything # past this point for scp and rcp, and it's important to refrain from # outputting anything in those cases. if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi # Put your fun stuff here.