Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating xmobar for 1920x1080 resolution. Also using consistent color…

…s in Monitors.
  • Loading branch information...
commit e199ac2fb2d3678e40838d2b1b8b9ae526b7fb61 1 parent f13580a
Vic Fryzel authored
Showing with 8 additions and 9 deletions.
  1. +1 −1  bin/tray
  2. +7 −8 xmobar.hs
View
2  bin/tray
@@ -6,5 +6,5 @@
# This is setup to display on dual 1680x1050 monitors, with the right-side
# monitor as primary. Adjust margin as necessary for other resolutions/setups.
-trayer --edge top --align left --margin 3240 --width 120 --widthtype pixel --height 12 \
+trayer --edge top --align right --margin 0 --width 120 --widthtype pixel --height 12 \
--padding 1 --tint 0x000000 --transparent true
View
15 xmobar.hs
@@ -2,20 +2,19 @@
-- Author: Vic Fryzel
-- http://github.com/vicfryzel/xmonad-config
--- This is setup for dual 1680x1050 monitors, with the right monitor as primary
+-- This is setup for dual 1920x1080 monitors, with the right monitor as primary
Config {
font = "xft:Fixed-8",
bgColor = "#000000",
fgColor = "#ffffff",
- position = Static { xpos = 1680, ypos = 0, width = 1560, height = 16 },
+ position = Static { xpos = 1920, ypos = 0, width = 1800, height = 16 },
lowerOnStart = True,
commands = [
- Run Weather "KNYC" ["-t","<tempF>F <skyCondition>","-L","64","-H","77","--normal","#CEFFAC","--high","#FFB6B0","--low","#96CBFE"] 36000,
- Run Cpu ["-L","3","-H","50","--normal","#CEFFAC","--high","#FFB6B0"] 10,
- Run MultiCpu ["-t","Cpu: <total0><total1><total2><total3>","-L","3","-H","50","--normal","#CEFFAC","--high","#FFB6B0","-w","5"] 10,
- Run Memory ["-t","Mem: <usedratio>%"] 10,
- Run Swap [] 10,
- Run Network "eth0" ["-t","Net: <rx>, <tx>","-H","200","-L","10","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 5,
+ Run Weather "KNYC" ["-t","<tempF>F <skyCondition>","-L","64","-H","77","-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,
+ Run Network "eth0" ["-t","Net: <rx>, <tx>","-H","200","-L","10","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
Run Date "%a %b %_d %l:%M" "date" 10,
Run StdinReader
],
Please sign in to comment.
Something went wrong with that request. Please try again.