Twitter (was mache ich gerade?)

    Suche

     

    Credits

    Archiv

    März 2009
    Mo
    Di
    Mi
    Do
    Fr
    Sa
    So
     
     
     
     
     
     
     1 
     2 
     3 
     4 
     6 
     7 
     9 
    10
    11
    13
    14
    15
    16
    17
    19
    20
    21
    22
    23
    24
    25
    27
    28
    29
    30
    31
     
     
     
     
     
     

    Status

    Online seit 6916 Tagen
    Zuletzt aktualisiert: 17. Apr, 22:03

    Counter & Co.

    Egoload - Verträumter Idealist
    Mein
Koordinaten auf der EgoMap:  93,2
    100% Heidnisch

    Locations of visitors to this page

    Mittwoch, 18. März 2009

    XMonad and Psi

    I recently switched from my beloved ion3 to xmonad, a window manager written and configured in haskell. It takes some time getting used to edit the xmonad.hs configuration file, but it's really worth if it you want to learn haskell anyway. XMonads big plus is that there's a big extension library available that offers many cool workspace layouts. So you can have several workspaces, each with its own layouts.
    I'm using Psi for most of my instant messaging needs (does Jabber and GPG encryption ring a bell?), so my idea was to have a layout that keeps my buddy list ("roster") on one side of the screen, filling the rest with open chat windows. As you already might know there is a layout available, simply called IM. But it took me a while to figure out what I needed to get psi working completely. So here we go with some snippets of my xmonad.hs:
     
    
    import XMonad.Layout.IM
    import XMonad.Layout.PerWorkspace
    

    Your layout configuration should contain something like this:
    
    withIM (1%6) (Title "Psi") Grid ||| resizableTile $
    
    (Title "Psi") is used by withIM to determine which window is Psis' buddy list/roster. The rest of the line is just a list of Layouts to be used by the rest of screen. So yes, you can have several layouts and even rotate them.
    But this does not send the roster to my workspace "9", so Psi has to be added to the ManageHook.
        , className =? "chat"            --> doF (W.shift "9") 
        , title     =? "Psi"             --> doF (W.shift "9")
    
    The code listed above works, but the following solution is more elegant, because it simply catches all psi windows:
        , className =? "psi"            --> doF (W.shift "9")
    

    Aktuelle Beiträge

    Im happy I finally registered
    Excellent write-up. I absolutely love this site. Continue...
    http://mittenmail3.isblog.net/pick-a-winner-via-hashtag-entry-for-twitter-and-instagram-woobox-bl... (Gast) - 17. Apr, 22:03
    Just want to say Hi!
    I all the time emailed this blog post page to all...
    how to get instagram likes (Gast) - 30. Mär, 23:20
    Im happy I now signed...
    Hello, There's no doubt that your website could possibly...
    buy instagram followers cheap (Gast) - 30. Mär, 09:27
    Hallo Miau!
    Ich will einen schönen Tag wünschen, mit unseren Schmusekatzen....
    SCHLAGLOCH - 4. Apr, 14:51
    Sehe hier nut Tag und...
    Wo ist das Jahr an dem der Text geschrieben wurde?
    Gast (Gast) - 3. Mär, 20:38

    User Status

    Du bist nicht angemeldet.

    ...wenn man trotzdem lacht
    Atari Mega ST
    Auf Arbeit
    Bloggen
    Bookmarks & Links
    BSD
    Bundeswehr
    CCC07
    Computing
    Contentmafia
    Datenschutz
    DRM
    Fahrrad
    Finanzkrise
    Fundsachen
    G8
    ... weitere
    Profil
    Abmelden
    Weblog abonnieren