You are not logged in.
@OK100: and so you seem to have finally discovered the obscure beauty of xsetroot backgrounds.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Starting to get things to work.
(better?)
Sorry 'bout the big pic earlier.
-- mod edit: read the rules and only post thumbnails https://bbs.archlinux.org/viewtopic.php?id=61754 [jwr] --
Last edited by gholen (2012-06-18 00:31:36)
Offline
now your post is lacking a link to the big shot
Last edited by null (2012-06-18 10:50:55)
Offline
Starting to get things to work.
http://i.imgur.com/ymPb1s.png (better?)
Sorry 'bout the big pic earlier.-- mod edit: read the rules and only post thumbnails https://bbs.archlinux.org/viewtopic.php?id=61754 [jwr] --
I think that this is the correct this for the bigger picture
Offline
@OK100: and so you seem to have finally discovered the obscure beauty of xsetroot backgrounds.
Not exactly, I'm still using a regular wallpaper
Offline
@OK100: what is your vim colorscheme? and where i can get it?
In his github, which is conveniently linked to in his sig...
Offline
Just getting started using dwm (after using awesome for a while) and loving it!
I'm using my own mods equivalent to nextprev and uselessgap,
urxvt, firefox+pentadactyl and vim in shown in screenshot.
Background sourced from: http://www.facebook.com/KustomAnnual
Offline
Here's a scrot of what I'm currently running. I'm still digging these colors so I have only changed the wallpaper. The wallpaper is a photo of Gamla Stan, which the Swedes will probably know. I've been there when I was visiting my girlfriend in Sweden and I totally love the place.
I ditched all the GUI filemanagers in favor of ranger and also swapped feh for imlibsetroot since I swapped viewnior for sxiv. Savvy? Lastly, I installed udiskie to have automount work with ranger and I'm a happy camper! I also tried vim, but I can't see the advantages it has to offer over nano for my every-day typing work
Here I'm showing off my ranger colorscheme that I've made to match my dir_colors and URxvt scheme:
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Hey guys,
Reading this part of forum yesterday and didn't really know anything about Dwm and I decided to install Dwm and see how it went ?
To my surprise I love this Wm so I wiped my system and reinstalled Arch + Dwm.
I have read through most of this forum and tried different ways of trying to get conky to work on the statusbar but with no luck, I did eventually get the time and date workin and wallpaper.
so if anyone has some ideas of how I could get conky to work on the statusbar , I did get conky working but not on the statusbar.
cheers
Last edited by wokko (2012-06-20 10:54:12)
Offline
Here is my .conkyrc for statuscolor patched dwm:
update_interval 2
TEXT
${exec echo -e \\x02 } ${exec echo -e \\x01}${cpu cpu0} ${exec echo -e \\x02 } ${exec echo -e \\x01}${execi 5 sensors | grep -A 1 'temp1' | cut -c16-17 | sed '/^$/d'}° ${exec echo -e \\x02} ${exec echo -e \\x01}${memperc} ${exec echo -e \\x02} ${exec echo -e \\x01}${execi 900 $HOME/bin/weather}° ${exec echo -e \\x02} ${exec echo -e \\x01}${time %a %d} ${exec echo -e \\x02} ${exec echo -e \\x01}${time %H:%M}
You also need stlarch_font from aur for icons.
Define it in config.h like this:
static const char font[] = "-Misc-Stlarch-Medium-R-Normal--11-100-75-75-C-80-ISO10646-1" "," "-*-ohsnap-medium-*-*-*-14-*-*-*-*-*-*-*";
And the weather script:
#!/bin/sh
#AccuWeather (r) RSS weather tool for conky
#(c) Michael Seiler 2007
METRIC=1 #Should be 0 or 1; 0 for F, 1 for C
LOCATION="EUR|BA|BK001|SARAJEVO"
# Temp, conditions #
#curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=${LOCATION} \
#| sed -n '/Currently:/ s/.*: \(.*\): \([-0-9]*\)\([CF]\).*/\2° \L\1/p' | sed 's/A°/°/'
# Temp only #
curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=${LOCATION} | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }' | cut -d ":" -f2 | cut -d " " -f2 | cut -d "C" -f1
Finally, add this to your dwm startup script:
conky | while read -r; do xsetroot -name "$REPLY"; done &
Last edited by Šaran (2012-06-20 11:39:42)
Offline
Thanks Saran
But I have found a solution from "FreeBSD forum" , maybe I will give your's ago tomorrow, it's getting a bit late here.
this is my .conkyrc
out_to_x no
out_to_console yes
background no
update_interval 1
total_run_times 0
TEXT
Hitman : [CPU: ${cpu cpu1}% / ${cpu cpu2}% / ${cpu cpu3}% / ${cpu cpu4}%] : [Mem:$memperc%] : [${downspeedf eth0}kb/s ${upspeedf eth0}kb/s] : [${time %a %b %d %H:%M:%S}]
and I put in .xinitrc
conky | while read -r status; do xsetroot -name "$status"; done &
And it works great
Offline
Offline
^ I'm honored! I like your icons, what're they called?
Btw, are you using statuscolors with xft? If so, mind sharing that patch?
Last edited by Unia (2012-06-20 18:14:22)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
I could show a "clean" screen shot, but it would just be a dark grey square.
I could show a "dirty" screen shot, but it would just be a dark grey square with some terminals filling it up.
So I will just show my statusbar:
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The icons are Aw0ken. I'm using your dwm xft, with the no title patch removed and added a scratchpad patch.
Cheers
Paul-S
Copycat But no sure, use it I guess you're using Conky with it, then? I've been wanting to color the status for a while, but haven't gotten around to modifying the statuscolors patch and strip what I don't need...
Oh and thanks for the icons. Somehow that script never worked for me but I'll give it another go. I remember it had a blue variant, should look good with the GTK theme.
Last edited by Unia (2012-06-20 19:08:24)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Any ideas why dwm-pango (AUR) doesn't like statuscolors ?
[user@arch dwm-6.0]$ patch -p1 < dwm-5.9-statuscolors.diff
patching file config.def.h
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 46 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file config.def.h.rej
patching file dwm.c
Hunk #1 FAILED at 48.
Hunk #2 succeeded at 107 with fuzz 2 (offset 10 lines).
Hunk #3 succeeded at 192 (offset 18 lines).
Hunk #4 succeeded at 742 (offset 6 lines).
Hunk #5 succeeded at 758 (offset 6 lines).
Hunk #6 succeeded at 785 (offset 6 lines).
Hunk #7 FAILED at 820.
Hunk #8 FAILED at 839.
Hunk #9 succeeded at 892 (offset 3 lines).
Hunk #10 succeeded at 1165 with fuzz 2.
Hunk #11 FAILED at 1578.
Hunk #12 succeeded at 1799 (offset 55 lines).
4 out of 12 hunks FAILED -- saving rejects to file dwm.c.rej
Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.
Offline
Any ideas why dwm-pango (AUR) doesn't like statuscolors ?
Hey, dwm-pango maintainer here. I'll try to get the two to play together, hopefully won't take long.
Offline
Simple Boot wrote:Any ideas why dwm-pango (AUR) doesn't like statuscolors ?
Hey, dwm-pango maintainer here. I'll try to get the two to play together, hopefully won't take long.
That would be awesome
Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.
Offline
Hrm… It's not as trivial as I hoped it would be. I'll try again tomorrow if I find the time. Can't promise anything, though.
Sorry
Offline
Hrm… It's not as trivial as I hoped it would be. I'll try again tomorrow if I find the time. Can't promise anything, though.
Sorry
Pango (and XFT) changes alot of the original dwm code, on which statuscolors is based. Statuscolors in turn also changes alot; so you're left with a big mess if you want to combine the two. I wish you good luck though, and perhaps you can ask for help in the thread over @ community contributions.
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Runiq wrote:Hrm… It's not as trivial as I hoped it would be. I'll try again tomorrow if I find the time. Can't promise anything, though.
Sorry
Pango (and XFT) changes alot of the original dwm code, on which statuscolors is based. Statuscolors in turn also changes alot; so you're left with a big mess if you want to combine the two. I wish you good luck though, and perhaps you can ask for help in the thread over @ community contributions.
How did you get those colored (1) icons (2) in your status bar ?
Last edited by Simple Boot (2012-06-20 22:33:18)
Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.
Offline
@Simple Boot
You can try the pango-patch from de @firecat53
https://github.com/firecat53/Dwm/blob/m … pango.diff
Offline