You are not logged in.
Hey guys . I got a new netbook yesterday (Asus 1018PB) and i wanted to dedicate it to Arch .
So i went ahead , installed Arch + DWM and i wanted to get those small icons in the status bar .
i've read that we need to use Dzen and pipe conky to it . But i keep seeing people posting configs called dzonky.
I dont understand what uses this Dzonky . Could someone please redirect me to a place that explains this ?
Thanks in advance..
Last edited by theinfiniti (2011-05-25 11:09:55)
~
i r lub teh code.
Offline
Dzconky is just a script which starts conky and dzen2.You can call it however you want,here is my own:
#!/bin/sh
#file : ~/.bin/dzconky
dzen2font="-artwiz-lime-*-*-*-*-*-*-*-*-*-*-*-*"
dzen2bg="#121212"
dzen2fg="#E0E0E0"
conky | dzen2 -fn "$dzen2font" -bg "$dzen2bg" -fg "$dzen2fg" -x 0 -y 1000 -h 20 -ta l
You can not have xbm icons in the dwm statusbar using a vanilla dwm.
Using my script you will have the dzen2 statusbar at the bottom
But you will need artwiz fonts and a hacked dwm.c which adds a gap at the bottom,but I won't go further in that
Last edited by nixfag (2011-05-21 11:24:57)
Offline
Dzconky is just a script which starts conky and dzen2.You can call it however you want,here is my own:
#!/bin/sh #file : ~/.bin/dzconky dzen2font="-artwiz-lime-*-*-*-*-*-*-*-*-*-*-*-*" dzen2bg="#121212" dzen2fg="#E0E0E0" conky | dzen2 -fn "$dzen2font" -bg "$dzen2bg" -fg "$dzen2fg" -x 0 -y 1000 -h 20 -ta l
You can not have xbm icons in the dwm statusbar using a vanilla dwm.
Using my script you will have the dzen2 statusbar at the bottom
But you will need artwiz fonts and a hacked dwm.c which adds a gap at the bottom,but I won't go further in that
Hey .
I know that we need to edit the dwm.c in order to give that space at the bottom for the bottom bar . But i dont think you need a hacked DWM to actually use the images . All you need to do is launch conky and pipe it to dzen2 to do the remaining stuff .
The thing i'm confused about is WHERE does this dzonky script get caled ? can i see your .xinitrc ?
Thanks in advance
~
i r lub teh code.
Offline
Well,I have 3 scripts for dwm,~/.bin/dwm-start ; ~/.bin/dwm-status and ~/.xinitrc.
This is my dwm-start:
#!/bin/sh
while true;do
"$HOME/.bin/dwm-status" &
sleep 1s ;
done &
dzconky &
trayer --widthtype request --edge bottom --align right --height 20 --transparent true &
pidgin &
parcellite &
wicd-client &
while true ; do
dwm
done
And this is my .xinitrc:
#!/bin/sh
export DE=xfce
xrdb ~/.Xdefaults &
wmname LG3D
xset +fp /usr/share/fonts/artwiz-fonts/
xset fp rehash
unclutter -idle 5 &
#fc-cache -vf &
sh ~/.fehbg
mpd ~/.mpd/mpd.conf
urxvtd -q -f -o
/usr/bin/xscreensaver -no-splash &
# exec ck-launch-session openbox-session
# xsetroot -cursor_name left_ptr &
# exec ck-launch-session xmonad
# nitrogen --restore
# xrdb ~/.Xresources &
# xset +fp /usr/share/fonts/local &
# xset fp rehash &
# sudo dropboxd start &
exec ck-launch-session $HOME/.bin/dwm-start
Here is how it looks
http://ompldr.org/vOHF0MA
The bottom bar is dzconky.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by nixfag (2011-05-22 05:59:35)
Offline
Trying it out now .
Quick question, The dwm-start and the dzconky should be chmod 755'd ?
~
i r lub teh code.
Offline
Yeah,I just chmod a+x $HOME/.bin/*
Offline
Allright , heres what i have .
~/.xinitrc
sh ~/.fehbg &
exec ck-launch-session $HOME/.bin/dwm-start
~/.bin/dwm-start
#!/bin/sh
dzconky &
while true ; do
dwm
done
~/.bin/dzconky | your code basically , hope you dont mind.
#!/bin/sh
#file : ~/.bin/dzconky
dzen2bg="#121212"
dzen2fg="#E0E0E0"
conky | dzen2 -bg "$dzen2bg" -fg "$dzen2fg" -x 0 -y 1000 -h 20 -ta r
~/.conkyrc
background no
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0
use_spacer no
TEXT
^i(~/icons/arch.xbm) ${nodename} | ${battery_short} | ${time %a %b %d} | ${time %I%M %p}
When i sign in , it just for a split second gives me the error Login command failed and then it just goes back to the logon screen
Please help I've been struggling with this for a day now
~
i r lub teh code.
Offline
Here is how it looks
http://ompldr.org/vOHF0MA
The bottom bar is dzconky.
Btw , what theme is that for Google Chrome ? Looks bloody darned awesome
~
i r lub teh code.
Offline
I've set it to use my GTK theme,ElegantGNOME or something like that and the icons are Faenza.
Offline
Awesome . BTW , can you help me with the Login command failed problem please
~
i r lub teh code.
Offline