You are not logged in.
[...]
How you change color of tbas bar in urxvt?
What option you use?
First you have to make color definitions in Xdefaults like this:
URxvt.color0: #333333
URxvt.color1: #CC0000
URxvt.color2: #F3FF93
URxvt.color3: #C4A000
...etc.
Then write this in Xdefaults:
URxvt.tabbed.tabbar-fg: XY
URxvt.tabbed.tabbar-bg: XY
URxvt.tabbed.tab-fg: XY
URxvt.tabbed.tab-bg: XY
Where XY is number of defined color.
yeah, and is not ready for normal use yet. As soon as I rewrite a few thing I'll put it on sourceforge smile BTW it's just a frontend for xmms2
Whoa, new XMMS2 client! Looks nice, can't wait to test it.
Last edited by weakhead (2009-09-01 18:57:31)
Offline
linkmaster03 wrote:How did you manage to get a colorized output in conky-cli..?
also:
http://hcnop.net/files/linux/screenshot.png
dwm 5.6.1
The colorstatus patch translates text inside of [c] [c] to the color of a selected tag. Here's my conkyrc:
.conkyrc
background no
out_to_console yes
update_interval 2
total_run_times 0
use_spacer none
TEXT
vol[c]${exec /home/brad/vol.sh info}[c] battery[c]${battery_percent BAT1}%[c] cpu[c]${cpu cpu0}%[c] mem[c]${mem}/2GiB[c]| ${time %a %b %d %I:%M%P}
And here's the colorstatus patch for a fresh download of dwm 5.6.1:
dwm-5.6.1-colorstatus.diff
diff -up -N a/colorstatus.c b/colorstatus.c
--- a/colorstatus.c 1969-12-31 19:00:00.000000000 -0500
+++ b/colorstatus.c 2009-07-29 16:51:00.039936573 -0400
@@ -0,0 +1,145 @@
+int
+drawstatustext(int x, int ww) {
+ char cd[] = "[c]", id[] = "[i]";
+ char buf1[256] = {0};
+ Bool parse = True;
+ Bool cs = False, is = False;
+ int stextw = 0;
+
+ strcpy(buf1, stext);
+ while(parse) {
+ char *cp = 0, *ip = 0;
+
+ cp = strstr(buf1, cd);
+ ip = strstr(buf1, id);
+ if(cp != NULL || ip != NULL) {
+ char buf2[256] = {0}, buf3[256] = {0};
+ size_t clen2 = -1, ilen2 = -1, len2 = 0, dlen = 0, offset3 = 0, len3 = 0;
+
+ if(cp != NULL)
+ clen2 = cp - buf1;
+ if(ip != NULL)
+ ilen2 = ip - buf1;
+ if(clen2 < 0) {
+ len2 = ilen2;
+ dlen = strlen(id);
+ }
+ else if(ilen2 < 0) {
+ len2 = clen2;
+ dlen = strlen(cd);
+ }
+ else if(clen2 < ilen2) {
+ len2 = clen2;
+ dlen = strlen(cd);
+ }
+ else {
+ len2 = ilen2;
+ dlen = strlen(id);
+ }
+ strncpy(buf2, buf1, len2);
+ offset3 = len2 + dlen;
+ len3 = strlen(buf1) - offset3;
+ strncpy(buf3, buf1 + offset3, len3);
+ if(buf2 != NULL && strlen(buf2) > 0)
+ stextw = stextw + TEXTW(buf2);
+
+ memset(buf1, '\0', sizeof(buf1));
+ strcpy(buf1, buf3);
+ }
+ else {
+ stextw = stextw + TEXTW(buf1);
+ parse = False;
+ }
+ }
+ dc.x = ww - stextw;
+
+ memset(buf1, '\0', sizeof(buf1));
+ strcpy(buf1, stext);
+ parse = True;
+ while(parse) {
+ char *cp = 0, *ip = 0;
+
+ cp = strstr(buf1, cd);
+ ip = strstr(buf1, id);
+ if(cp != NULL || ip != NULL) {
+ char buf2[256] = {0}, buf3[256] = {0};
+ size_t clen2 = -1, ilen2 = -1, len2 = 0, dlen = 0, offset3 = 0, len3 = 0;
+ Bool cs3 = cs, is3 = is;
+
+ if(cp != NULL)
+ clen2 = cp - buf1;
+ if(ip != NULL)
+ ilen2 = ip - buf1;
+ if(clen2 < 0) {
+ len2 = ilen2;
+ dlen = strlen(id);
+ is3 = !is;
+ }
+ else if(ilen2 < 0) {
+ len2 = clen2;
+ dlen = strlen(cd);
+ cs3 = !cs;
+ }
+ else if(clen2 < ilen2) {
+ len2 = clen2;
+ dlen = strlen(cd);
+ cs3 = !cs;
+ }
+ else {
+ len2 = ilen2;
+ dlen = strlen(id);
+ is3 = !is;
+ }
+
+ strncpy(buf2, buf1, len2);
+ offset3 = len2 + dlen;
+ len3 = strlen(buf1) - offset3;
+ strncpy(buf3, buf1 + offset3, len3);
+ if(buf2 != NULL && strlen(buf2) > 0) {
+ dc.w = TEXTW(buf2);
+ if(cs) {
+ if(is)
+ drawtext(buf2, dc.sel, True);
+ else
+ drawtext(buf2, dc.sel, False);
+ }
+ else {
+ if(is)
+ drawtext(buf2, dc.norm, True);
+ else
+ drawtext(buf2, dc.norm, False);
+ }
+ dc.x = dc.x + dc.w;
+ }
+
+ cs = cs3;
+ is = is3;
+ memset(buf1, '\0', sizeof(buf1));
+ strcpy(buf1, buf3);
+ }
+ else {
+ dc.w = TEXTW(buf1);
+ dc.x = ww - dc.w;
+ if(dc.x < x) {
+ dc.x = x;
+ dc.w = ww - x;
+ }
+ if(cs) {
+ if(is)
+ drawtext(buf1, dc.sel, True);
+ else
+ drawtext(buf1, dc.sel, False);
+ }
+ else {
+ if(is)
+ drawtext(buf1, dc.norm, True);
+ else
+ drawtext(buf1, dc.norm, False);
+ }
+ parse = False;
+ }
+ }
+
+ return(stextw);
+}
+
diff -up -N a/dwm.c b/dwm.c
--- a/dwm.c 2009-07-29 16:19:33.599231174 -0400
+++ b/dwm.c 2009-07-29 17:54:34.501994664 -0400
@@ -269,6 +269,7 @@ static Window root;
/* configuration, allows nested code to access above variables */
#include "config.h"
+#include "colorstatus.c"
/* compile-time check if all tags fit into an unsigned int bit array. */
struct NumTags { char limitexceeded[LENGTH(tags) > 31 ? -1 : 1]; };
@@ -652,6 +653,7 @@ drawbar(Monitor *m) {
unsigned int i, n = 0, occ = 0, urg = 0;
unsigned long *col;
Client *c;
+ int stextw = 0;
for(c = m->clients; c; c = c->next) {
if(ISVISIBLE(c))
@@ -679,13 +681,8 @@ drawbar(Monitor *m) {
drawtext(ntext, dc.norm, False);
x = (dc.x += dc.w);
if(m == selmon) { /* status is only drawn on selected monitor */
- dc.w = TEXTW(stext);
- dc.x = m->ww - dc.w;
- if(dc.x < x) {
- dc.x = x;
- dc.w = m->ww - x;
- }
- drawtext(stext, dc.norm, False);
+ stextw = drawstatustext(x, m->ww);
+ dc.x = m->ww - stextw;
}
else
dc.x = m->ww;
The only problem with the colorstatus patch is that spaces are present in the statusbar in place of the [c] tags, so colored text can't be directly next to uncolored text. Once you work out the spacing though, it's not an issue.
Last edited by linkmaster03 (2009-09-01 19:42:25)
Offline
I am new to Arch so this is my first screeny. Even posted it in augusts tread by mistake... :
Clean:
[url=http://www.sanusart.com/files/scrn.png]http://www.sanusart.com/files/scrn_thumb.png
May i ask which conky config you used ?
looks nice and fitting to Archlinux.
Last edited by kaliber (2009-09-01 21:19:20)
Offline
Same old from my side!
wow really nice config. Could you shear your scrotwm.conf, Xdefaults and config of statusbar.
I'll use scrotwm under my openbsd -current machine. Which terminal-emulator do you use?
Offline
Absolutely the same as august, except with white icons instead of black, and the right conky shows load*100
Gtk: Vorta
Fluxbox: Mire v2 Blue
Wallpaper: Request Blue.
Icons: Token Dark
All you see is conky, rox, xcompmgr.
There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.
Offline
Clean and dirty:
http://th02.deviantart.net/fs27/300W/i/ … prosys.png
I'd like that wallpaper please
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
leprosys wrote:Clean and dirty:
http://th02.deviantart.net/fs27/300W/i/ … prosys.pngI'd like that wallpaper please
Anything for Lord Vader!
He posted the walls over at his DA page. Hope leprosys doesn't mind!
With Awesome and Arch Logos
http://omploader.org/vMjlpcg/zenburn-background.png
Without Arch and Awesome Logos
"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com
Offline
Daisuke_Aramaki wrote:Same old from my side!
wow really nice config. Could you shear your scrotwm.conf, Xdefaults and config of statusbar.
I'll use scrotwm under my openbsd -current machine. Which terminal-emulator do you use?
Sure thing. Will do it tomorrow. I left my laptop at work. The terminal is urxvt. It's not available in ports for OpenBSD. But you can build it from source fine.
"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com
Offline
He posted the walls over at his DA page. Hope leprosys doesn't mind!
No problem
Offline
moljac024 wrote:leprosys wrote:Clean and dirty:
http://th02.deviantart.net/fs27/300W/i/ … prosys.pngI'd like that wallpaper please
Anything for Lord Vader!
He posted the walls over at his DA page. Hope leprosys doesn't mind!
With Awesome and Arch Logos
http://omploader.org/vMjlpcg/zenburn-background.png
Without Arch and Awesome Logos
Hehe thanks....your services will be remembered
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Sakurina wrote:September? Pfft. August was where it's at; it never should have ended.
http://r-ch.net/img/arch-sep12009-thumb.png
Pretty much the same as last month, except with Zenburn colors instead of typical white on black.
I hope you're are not referring to EE Haruhi. I'm glad it's September.
What Japanese font is that?
The only fonts I have installed are the default Xorg fonts and Droid Sans; so I'm guessing it might be Droid Sans Mono? I'm really unsure.
And yes. I really was that bored this morning and wrote an Endless Eight clock.
Offline
And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict's veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found.
"This is it... this is where I belong..."
Arch Linux x86_64 | LiCo #213644 | blog / configs
Offline
Offline
Pretty much the same as last month, I'm still really liking xmonad (and arch for that matter. I'm new to both.)
xmonad w/ xmobar
roxterm, thunar, moc, uzbl, htop.
colorwrapper for pretty command output. (Thanks to Daisuke_Aramaki for a guide to installing it.)
Font: terminus
GTK: Phrink (w/ slightly changed colors, from pink to gold)
Arch x86_64 | XMonad
Offline
Acecero wrote:Sakurina wrote:September? Pfft. August was where it's at; it never should have ended.
http://r-ch.net/img/arch-sep12009-thumb.png
Pretty much the same as last month, except with Zenburn colors instead of typical white on black.
I hope you're are not referring to EE Haruhi. I'm glad it's September.
What Japanese font is that?
The only fonts I have installed are the default Xorg fonts and Droid Sans; so I'm guessing it might be Droid Sans Mono? I'm really unsure.
And yes. I really was that bored this morning and wrote an Endless Eight clock.
Since I don't have it, do you know what package it belongs too?
Offline
Sakurina wrote:Acecero wrote:I hope you're are not referring to EE Haruhi. I'm glad it's September.
What Japanese font is that?
The only fonts I have installed are the default Xorg fonts and Droid Sans; so I'm guessing it might be Droid Sans Mono? I'm really unsure.
And yes. I really was that bored this morning and wrote an Endless Eight clock.
Since I don't have it, do you know what package it belongs too?
ttf-droid on the AUR.
Offline
*snip*
Thanks! I think I owe FALK an apology: you were wight, FALK I didn't realize the patch also would apply to conky output.
Offline
mind sharing wallpaper ?
Yay, new wallpaper! Nothing else is new though.
Oh, and this is an older build of E17, from back in July. Its stable for me, so I see no reason to update it. Hooray for being outdated!
nice one what's that clock there ? is it cairo-clock ? looks good.
anyway, here's my screen Xfce4 (4.6.1) + compiz-fusion
Offline
Hi all!
This is my september's dark-minimalist & low-consumption & distraction-less desktop..
dwm with conky bar
Full Screen: http://i29.tinypic.com/2n01yt2.jpg
Offline
Could you share the wallpaper please?
Offline
anyway, here's my screen Xfce4 (4.6.1) + compiz-fusion
Conky config, please? (including icons)
Last edited by Rasi (2009-09-02 07:53:57)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Conky config, please? (including icons)
here
alignment top_left
background no
gap_x 20
gap_y 15
minimum_size 200 5
maximum_width 200
default_bar_size 100 5
update_interval 3
total_run_times 0
double_buffer yes
no_buffers yes
text_buffer_size 1248
cpu_avg_samples 2
net_avg_samples 2
use_xft yes
xftfont monofur :pixelsize=13
xftalpha 0.5
override_utf8_locale yes
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color green
#MD0: ${alignr}${fs_used /mnt/disks} / ${fs_size /mnt/disks}
#${color slate grey}/var/log/everything.log:
#${color}${exec tail -n33 /var/log/everything.log}
#${font Sans:normal:size=7}${color1}${exec dmesg | uniq | tail -n 5}
use_spacer right
TEXT
${font openlogos-archupdate:size=50}${color 1793D1}${alignc 30}A$font${color}
${voffset -10}${font Radio Space:size=40}${color1}${alignc 0}${time %H:%M}${font}${color}
${color #1793d1}${font Radio Space}${exec if [ `qdbus org.kde.amarok /Player GetCaps` = "75" ]; then echo NO MUSIC; fi}${color #1793d1}${exec if [ `qdbus org.kde.amarok /Player GetCaps` = "119" ]; then echo PLAYING; fi}${color #ff4e56}${exec if [ `qdbus org.kde.amarok /Player GetCaps` = "123" ]; then echo PAUSED; fi}${color #1793d1} ${voffset -2}${hr 2}${font}${color}
${alignc 0}${exec if [ `qdbus org.kde.amarok /Player GetCaps` != "75" ]; then /usr/local/bin/myamarokstatusNEW; fi}
${alignc 0}${color #1793d1}${exec if [ `qdbus org.kde.amarok /Player GetCaps` != "75" ]; then /usr/local/bin/myamarokcurrent; fi} ${voffset 1}${execbar echo $[ 100*`qdbus org.kde.amarok /Player PositionGet`/`qdbus org.kde.amarok /Player GetMetadata | grep mtime: | tail --bytes=+8` ]} ${voffset -1}${exec if [ `qdbus org.kde.amarok /Player GetCaps` != "75" ]; then /usr/local/bin/myamarokremaining; fi}
${voffset 3}${color #1793d1}${font Radio Space}SYSTEM ${voffset -2}${hr 2}${font}${color}
${font StyleBats:size=31}P${font}${voffset -20} UPTIME - $uptime
BATTERY - ${exec /usr/local/bin/mybattery}
${font StyleBats:size=31}A${font}${voffset -20} CPU1 - ${color ff4e56}${exec sensors | grep "Core 0" | head --bytes=18 | tail --bytes=4}${color} - ${cpu cpu1}%
CPU2 - ${color ff4e56}${exec sensors | grep "Core 1" | head --bytes=18 | tail --bytes=4}${color} - ${cpu cpu2}%
${font StyleBats:size=31}G${font}${voffset -20} RAM - $memperc%
SWAP - $swapperc%
${voffset 3}${color #1793d1}${font Radio Space}DISKS ${voffset -2}${hr 2}${font}${color}
ROOT ${alignr}${color 1793D1}${fs_free /}${color} / ${fs_size /}
HOME ${alignr}${color 1793D1}${fs_free /home}${color} / ${fs_size /home}
DATA ${alignr}${color 1793D1}${fs_free /data}${color} / ${fs_size /data}
WINSHIT ${alignr}${color 1793D1}${fs_free /mnt/winshit}${color} / ${fs_size /mnt/winshit}
${color #1793d1}${font Radio Space}WEATHER ${voffset -2}${hr 2}${font}${color}
Now${alignc -15}${execi 1800 conkyForecast --location=PLXX0029 --datatype=DW --startday=1 --shortweekday --locale=en}${alignr}${execi 1800 conkyForecast --location=PLXX0029 --datatype=DW --startday=2 --shortweekday --locale=en}
${voffset 10}${font ConkyWeather:size=36}${execi 1800 conkyForecast --location=PLXX0029 --datatype=WF}${alignc -25}${font ConkyWeather:size=36}${execi 1800 conkyForecast --location=PLXX0029 --datatype=WF --startday=1}${alignr}${font ConkyWeather:size=36}${execi 1800 conkyForecast --location=PLXX0029 --datatype=WF --startday=2}
${voffset -20}${font}${execi 1800 conkyForecast --location=PLXX0029 --datatype=LT -u}/${execi 1800 conkyForecast --location=PLXX0029 --datatype=HT -u}${alignc -20}${font}${execi 1800 conkyForecast --location=PLXX0029 --datatype=LT -u --startday=1}/${execi 1800 conkyForecast --location=PLXX0029 --datatype=HT -u --startday=1}${alignr 10}${font}${execi 1800 conkyForecast --location=PLXX0029 --datatype=LT -u --startday=2}/${execi 1800 conkyForecast --location=PLXX0029 --datatype=HT -u --startday=2}
${color #1793d1}${font Radio Space}PROCESSES ${voffset -2}${hr 2}${font}${color}
${voffset 6} $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1} ${top mem 1}
${top name 2}$alignr${top cpu 2} ${top mem 2}
${top name 3}$alignr${top cpu 3} ${top mem 3}
fonts :
aur/ttf-openlogos
aur/ttf-monofur (yaourt -S ttf-openlogos ttf-monofur)
http://www.dafont.com/style-bats.font
http://www.dafont.com/radio-space.font
Conky weather font should be included in aur/conky-forecast. If not, see http://ubuntuforums.org/showthread.php?t=666842
I'm using amarok to play my music, so if you're interested in these files in my config, that provide amarok status, just let me know
and here's my /usr/local/bin/mybattery :
#!/bin/bash
acpi | awk -F"," '{ print $2 }'
Offline
sanus|art wrote:I am new to Arch so this is my first screeny. Even posted it in augusts tread by mistake... :
Clean:
[url=http://www.sanusart.com/files/scrn.png]http://www.sanusart.com/files/scrn_thumb.pngMay i ask which conky config you used ?
looks nice and fitting to Archlinux.
Sure here it is:
#######################################################################
# Conky configuration #
# of Sanus|art #
# #
# www.sanusart.com #
# #
# Depends on: Eurostile font, lm_sensors and smartctl. #
# #
#######################################################################
### set to yes if you want Conky to be forked in the background
background yes
### X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
### Use Xft?
use_xft yes
### Xft font when Xft is enabled
xftfont arial:size=7:bold
### Text alpha when using Xft
#xftalpha 0.8
### Colors:
color1 3d98ff
color0 ffffff
color2 f2f2f2
color3 cccccc
color4 aaaaaa
color5 cc0000
color6 00cc00
default_color cccccc
default_shade_color 000000
default_outline_color 000000
### MPD host/port
mpd_host localhost
mpd_port 6600
mpd_password admin
### Print everything to console?
out_to_console no
### mail spool
mail_spool $MAIL
### Update interval in seconds
update_interval 1.0
### 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
### If own_window is yes, you may use type normal, desktop or override
own_window_type override
### Use pseudo transparency with own_window?
own_window_transparent yes
### If own_window_transparent is set to no, you can set the background colour here
#own_window_colour black
### If own_window is yes, these window manager hints may be used
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 210 5
### Maximum width of window
maximum_width 210
### Draw shades?
draw_shades yes
### Draw outlines?
draw_outline no
### Draw borders around text
draw_borders no
### Draw borders around graphs
draw_graph_borders yes
### Stippled borders?
stippled_borders 1
### border margins
border_margin 4
### border width
border_width 0
### Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
### Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 60 # To hide from tranparent window borders.
### Subtract file system buffers from used memory?
no_buffers yes
### set to yes if you want all text to be in uppercase
uppercase no
### number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
### number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
### 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
### Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
### Maximum number of special things, e.g. fonts, offsets, aligns, etc.
max_specials 512
### Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384
### Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
### Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units
### TEST - Example of 'todo.txt':
# My Task number 1..........TaskTime TaskDate
# My Task number 2..........TaskTime TaskDate
# My Task number 3..........TaskTime TaskDate
# My Task number 4..........TaskTime TaskDate
# And so on ... up to 30 lines (?).
# To show: type '${exec head /path/to/todo.txt}'
TEXT
${color1}${font Eurostile:size=12:bold}SYSTEM${color3}${texeci 5 sensors | grep 'Core0' | cut -c15-16 | sed '/^$/d'}°C ${color1}$stippled_hr${font}
${color0}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //' | awk NR==1}
${color0}$sysname ${color3}|${color0} ${color0}KERNEL: ${color3}$kernel ${alignr 2}${color0}ON ${color3}$machine
${color0}UPTIME: ${color3}$uptime ${alignr 2}${color0}Load: ${color3}$loadavg
${color1}${hr 1}
${font Eurostile:size=10:bold}${color3}${time %a} ${color0}${time %d} ${color3}${time %b} ${color0}${time %Y} ${color3}|${color0} ${color0}${time %I:%M:%S %P}${font}
${color1}${hr 1}
${color #ffffff}CPU1: ${color #cccccc}${cpubar cpu1 7,80} ${color #999999} ${cpu cpu1}% ${alignr 2}${color0}freq: ${color4}${freq_dyn_g 1}MHz
${color #cccccc}${cpugraph cpu1 15,203 999999 f2f2f2}
${color0}RAM: ${color4}$mem/$memmax - $memperc% ${color3}${alignr 2}${membar 7,70}
${color0}Swap: ${color4}$swap/$swapmax - $swapperc% ${color3}${alignr 2}${swapbar 7,70}
${color0}Total processes: ${color4}$processes ${alignr 1}${color0}Running processes: ${color4}$running_processes
${color1}${font Eurostile:size=12:bold}${color1}WIFI${color3}NETWORK${color1} $stippled_hr ${font}
${color #ffffff}Down:${color #999999} ${downspeed wlan0} k/s${color #cccccc} ${offset 50}${color #ffffff}Up:${color #999999} ${upspeed wlan0} k/s
${color #cccccc}${downspeedgraph wlan0 15,100 f2f2f2 666666} ${color #cccccc}${upspeedgraph wlan0 15,100 f2f2f2 666666}
${color #ffffff}Signal: ${color #999999}${wireless_link_qual wlan0}% ${color #cccccc}${alignr}${wireless_link_bar 7,120 wlan0}
${color1}${font Eurostile:size=12:bold}DRIVE${color3}${texeci 30 sudo smartctl --all /dev/sda | grep "Temperature" | cut -c88-89;}°C ${color1}${color1}$stippled_hr ${font}
${color #ffffff}Boot ${goto 50}${color #999999}${fs_used /boot}/${fs_size /boot} ${color #cccccc}${alignr 2}${fs_free_perc /boot}% ${fs_bar 7,60 /boot}
${color #ffffff}System ${goto 50}${color #999999}${fs_used /}/${fs_size /} ${color #cccccc}${alignr 2}${fs_free_perc /}% ${fs_bar 7,60 /}
${color #ffffff}Home ${goto 50}${color #999999}${fs_used /home}/${fs_size /home} ${color #cccccc}${alignr 2}${fs_free_perc /home}% ${fs_bar 7,60 /home}
${color #ffffff}Backup ${goto 50}${color #999999}${fs_used /backup}/${fs_size /backup} ${color #cccccc}${alignr 2}${fs_free_perc /backup}% ${fs_bar 7,60 /backup}
${color #ffffff}Win7 ${goto 50}${color #999999}${fs_used /media/windows}/${fs_size /media/windows} ${color #cccccc}${alignr 2}${fs_free_perc /media/windows}% ${fs_bar 7,60 /media/windows}
${color #ffffff}USB ${goto 50}${if_mounted /media/DISK-ON-KEY}${color #999999}${fs_used /media/DISK-ON-KEY}/${fs_size /media/DISK-ON-KEY}${color #cccccc}${alignr 2}${fs_free_perc /media/DISK-ON-KEY}% ${fs_bar 7,60 /media/DISK-ON-KEY}$else${color #999999}Not mounted${color} $endif
${color #ffffff}CD ${goto 50}${if_mounted /media/cdrom0}${color #999999}${fs_used /media/cdrom0}/${fs_size /media/cdrom0}${color #cccccc}${alignr 2}${fs_free_perc /media/}% ${fs_bar 7,60 /media/cdrom0}$else${color #999999}Not mounted${color}$endif
${color1}${font Eurostile:size=12:bold}RUN${color3}MONITOR${color1} $stippled_hr ${font}
${color0}NAME - ${goto 110}PID${goto 138}CPU%${goto 175}MEM%
${color4}${top name 1} ${goto 105}${top pid 1}${goto 138}${top cpu 1}${goto 175}${top mem 1}
${color4}${top name 2} ${goto 105}${top pid 2}${goto 138}${top cpu 2}${goto 175}${top mem 2}
${color4}${top name 3} ${goto 105}${top pid 3}${goto 138}${top cpu 3}${goto 175}${top mem 3}
${color0}MEMORY -
${color4}${top_mem name 1} ${goto 105}${top_mem pid 1}${goto 138}${top_mem cpu 1}${goto 175}${top_mem mem 1}
${color4}${top_mem name 2} ${goto 105}${top_mem pid 2}${goto 138}${top_mem cpu 2}${goto 175}${top_mem mem 2}
${color4}${top_mem name 3} ${goto 105}${top_mem pid 3}${goto 138}${top_mem cpu 3}${goto 175}${top_mem mem 3}
${color1}${font Eurostile:size=12:bold}LOCAL${color3}SERVER${color1} $stippled_hr${font}
${color0}APACHE: ${goto 105}${if_running httpd}${color6}RUNNING${else}${color5}IS DOWN${endif}
${color0}MySQL: ${goto 105}${if_running mysqld}${color6}RUNNING${else}${color5}IS DOWN${endif}
${color0}SSH: ${goto 105}${if_running ssh}${color6}RUNNING${else}${color5}IS DOWN${endif}
${color0}FTP: ${goto 105}${if_running sftp}${color6}RUNNING${else}${color5}IS DOWN${endif}
${color1}${font Eurostile:size=12:bold}R${color3}SYNC${color1} $stippled_hr${font}
${color0}HOME ${goto 60}${color3}Last sync ${alignr 2}${color4}${texeci 1000 tail --lines=1 /var/log/rsync-home.log | cut -c1-20}
${color0}SYSTEM ${goto 60}${color3}Last sync ${alignr 2}${color4}${texeci 1000 tail --lines=1 /var/log/rsync-system.log | cut -c1-20}
${color1}${font Eurostile:size=12:bold}E-MAIL${color3}IMAP${color1} $stippled_hr${font}
${color0}BOX ${goto 70}FOLDER ${goto 130}NEW ${goto 165}TOTAL
${color4}PERSONAL ${goto 70}Inbox ${goto 130}${new_mails /home/sasha/.Mail/sanusartGmail/INBOX} ${goto 165}${mails /home/sasha/.Mail/sanusartGmail/INBOX}
${color4}SANUS|ART ${goto 70}Inbox ${goto 130}${new_mails /home/sasha/.Mail/sanusart/INBOX} ${goto 165}${mails /home/sasha/.Mail/sanusart/INBOX}
${color4}SPAM ${goto 70}Spambox ${goto 130}${new_mails /home/sasha/.Mail/spam/INBOX} ${goto 165}${mails /home/sasha/.Mail/spam/INBOX}
${color1}${font Eurostile:size=12:bold}PAC${color3}MAN${color1} $stippled_hr${font}
${alignc}${color0}${texeci 1000 pacman -Qu | wc -l} ${color4}Updates pending
${color1}$stippled_hr
SANUSART - free VST plug-ins | Music | Web design | Graphics | Sound engineering | Software | Tutorials | PHP scripts
Offline