You are not logged in.
Offline
Nice. I really like the colors and font. May i ask you about the patch that did the line below the bar?
Oh, and what music player do you use?
Ceterum autem censeo Systemdinem esse delendam
Offline
Nice. I really like the colors and font. May i ask you about the patch that did the line below the bar?
Oh, and what music player do you use?
The line below the bar was all me. It was a few lines of change, nothing major.
I use ncmpcpp/mpd for music.
Offline
What is your gap size?
I don't think I changed it, so whatever the default is from the uselessgap patch.
Offline
-- mod edit: thumbnails only as per http://wiki.archlinux.org/index.php/For … s_and_Code --
I really need to change this up. I've had the same setup for almost a year.
Offline
Do all of you who use the statuscolors patch also have to use pango? I have statuscolors installed correctly but the '\x03' and '\x04' characters get printed out as text rather than changing the color of my status bar. Anyone else figure this one out?
EDIT just figured it out as per this thread: https://bbs.archlinux.org/viewtopic.php?id=88119
Last edited by choogi (2010-08-23 02:57:09)
Offline
Do any of you have a statuscolors patch that works with latest DWM?
Offline
The latest version of the statuscolors patch in suckless (5.7.2) actually does work with the latest version of DWM (5.8.2). My dwm.c was patched correctly except for the last chunk in the unfocus() method, which I just fixed manually.
In this method:
void
unfocus(Client *c, Bool setfocus) {
if(!c)
return;
grabbuttons(c, False);
XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
if(setfocus)
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
}
change this line:
XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
to this:
XSetWindowBorder(dpy, c->win, dc.colors[0][ColBorder]);
Offline
Offline
Most of the features listed below are patches from suckless.org applied, but there are also some changes I made. Disclaimer: this configuration is entirely made for my personal preferences so you might not like it at all
Taskbar
- Added application icons (_NET_WM_ICON support), this adds an extra dependency on cairo (for image operations).
- Shows all clients of the selected / active tags.
- Click focuses clicked client.
- Right-click sets monocle layout.
- Middle-click kills the clicked client.
- Divide application bars evenly among available space (awesomewm-like taskbar).
- Colour urgent clients in the taskbar on active tags.
Tagbar:
- Only show active tags.
- Colour inactive tags with urgents clients.
Layouts:
- Cycle layouts with Modkey + Space (next) and Modkey + Control + Space (previous).
- Fullscreen layout (hides topbar and removes borders).
Tags:
- Set initial layouts for some tags (monocle for web, fullscreen for movies).
- One layout per tag.
Other:
- Updated to DWM 5.9
- Cycle through urgent clients with modkey + u
- Move tiled clients around with the mouse (drag-move), awesomewm-like, NOTE: this is untested for multiple screens so is probably unstable.
- Add some keybinds for multimedia keyboards (audio play / pause, mute, www, volume buttons, etc).
You can check it out at:
hg clone http://codemadness.nl/downloads/projects/dwm/
and then checkout the branch:
hg checkout dwm-hiltjo
Up-to-date changelog: http://codemadness.nl/downloads/projects/dwm/CHANGELOG
Last edited by bob127 (2011-03-07 12:34:54)
Offline
Offline
Don't want to sound like a maniac in resource consumption.. but now I have the same bash scripts that I can show information in conky (except $moc that has a bug) for gmail, gcalendar, cpu+ram+temp, etc.. so, which of them is lighter, scripts or conky?
That depends entirely upon how the stats are gotten in the bash script. You can do some basic testing by simply running conky or the script and watching the output in htop. Memory footprint really shouldn't matter, but rather the continual CPU usage. Conky spikes the CPU every x seconds depending on your configured interval. The bash script will do similar, but I've made some goofy stat scripts that utilized nearly 30% of my CPU ever x seconds.
FWIW I used bash stats for a long time (and still do sometimes), but for the most part conky is optimized for CPU usage and is a helluva lot easier to configure without having to know system internals.
I have conky set to poll every 3 seconds and when it does it uses approximately 3-4% of the CPU; I couldn't really ask for more.
Last edited by thayer (2010-09-05 16:08:54)
thayer williams ~ cinderwick.ca
Offline
thanks for the reply
Offline
I never used conky, but when i changed from bash to perl, it used more memory but less cpu cycles. Now it draws around 1%-3% percent on a 1.3ghz Pentium M.
Ceterum autem censeo Systemdinem esse delendam
Offline
Anyone know where I can find that wallpaper?
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline
I never used conky, but when i changed from bash to perl, it used more memory but less cpu cycles. Now it draws around 1%-3% percent on a 1.3ghz Pentium M.
it's seems that's @thayer has reason because i recently did some test and built-in options from conky look optimized for using less memory/cpu.
about using perl.. i think when we say "bash script" we use more differents languages or utilities (awk, sed, grep..) and this uses more cpu that one library cached on memory.. but i'm really noob at those question and probably be wrong
Offline
Offline
Clean:
Dirty:
My first attempt at a Tiling WM.
- Heavily patched/customized dwm
- urxvt
- conky + dzen2
- ncmpcppWork in progress...
how you get snap font to work,may I see your config.h,are you use any patch for that?
Offline
TheMuffinMan wrote:Clean:
Dirty:
My first attempt at a Tiling WM.
- Heavily patched/customized dwm
- urxvt
- conky + dzen2
- ncmpcppWork in progress...
how you get snap font to work,may I see your config.h,are you use any patch for that?
xft fonts work with dwm-pango
http://aur.archlinux.org/packages.php?ID=33193
Last edited by syre (2010-10-01 14:47:59)
Offline
Offline