[xmonad] xmonad switching screens + xsetwacom

IL'dar AKHmetgaleev akhilman at gmail.com
Sun Oct 26 15:05:36 EDT 2008


Greetings

How I can execute 
Code:
xsetwacom set stylus Screen_No $No
when I'm switching screen with hotkeys:
Code:
    --
    -- mod-{w,e,r}, Switch to physical/Xinerama screens 1, 2, or 3
    -- mod-shift-{w,e,r}, Move client to screen 1, 2, or 3
    --
    [((m .|. modMask, key), screenWorkspace sc >>= flip whenJust
(windows . f)) | (key, sc) <- zip [xK_q, xK_w, xK_e] [0..]
        , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]

For example I need to spawn "xsetwacom set stylus Screen_No 0" when I'm
switching to screen 1 by mod-q

How I can do this?


-- 
Пнд Окт 27 02:03:08 KRAT 2008
Sun Oct 26 19:03:08 UTC 2008
----------------------------------
Visit my home page http://akhilman.blogspot.com/
----------------------------------
jabber: akhil at jabber.ru
----------------------------------
Пытаться сделать мир на 1/6.7e9 лучше
Ахметгалеев Ильдар aka AkhIL
----------------------------------
Linux artstation 2.6.25-gentoo-r7 #1 SMP Mon Aug 11 08:02:41 KRAST 2008
i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux up 7 days,  6:43,
1 user,  load average: 0.24, 0.23, 0.18


More information about the xmonad mailing list