Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (1397B)
---
1 current\_desktop
2 ================
3
4 Description
5 -----------
6 Sets \_NET\_NUMBER\_OF\_DESKTOPS and \_NET\_CURRENT\_DESKTOP on root to
7 appropriate values. Note that 'appropriate' for these values don't make …
8 as xprop -root output, since dwm uses them at bitwise but xprop displays…
9 in base ten. In other words, if you have 4 desktops,
10 \_NET\_NUMBER\_OF\_DESKTOPS is actualy 0b1111 but xprop displays this as…
11 I'm ok with this, because the end-user (program, script, w/e) can always…
12 this appropriately. The same goes for \_NET\_CURRENT\_DESKTOP: if you ha…
13 desktops 1 and 3 selected, the value is 0b1010, but xprop shows this as …
14 This isn't a problem.
15
16 I should note that in this case, \_NET\_NUMBER\_OF\_DESKTOPS does not ex…
17 conform to EWMH specifications: in reality, there are many more 'desktop…
18 15 (in the above example), as any combination of 1, 2, 3 or 4 of the ava…
19 tags can be considered one desktop. \_CURRENT\_DESKTOP will, however, al…
20 less that \_NET\_NUMBER\_OF\_DESKTOPS, so I'm happy with that.
21
22 I wrote this patch mainly for myself, as I have a script for tabbed that…
23 it (I will upload this later). I am open to feedback/contstructive criti…
24 Email is at the bottom.
25
26 Download
27 --------
28 * [dwm-current\_desktop-5.8.2.diff](dwm-current_desktop-5.8.2.diff) (dwm…
29
30 Author
31 ------
32 * Wolfgang S. - ezzieyguywuf at gmail period com
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.