Team Chat Logs

April 10, 2010

2010 3
Mo Tu We Th Fr Sa Su
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

[00:58:49]<k\t>LokiChaosE: http://tinyurl.com/y3vcn89
[00:59:07]<k\t>LokiChaosE: i could really use your original filename...
[01:02:34]<k\t>sorry about that, just looked up... winmove.c : excellent
[01:03:30]<k\t>LokiChaosE: clean up as in like an entire lib/run dir specifically for dwm?
[01:05:33]<k\t>lic./special comments are appreciated as well... =)
[01:06:42]<LokiChaosE>right now I have several patches that I hand applied or heavily modified to work with other patches
[01:07:22]<k\t>well don't let me _persuade_ you to publishing them if you're trying to keep it low-pro...
[01:08:49]<LokiChaosE>most are just the patches on dwm, then I modified the tile to put the master on the right side (left.c) and made a layout that's basically bottomhorz w/o a master (all windows have equal height)
[01:09:41]<LokiChaosE>for some reason the pertag wasn't working with nmaster, so I modified it to do it per-tag rather than per-mon (since I only have one monitor)
[01:10:05]<k\t>seeme relevant...
[01:10:13]<k\t>but your bottomhorz... like
[01:10:16]<k\t>_
[01:10:17]<k\t>_
[01:10:17]<k\t>_
[01:10:22]<k\t>______
[01:10:22]<k\t>______
[01:10:23]<k\t>______
[01:10:29]<k\t>sorry for flood..
[01:10:32]<LokiChaosE>I can post that, that's just a .c file
[01:10:39]<k\t>lol, ok.
[01:11:25]<LokiChaosE>http://pastebin.com/yzsc2yv0
[01:11:54]<LokiChaosE>well you can add it w/o patching anything, just need to add entires to config.h to include it
[01:12:06]<k\t>name?
[01:12:14]<LokiChaosE>stack.c
[01:12:26]<k\t>sweet...
[01:12:27]<LokiChaosE>I generally just call them the name of the function
[01:13:10]<k\t>gotcha..
[01:13:14]<LokiChaosE>you can call it whatever you like, just need to be sure to include "whatever.c"
[01:13:46]<LokiChaosE>you can even just put the function in dwm.c or config.h but I like to isolate what I write when possible
[01:14:17]<k\t>wow, this is now &layouts[7] ...
[01:14:47]<LokiChaosE>I found a patch that allowed one to use multiple attach functions (above/aside/normal) but it did other things so I manually stripped that out and modified it to be per-tag too
[01:15:24]<LokiChaosE>I have 0-13 :x
[01:16:32]<k\t> heh. but i think that is something i've been looking up. i'm not sure if my idea is parallel to yours, but basically, the way in how awesome sets _layouts_ per tag...
[01:16:34]<LokiChaosE>I also modded the attachment function to display the attachment mode in the bar next to the layout
[01:17:13]<LokiChaosE>I can set layout, number of masters (for layout that use it), master%, and attachment mode per tag
[01:17:21]<k\t>and i'm somewhat not following your attachment scheme...
[01:17:53]<LokiChaosE>the default behavior is new windows become the new master
[01:18:03]<k\t>correct...
[01:18:29]<LokiChaosE>I can set it to with be first of the non-master, last, or just above the currently focused window
[01:19:50]<k\t>ok, that makes more sense...
[01:20:08]<k\t>so there already is a patch to have a different layout per-tag?
[01:20:27]<LokiChaosE>pertag it's at suckless.org
[01:20:38]<k\t>gotya...
[01:21:26]<LokiChaosE>I also have urgent and floating windows use their own border colors
[01:22:05]<k\t>and to what event do these activate, or manually set by user?
[01:22:26]<k\t>e.g.: an instance message in finch.
[01:22:35]<k\t>instant*
[01:23:13]<LokiChaosE>I forget the setting, but the one that would normally make it flash in a task bar in a standard WM
[01:23:37]<k\t>hmm, sounds useful..
[01:24:14]<k\t>and operational in non-active tags?
[01:24:33]<k\t>s/active/focused/
[01:25:04]<LokiChaosE>yeah, the tag gets highlighted too (but not in the urgent color, trying to figure out how to set that)
[01:25:40]<k\t>hmm, pertag has conflicted with most patches...
[01:26:01]<k\t>heheh.. goodluck ;-)
[01:26:49]<LokiChaosE>yeah, I've fallen back to manually apply patches since they start to mess with each other
[01:27:46]<k\t>hmm, patch -R eh..
[01:28:17]<k\t>well how's your success with rebuilding each patch to play nice with each other?
[01:29:10]<LokiChaosE>I haven't really bothered, I've kept notes on what I changed, so I could possible mod the .diff's
[01:30:25]<k\t>cool, well...
[01:33:54]<LokiChaosE>I might try to make a patch for the per-tag attachments, and the new layout I made... those are the only semi-original things I've done
[01:35:03]<k\t>how long have you been coding C?
[01:36:59]<LokiChaosE>I did some years ago (back in middle/high school), then didn't do much for a few years (just Java, Scheme, and ASM for classes) and I've taken it back up recently
[01:37:40]<LokiChaosE>maybe 3-5 years of C?
[01:38:29]<k\t>hm..
[06:38:32]<dibb>arg: quark's 'make install' target doesn't actually install the man page, it just says it will, and creates the directory
[06:40:31]<dibb>ahah! there is none even :)
[07:33:10]<dh>Hi everyone
[07:35:08]<dh>has anyone tried to implement xmonads tagging-behaviour into dwm?
[07:36:26]<dh>xmonad uses one global set of tags. if you open up an application on tag one, you can display it on the monitor you want
[07:37:34]<dh>i've modivied view() but i think there has to be a cleaner way
[07:41:12]<lavish>dh: may I ask you why one can't use xmonad at the point? :P
[07:41:32]<lavish>dwm and xmonad are different, it's just a question of personal taste
[07:42:06]<dh>i saw this question coming
[07:42:52]<dh>first, i like dwm
[07:43:05]<lavish>I like both of them :)
[07:43:30]<dh>second xmonad doesn't compile on freebsd 8.0 release. stupid ghc
[07:43:53]<dh>you can compile xmonad 0.9 with ghc 6.10 but not with 6.12
[07:44:14]<lavish>uh!
[07:44:15]<dh>and you can compile xmonad 0.9.1 with ghc 6.12 but not with ghc 6.10
[07:44:33]<dh>and now guess what versions my portstree gives me
[07:44:38]<lavish>eheheh
[07:44:41]<dh>xmonad 0.9.1 and ghc 6.10
[07:45:11]<dh>getting xmonad 0.9 doesn't compile either
[07:45:22]<lavish>ok, got it :P
[07:45:35]<dh>i've also tried to install ghc 6.12. it's plain horror
[07:45:59]<dh>this is why i looked at dwm and like it
[07:47:16]<dh>but the separate taglist for every monitor (i think every tiling wm except xmonad does it this way) is the only thing i don't like
[07:50:32]<dh>do you have any idea how to port xmonads behaviour without changing almost every line of dwm.c?
[09:26:48]<wertwertgfhjrer>im using dwm 5.6. how do i remove the blue framing of focused windows?
[09:30:49]<jessta>wertwertgfhjrer: how will you know which window is focused?
[09:31:24]<mhi_>jessta: shading
[09:31:36]<mhi_>wertwertgfhjrer: change 'borderpx' to 0
[09:33:57]<mhi_>and don't use 5.6 :>
[09:36:41]<wertwertgfhjrer>mhi_, where do i change that? i cannot find a config.h, why not use 5.6?
[09:38:33]<mhi_>wertwertgfhjrer: Because 5.7.2 is the most current version and surely contains fixed bugs, better code, etc.
[09:39:25]<mhi_>wertwertgfhjrer: You most probably have installed dwm by your distro's package management. That doesn't make sense really. Download the sources, edit the config.h and recompile dwm by just typing 'make clean install'
[09:39:43]<mhi_>Takes like 1 second.
[09:41:09]<wertwertgfhjrer>mhi_, thx ill give it a try
[09:41:21]<mhi_>np, good luck
[09:57:29]<wertwertgfhjrer>mhi_, i installed dwm but i cannot find the config.h file
[09:58:49]<mhi_>ehm, so you downloaded the sources?
[09:59:51]<wertwertgfhjrer>yes i did, then i installed it like you said. oh, yeah config.h is in the source. sry for that
[10:00:02]<mhi_>:)
[10:00:45]<wertwertgfhjrer>well how do i delete dwm now? or can i make a second install wihout problems
[10:02:40]<JohannesSM64>suckless code has too little commenting =/
[10:03:36]<wertwertgfhjrer>so once installed its there forever :(
[10:04:22]<mhi_>wertwertgfhjrer: just edit config.h and execute 'make clean install' again
[10:05:49]<mhi_>You can can set --prefix or look in config.mk. You can tell it where to install. Basically this is just the dwm binary itself and the manpage.
[11:12:24]<wertwertgfhjrer>In order to display status info in the bar, you can do something
[11:12:24]<wertwertgfhjrer>like this in your .xinitrc:
[11:12:24]<wertwertgfhjrer> while true
[11:12:24]<wertwertgfhjrer> do
[11:12:24]<wertwertgfhjrer> xsetroot -name "`date` `uptime | sed 's/.*,//'`"
[11:12:25]<wertwertgfhjrer> sleep 1
[11:12:27]<wertwertgfhjrer> done &
[11:12:29]<wertwertgfhjrer> exec dwm. i did this but there is no status info in the bar!
[11:27:47]<mhi_>did you restart X?
[11:28:33]<mhi_>wertwertgfhjrer: ^^
[16:34:13]<arg>dibb: thx fixed
[18:05:03]<lavish>1st
[18:08:15]<nanooo>-484863dz