You are not logged in.
I'm customizing rules for dwm in config.h, but I'm having trouble getting a rule to work with IPython3 qt console. I launched the app with "ipython3 qtconsole" (from dmenu), ran the shell script from dwm's site (http://dwm.suckless.org/customisation/rules) to get the properties:
xprop |awk '
/^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print}
/^WM_NAME/{sub(/.* =/, "title:"); print}'which gives me these properties:
title: "IPython"
instance: ""
class: ""I set my rule in config.h like this:
static const Rule rules[] = {
{ "IPython", NULL, NULL, 1 << 3, False, -1 },
};rebuilt dwm, and restarted my X-server. But, when I launch "ipython3 qtconsole", the console shows up on the currently viewed tag, not tag 4. Is this the correct rule? I've tried variations like IPython3, Ipython, ipython3, etc. to no avail.
Last edited by pythonscript (2013-10-12 12:42:35)
Lenovo SL510 Thinkpad / Asus EEEPC 1005HA
No hables a menos que puedas mejorar el silencio. - Neruda
La sabiduría nos llega cuando ya no nos sirve de nada. - Márquez
Offline
Have you tried it using the title field?
{ NULL, NULL, "IPython", 1 << 3, False, -1 },Offline
That did it, and in hindsight, that makes perfect sense. I glossed over the comment in config.h that spelled that out.
Lenovo SL510 Thinkpad / Asus EEEPC 1005HA
No hables a menos que puedas mejorar el silencio. - Neruda
La sabiduría nos llega cuando ya no nos sirve de nada. - Márquez
Offline
Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title...
Offline