[wiki] [official] made first impression less cluttered || arg

From: <hg_AT_suckless.org>
Date: Thu, 31 Jul 2008 10:38:34 +0100 (BST)

changeset: 86:7b4f6c324bc3
user: arg_AT_suckless.org
date: Thu Jul 31 10:15:42 2008 +0200
files: common/index.md index.md
description:
made first impression less cluttered


diff -r f7047a465d15 -r 7b4f6c324bc3 common/index.md
--- a/common/index.md Wed Jul 30 23:22:30 2008 +0100
+++ b/common/index.md Thu Jul 31 10:15:42 2008 +0200
_AT_@ -1,5 +1,32 @@
 SUCK LESS PHILOSOPHY
 ====================
+
+Our philosophy exemplified, dwm-1.0 vs dwm-5.1
+----------------------------------------------
+ _AT_@ -1,17 +1,7 @@
+ void
+ -tag(Arg *arg)
+ -{
+ - unsigned int i;
+ -
+ - if(!sel)
+ - return;
+ -
+ - for(i = 0; i < ntags; i++)
+ - sel->tags[i] = False;
+ - sel->tags[arg->i] = True;
+ - settitle(sel);
+ - if(!isvisible(sel))
+ - arrange(NULL);
+ - else
+ - drawstatus();
+ +tag(const Arg *arg) {
+ + if(sel && arg->ui & TAGMASK) {
+ + sel->tags = arg->ui & TAGMASK;
+ + arrange();
+ + }
+ }
+
 Many (open source) hackers are proud if they achieve large amounts of code,
 because they believe the more lines of code they've written, the more progress
 they have made. The more progress they have made, the more skilled they are.
diff -r f7047a465d15 -r 7b4f6c324bc3 index.md
--- a/index.md Wed Jul 30 23:22:30 2008 +0100
+++ b/index.md Thu Jul 31 10:15:42 2008 +0200
_AT_@ -5,31 +5,7 @@
 Home of [wmii](/wmii/), [dwm](/dwm/), [libixp](/libs/libixp.html), and other quality
 software with a focus on simplicity, clarity, and frugality.
 
-Our philosophy exemplified, dwm-1.0 vs dwm-5.1
-----------------------------------------------
- _AT_@ -1,17 +1,7 @@
- void
- -tag(Arg *arg)
- -{
- - unsigned int i;
- -
- - if(!sel)
- - return;
- -
- - for(i = 0; i < ntags; i++)
- - sel->tags[i] = False;
- - sel->tags[arg->i] = True;
- - settitle(sel);
- - if(!isvisible(sel))
- - arrange(NULL);
- - else
- - drawstatus();
- +tag(const Arg *arg) {
- + if(sel && arg->ui & TAGMASK) {
- + sel->tags = arg->ui & TAGMASK;
- + arrange();
- + }
- }
+Read more about our [philosophy here](/common/index.html).
 
 29/07/2008
 ----------
Received on Thu Jul 31 2008 - 11:38:34 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:22 CEST