Skip to content

Commit

Permalink
added customized xmo*-files
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Tingelstad committed Aug 19, 2012
1 parent d2ea4eb commit bb07338
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions xmobar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
-- This is setup for dual 1920x1080 monitors, with the right monitor as primary
Config {
font = "xft:Fixed-8",
bgColor = "#000000",
--bgColor = "#000000",
bgColor = "#2c2c2c",
fgColor = "#ffffff",
position = Static { xpos = 1920, ypos = 0, width = 1800, height = 16 },
lowerOnStart = True,
commands = [
Run Weather "KNYC" ["-t","<tempF>F <skyCondition>","-L","64","-H","77","-n","#CEFFAC","-h","#FFB6B0","-l","#96CBFE"] 36000,
Run Weather "ENVA" ["-t","<tempC>C <skyCondition>","-L","10","-H","20","-n","#CEFFAC","-h","#FFB6B0","-l","#96CBFE"] 36000,
Run MultiCpu ["-t","Cpu: <total0> <total1> <total2> <total3>","-L","30","-H","60","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC","-w","3"] 10,
Run Memory ["-t","Mem: <usedratio>%","-H","8192","-L","4096","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
Run Swap ["-t","Swap: <usedratio>%","-H","1024","-L","512","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
Expand All @@ -20,5 +20,5 @@ Config {
],
sepChar = "%",
alignSep = "}{",
template = "%StdinReader% }{ %multicpu% %memory% %swap% %eth0% <fc=#FFFFCC>%date%</fc> %KNYC%"
template = "%StdinReader% }{ %multicpu% %memory% %swap% %eth0% <fc=#FFFFCC>%date%</fc> %ENVA%"
}
17 changes: 9 additions & 8 deletions xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ import qualified Data.Map as M
-- The preferred terminal program, which is used in a binding below and by
-- certain contrib modules.
--
myTerminal = "/usr/bin/urxvt"
myTerminal = "/usr/bin/xterm"


------------------------------------------------------------------------
-- Workspaces
-- The default number of workspaces (virtual screens) and their names.
--
myWorkspaces = ["1:term","2:web","3:code","4:vm","5:media"] ++ map show [6..9]
myWorkspaces = ["1:term","2:web","3:code","4:vm","5:fm", "6:media"] ++ map show [6..9]


------------------------------------------------------------------------
Expand All @@ -58,8 +58,9 @@ myManageHook = composeAll
, resource =? "kdesktop" --> doIgnore
, className =? "MPlayer" --> doFloat
, resource =? "skype" --> doFloat
, resource =? "konqueror" --> doShift "5:fm"
, className =? "VirtualBox" --> doShift "4:vm"
, className =? "Xchat" --> doShift "5:media"
, className =? "Xchat" --> doShift "6:media"
, isFullscreen --> (doF W.focusDown <+> doFullFloat)]


Expand Down Expand Up @@ -87,7 +88,7 @@ myLayout = avoidStruts (
-- Currently based on the ir_black theme.
--
myNormalBorderColor = "#7c7c7c"
myFocusedBorderColor = "#ffb6b0"
myFocusedBorderColor = "#DC8CC4"

-- Colors for text and backgrounds of each tab when in "Tabbed" layout.
tabConfig = defaultTheme {
Expand All @@ -99,14 +100,14 @@ tabConfig = defaultTheme {
inactiveColor = "#000000"
}

-- Dark pastels
-- Color of current window title in xmobar.
xmobarTitleColor = "#FFB6B0"

xmobarTitleColor = "#DC8CC4"
-- Color of current workspace in xmobar.
xmobarCurrentWorkspaceColor = "#CEFFAC"
xmobarCurrentWorkspaceColor = "#60B48A"

-- Width of the window border in pixels.
myBorderWidth = 1
myBorderWidth = 2


------------------------------------------------------------------------
Expand Down

0 comments on commit bb07338

Please sign in to comment.