| @@ -146,7 +146,7 @@ showinfo(){ | |||||
| x(){ | x(){ | ||||
| if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then | if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then | ||||
| nohup startx >~/.xorg.log 2>&1 & | |||||
| nohup startx >~/.backup/log/xorg.log 2>&1 & | |||||
| else | else | ||||
| echo "X cant be started! Maybe another X is already running!" 1>&2 | echo "X cant be started! Maybe another X is already running!" 1>&2 | ||||
| fi | fi | ||||
| @@ -0,0 +1,58 @@ | |||||
| # ~/.conkyrc | |||||
| # | |||||
| double_buffer yes | |||||
| background no | |||||
| use_xft yes | |||||
| xftfont DejaVu Sans Mono:size=10 | |||||
| xftalpha 0.8 | |||||
| update_interval 1.0 | |||||
| total_run_times 0 | |||||
| own_window yes | |||||
| own_window_type override | |||||
| own_window_transparent yes | |||||
| own_window_colour hotpink | |||||
| own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager | |||||
| minimum_size 200 | |||||
| draw_shades no | |||||
| draw_outline no | |||||
| draw_borders no | |||||
| stippled_borders 0 | |||||
| border_width 1 | |||||
| default_color green # slategrey | |||||
| default_shade_color lightgrey | |||||
| default_outline_color black | |||||
| alignment top_right | |||||
| gap_x 20 | |||||
| gap_y 50 | |||||
| no_buffers yes | |||||
| uppercase no | |||||
| format_human_readable yes | |||||
| TEXT | |||||
| ${color white}${alignr}Arch Linux | |||||
| ${color white}${hr} | |||||
| ${color}host ${color black}:${color white} ${nodename} | |||||
| ${color}os ${color black}:${color white} ${sysname} ${kernel} | |||||
| ${color}freq ${color black}:${color white} ${freq 1}Mhz | ${freq 2}Mhz | |||||
| ${color}upt ${color black}:${color white} ${uptime} | |||||
| #${color}btry ${color black}:${color white} ${battery} | |||||
| #${color}btime${color black}:${color white} ${battery_time} | |||||
| ${color white}${hr} | |||||
| ${color}cpu ${color black}:${color white} ${cpu cpu0}% ${cpubar cpu0} | |||||
| ${color}ram ${color black}:${color white} ${memperc}% ${membar} | |||||
| ${color white}${stippled_hr} | |||||
| ${color}root ${color black}:${color white} ${fs_free /} ${fs_bar /} | |||||
| ${color}/tmp ${color black}:${color white} ${fs_free /tmp} ${fs_bar /tmp} | |||||
| ${color white}${stippled_hr} | |||||
| ${color}addr ${color black}:${color white} ${addr} | |||||
| ${color}down ${color black}:${color white} ${downspeed}/s | |||||
| ${color #888888}${downspeedgraph ff0000 0000ff} | |||||
| ${color}up ${color black}:${color white} ${upspeed}/s | |||||
| ${color #888888}${upspeedgraph 0000ff ff0000} | |||||
| ${color white}${hr} | |||||
| #${color white}${alignr}${execi 900 cal -1} | |||||
| @@ -0,0 +1,39 @@ | |||||
| # ~/.conkyrc | |||||
| # | |||||
| double_buffer yes | |||||
| background no | |||||
| use_xft yes | |||||
| xftfont DejaVu Sans Mono:size=10 | |||||
| xftalpha 0.8 | |||||
| update_interval 1.0 | |||||
| total_run_times 0 | |||||
| own_window yes | |||||
| own_window_type override | |||||
| own_window_transparent yes | |||||
| own_window_colour hotpink | |||||
| own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager | |||||
| minimum_size 200 | |||||
| draw_shades no | |||||
| draw_outline no | |||||
| draw_borders no | |||||
| stippled_borders 0 | |||||
| border_width 1 | |||||
| default_color green # slategrey | |||||
| default_shade_color lightgrey | |||||
| default_outline_color black | |||||
| alignment bottom_left | |||||
| gap_x 20 | |||||
| gap_y 20 | |||||
| no_buffers yes | |||||
| uppercase no | |||||
| format_human_readable yes | |||||
| TEXT | |||||
| ${color yellow}/var/log/dmesg.log: | |||||
| ${color white}${tail /var/log/dmesg.log 15} | |||||
| @@ -23,4 +23,4 @@ addtopath ${HOME}/bin | |||||
| type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 | type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 | ||||
| # in my environment powerdown does not work | # in my environment powerdown does not work | ||||
| env > $HOME/.env.txt | |||||
| mkdir -p ~/.backup/log | |||||
| @@ -13,6 +13,9 @@ tint2 & | |||||
| volumeicon & | volumeicon & | ||||
| conky -c ~/.dotfiles/conkyrc >~/.backup/log/conky.log 2>&1 & | |||||
| conky -c ~/.dotfiles/conkyrc.2 >~/.backup/log/conky.2.log 2>&1 & | |||||
| #wicd-client --tray & # done by /etc/xdg/autostart/wicd-client.desktop | #wicd-client --tray & # done by /etc/xdg/autostart/wicd-client.desktop | ||||
| # Detection of insertion of an optical disk | # Detection of insertion of an optical disk | ||||