You are not logged in.

#526 2012-06-17 20:14:41

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Show off your Dwm configuration!

@OK100: and so you seem to have finally discovered the obscure beauty of xsetroot backgrounds. wink


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#527 2012-06-17 23:23:39

gholen
Member
From: Göteborg
Registered: 2011-07-26
Posts: 73
Website

Re: Show off your Dwm configuration!

Starting to get things to work.

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] --

Last edited by gholen (2012-06-18 00:31:36)

Offline

#528 2012-06-18 10:50:39

null
Member
Registered: 2009-05-06
Posts: 398

Re: Show off your Dwm configuration!

now your post is lacking a link to the big shot wink

Last edited by null (2012-06-18 10:50:55)

Offline

#529 2012-06-18 11:05:56

valytzu01
Member
From: Pitesti,Roumania
Registered: 2011-07-13
Posts: 20

Re: Show off your Dwm configuration!

gholen wrote:

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

#530 2012-06-18 17:03:14

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Show off your Dwm configuration!

bohoomil wrote:

@OK100: and so you seem to have finally discovered the obscure beauty of xsetroot backgrounds. wink

Not exactly, I'm still using a regular wallpaper tongue

Offline

#531 2012-06-19 00:41:18

kemmotar
Member
From: Ukraine
Registered: 2012-01-08
Posts: 43
Website

Re: Show off your Dwm configuration!

@OK100: what is your vim colorscheme? and where i can get it? smile

Offline

#532 2012-06-19 00:55:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Show off your Dwm configuration!

kemmotar wrote:

@OK100: what is your vim colorscheme? and where i can get it? smile

In his github, which is conveniently linked to in his sig...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#533 2012-06-19 11:31:23

vanja_z
Member
Registered: 2012-04-11
Posts: 42

Re: Show off your Dwm configuration!

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
vZWU5bQ

Offline

#534 2012-06-19 19:11:31

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Show off your Dwm configuration!

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? tongue 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 big_smile

Here I'm showing off my ranger colorscheme that I've made to match my dir_colors and URxvt scheme:

tZWVobA


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

#535 2012-06-20 10:53:09

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: Show off your Dwm configuration!

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

#536 2012-06-20 11:38:16

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: Show off your Dwm configuration!

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

#537 2012-06-20 13:22:14

wokko
Member
From: Vic AU
Registered: 2010-05-08
Posts: 38

Re: Show off your Dwm configuration!

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

#538 2012-06-20 17:22:19

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

Re: Show off your Dwm configuration!

Really nice colours Unia, I've copied the whole lot smile


tZWV4OA.jpg

Cheers
Paul-S

Offline

#539 2012-06-20 18:02:24

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Show off your Dwm configuration!

^ I'm honored! big_smile 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

#540 2012-06-20 18:46:11

Paul-S
Member
From: Wales
Registered: 2008-02-04
Posts: 353

Re: Show off your Dwm configuration!

The icons are Aw0ken. I'm using your dwm xft, with the no title patch removed and added a scratchpad patch.

Cheers
Paul-S

Offline

#541 2012-06-20 18:51:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: Show off your Dwm configuration!

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:
bar.png


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#542 2012-06-20 19:07:52

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Show off your Dwm configuration!

Paul-S wrote:

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 yikes But no sure, use it wink 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

#543 2012-06-20 19:52:25

ArchLinux
Member
Registered: 2012-06-09
Posts: 15

Re: Show off your Dwm configuration!

Today I've added icons to my dwm status bar, so I thought it was time to post some screenshots.

dterm (self-made, vte-based):
scrot_2012_06_20_213620.png

Firefox:
scrot_2012_06_20_213622.png

Offline

#544 2012-06-20 21:24:55

Simple Boot
Member
Registered: 2012-06-19
Posts: 21

Re: Show off your Dwm configuration!

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

#545 2012-06-20 21:36:50

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Show off your Dwm configuration!

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.

Offline

#546 2012-06-20 21:48:49

Simple Boot
Member
Registered: 2012-06-19
Posts: 21

Re: Show off your Dwm configuration!

Runiq wrote:
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 smile


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

#547 2012-06-20 22:05:35

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: Show off your Dwm configuration!

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 hmm

Offline

#548 2012-06-20 22:13:54

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Show off your Dwm configuration!

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 hmm

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

#549 2012-06-20 22:28:57

Simple Boot
Member
Registered: 2012-06-19
Posts: 21

Re: Show off your Dwm configuration!

Unia wrote:
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 hmm

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

#550 2012-06-21 09:20:49

ivoarch
Member
Registered: 2011-03-31
Posts: 436

Re: Show off your Dwm configuration!

@Simple Boot
You can try the pango-patch from de @firecat53
https://github.com/firecat53/Dwm/blob/m … pango.diff


I love GnuEmacs, GnuScreen, ratpoison, and conkeror.
Github )||( Weblog

Offline

Board footer

Powered by FluxBB