Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
配置桌面遇到的问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
mathabstrction
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 212

PostPosted: Sun Feb 10, 2013 5:18 am    Post subject: 配置桌面遇到的问题 Reply with quote

照着网上的资料我是这写了段代码:
import System.IO
import XMonad.Hooks.FadeInactive
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.UrgencyHook
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Util.Run
myXmonadBar = "dzen2 -x '1440' -y '0' -h '24' -w '640' -ta 'l' -fg '#FFFFFF' -bg '#1B1D1E'"
myLogHook :: Handle -> X ()
myLogHook h = dynamicLogWithPP $ defaultPP {
ppCurrent = dzenColor "#303030" "#909090" . pad
, ppVisible = wrap "^bg(#000)^fg(#88""^bg(#333)"
, ppLayout = dzenColor "#909090" "" .pad
, ppOutput = hPutStrLn h
, ppTitle = (""++) . dzenColor "White" "1B1D1E" . dzenEscape
}
main = do
status <- spawnPipe myXmonadBar
xmonad $ defaultConfig {
borderWidth = 2
, terminal = "xterm"
, modMask = mod4Mask
, logHook = myLogHook status
}
结果还是看不到dzen2。
要做怎样的修改?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum