"Магия изображений": знакомство с ImageMagick"
(Никита Лялин)



# convert -raise 25x25 file1 file2


# convert -draw 'text 40,635 "С праздником!"' file2 file3


# convert -font Bookman-Light -fill lightblue2 -pointsize 88 -draw 'text 40,635 "С праздником!"' file2 file3


# convert -rotate -5 file3 file4


# convert -background lightblue4 file4 file5


# convert -resize 600x file5 file6


# convert -raise 25x25 -font Bookman-Light -fill lightblue2 -pointsize 88 -draw 'text 40,635 "С праздником!"' -rotate -5 -background lightblue4 -resize 600x  file1 file2


# convert -sample 100x file2 file3


# convert file.jpg file.png


# convert -raise 25x25 -font Bookman-Light -fill lightblue2 -pointsize 88 -draw 'text 40,635 "С праздником!"' -rotate -5 -background lightblue4 -resize 600x *png img-%03d.jpg


------------------------------------------------------------


"xmonad: функциональный оконный менеджер. Часть 3"
(Иван Веселов, Роман Чепляка)


className =? "Emacs"
title =? "Pidgin"
appName =? "Test"
(getStringProperty "WM_ROLE") =? "Roster window"


xprop | grep WM_CLASS


className =? "MPlayer" --> doFloat


className =? "Firefox-bin" --> doF (W.shift "web")


myManageHook = composeAll
    [ className =? "MPlayer"     --> doFloat
    , className =? "feh"         --> doFloat
    , className =? "Pidgin"      --> moveTo "im"
    , className =? "Firefox-bin" --> moveTo "web"
    , className =? "Emacs"       --> moveTo "emacs"
    , className =? "Epdfview"    --> moveTo "read"
    , className =? "Eclipse"     --> moveTo "dev"
    , className =? "VirtualBox"  --> moveTo "win"
    ]
      where moveTo = doF . W.shift


manageHook = myManageHook

