Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 1e567f46 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Update

parent 8ff25d97
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Config { font = "xft:HackNerdFont:size=10:antialias=true,IPAPGothic:size=10:antialias=true" Config { font = "xft:HackNerdFont:size=10:antialias=true,IPAPGothic:size=10:antialias=true"
, bgColor = "#002b36" , bgColor = "#002b36"
, fgColor = "#839496" , fgColor = "#839496"
, iconRoot = "/home/kubat/.xmonad/xpm/"
, position = Static { xpos = 0 , ypos = 0, width = 1920, height = 18 } , position = Static { xpos = 0 , ypos = 0, width = 1920, height = 18 }
, commands = [ Run Cpu ["-t", "<fc=#b58900>CPU</fc> <total>%", "-L","3","-H","50"] 50 , commands = [ Run Cpu ["-t", "<fc=#b58900>CPU</fc> <total>%", "-L","3","-H","50"] 50
, Run Memory ["-t","<fc=#b58900>RAM</fc> <usedratio>%","-H","80","-L","10"] 50 , Run Memory ["-t","<fc=#b58900>RAM</fc> <usedratio>%","-H","80","-L","10"] 50
...@@ -24,5 +25,5 @@ Config { font = "xft:HackNerdFont:size=10:antialias=true,IPAPGothic:size=10: ...@@ -24,5 +25,5 @@ Config { font = "xft:HackNerdFont:size=10:antialias=true,IPAPGothic:size=10:
, allDesktops = False , allDesktops = False
, sepChar = "%" , sepChar = "%"
, alignSep = "}{" , alignSep = "}{"
, template = " %StdinReader% } %lektor% { %cpu% | %coretemp% | %memory% | <fc=#b58900>Vol</fc> %volume% | %vpn%%battery% | <fc=#b58900>%date%</fc> " , template = " <icon=haskell_20.xpm/> %StdinReader% } %lektor% { %cpu% | %coretemp% | %memory% | <fc=#b58900>Vol</fc> %volume% | %vpn%%battery% | <fc=#b58900>%date%</fc> "
} }
...@@ -103,13 +103,13 @@ main = do ...@@ -103,13 +103,13 @@ main = do
, ppLayout = xmobarColor "#b58900" "" . (Prelude.map toLower) , ppLayout = xmobarColor "#b58900" "" . (Prelude.map toLower)
, ppSep = " " , ppSep = " "
, ppWsSep = " " , ppWsSep = " "
, ppCurrent = xmobarColor "#268bd2" "" . wrap "[" "]" . (Prelude.map toUpper) , ppCurrent = xmobarColor "#268bd2" "" . (\ x -> x) . (Prelude.map toUpper)
, ppVisible = xmobarColor "grey" "" . (\ x -> x) . (Prelude.map toUpper) , ppVisible = xmobarColor "grey" "" . (\ x -> x) . (Prelude.map toUpper)
, ppHidden = xmobarColor "grey" "" . (\ x -> x) . (Prelude.map toUpper) , ppHidden = xmobarColor "grey" "" . (\ x -> x) . (Prelude.map toUpper)
, ppHiddenNoWindows = xmobarColor "#707070" "" . (\ x -> x) . (Prelude.map toUpper) , ppHiddenNoWindows = xmobarColor "#707070" "" . (\ x -> x) . (Prelude.map toUpper)
, ppUrgent = xmobarColor "white" "#268bd2" . (\ x -> x) . (Prelude.map toUpper) , ppUrgent = xmobarColor "white" "#268bd2" . (\ x -> x) . (Prelude.map toUpper)
, ppVisibleNoWindows = Just (xmobarColor "#707070" "" . (\ x -> x) . (Prelude.map toUpper)) , ppVisibleNoWindows = Just (xmobarColor "#707070" "" . (\ x -> x) . (Prelude.map toUpper))
, ppOrder = \(ws:layout:title:extra) -> [ws, "(" ++ (replace "minimize " "" layout) ++ ")"] , ppOrder = \(ws:layout:title:extra) -> [ (replace "minimize " "" layout), ws ]
} }
} `additionalKeys` myAdditionalKeys } `additionalKeys` myAdditionalKeys
......
/* XPM */
static char * haskell_20_xpm[] = {
"20 20 2 1",
" c None",
". c #839496",
" ",
" ",
" ",
".... .... ",
" .... ... ",
" ... .... ",
" .... .... ",
" .... ... ........",
" ... .... .......",
" .... .... ",
" .... .... ",
" ... ...... .....",
" .... ....... ....",
" .... .... ... ",
" ... .... .... ",
" .... ... .... ",
".... .... ... ",
" ",
" ",
" "};
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter