Tweaking colors and tray placement
This commit is contained in:
parent
5b24dfee4b
commit
0a9e4aadf0
5 changed files with 29 additions and 22 deletions
|
@ -4,6 +4,7 @@
|
|||
# http://github.com/vicfryzel/xmonad-config
|
||||
|
||||
|
||||
eval `exec /usr/bin/dmenu_run -fn '9x15' \
|
||||
-nb '#000000' -nf '#FFFFFF' -sb '#333333' -sf '#CEFFAC' -p '>' -i`
|
||||
|
||||
# eval `exec /usr/bin/dmenu_run -fn '9x15' \
|
||||
# -nb '#000000' -nf '#FFFFFF' -sb '#333333' -sf '#CEFFAC' -p '>' -i`
|
||||
eval `exec /usr/bin/dmenu_run -fn 'xft:Ubuntu Mono-11' \
|
||||
-nb '#000000' -nf '#FFFFFF' -sb '#333333' -sf '#CEFFAC' -p '>' -i`
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
xcompmgr &
|
||||
#xcompmgr &
|
||||
|
||||
gsettings set org.gnome.desktop.background picture-uri "" &
|
||||
|
||||
|
@ -12,10 +12,10 @@ shutter --min_at_startup &
|
|||
|
||||
#gnome-terminal &
|
||||
#chromium-browser &
|
||||
gnome-do &
|
||||
#gnome-do &
|
||||
|
||||
#gnome-settings-daemon &
|
||||
gnome-sound-applet
|
||||
#gnome-sound-applet
|
||||
#nm-applet &
|
||||
#gnome-power-manager &
|
||||
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
|
||||
killall trayer
|
||||
|
||||
# This is setup to display on dual 1680x1050 monitors, with the right-side
|
||||
# monitor as primary. Adjust margin as necessary for other resolutions/setups.
|
||||
# # 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 --expand true --SetDockType true \
|
||||
--align right --margin 0 --width 10 --widthtype percent --height 22 \
|
||||
--padding 1 --tint 0x000000 --alpha 0 --transparent true
|
||||
--align right --margin 0 --width 10 --widthtype percent --height 18 \
|
||||
--padding 1 --tint 0x000000 --alpha 255 --transparent true \
|
||||
--distance 300 --distancefrom right
|
||||
|
|
|
@ -6,15 +6,16 @@ Config {
|
|||
-- font = "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
|
||||
--font = "xft:Fixed-11"
|
||||
--font = "xft:Monospace-9",
|
||||
font = "xft:Ubuntu Mono:pixelsize=17,dpi=96,rgba=rgb,style=regular,hinting=true,antialias=true,hintstyle=hintfull",
|
||||
--font = "xft:Ubuntu Mono:pixelsize=17,dpi=96,rgba=rgb,style=regular,hinting=true,antialias=true,hintstyle=hintfull",
|
||||
font = "xft:Ubuntu Mono-11",
|
||||
bgColor = "#000000",
|
||||
fgColor = "#ffffff",
|
||||
position = TopW L 90,
|
||||
position = TopW L 100,
|
||||
lowerOnStart = True,
|
||||
commands = [
|
||||
Run Weather "KTPA" ["-t","<tempF>F","-L","64","-H","85","-n","#CEFFAC","-h","#FFB6B0","-l","#96CBFE"] 36000,
|
||||
-- Run Weather "KTPA" ["-t","<tempF>F","-L","64","-H","85","-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 MultiCpu ["-t","<total>","-L","30","-H","60","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC","-w","3"] 10,
|
||||
Run MultiCpu ["-t","<bar>","-L","30","-H","60","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC","-w","3"] 10,
|
||||
-- Run Thermal "THRM" ["-t","iwl4965-temp: <temp>C"] 50,
|
||||
-- Run CoreTemp ["-t", "C C", "-L", "40", "-H", "60", "-l", "lightblue", "-n", "white", "-h", "red"] 50,
|
||||
Run Memory ["-t","<usedratio>%","-H","8192","-L","4096","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
|
||||
|
@ -27,5 +28,5 @@ Config {
|
|||
alignSep = "}{",
|
||||
-- template = "%StdinReader% }{ %multicpu% <fc=#FFB6B0>:</fc> %memory% <fc=#FFB6B0>:</fc> %KTPA% <fc=#FFB6B0>:</fc> <fc=#FFFFCC>%date%</fc> "
|
||||
-- template = "%StdinReader% }{ %multicpu% <fc=#FFB6B0>:</fc> %memory% <fc=#FFB6B0>:</fc> %KTPA% <fc=#FFB6B0>:</fc> <fc=#FFFFCC>%date%</fc> "
|
||||
template = "%StdinReader% }{ %multicpu% <fc=#FFB6B0>:</fc> %memory% <fc=#FFB6B0>:</fc> <fc=#FFFFCC>%date%</fc>"
|
||||
template = "%StdinReader% }{ %multicpu% %memory% <fc=#FFB6B0>:</fc> <fc=#FFFFCC>%date%</fc>"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import XMonad.Layout.Grid
|
|||
import XMonad.Layout.Spiral
|
||||
import XMonad.Layout.Tabbed
|
||||
import XMonad.Layout.PerWorkspace
|
||||
import XMonad.Layout.Named
|
||||
|
||||
import XMonad.Util.Run(spawnPipe)
|
||||
import XMonad.Util.EZConfig(additionalKeys)
|
||||
|
@ -97,7 +98,7 @@ grid = spacing 2 $ Grid
|
|||
web = spacing 2 $ Tall 1 (3/100) (80/100)
|
||||
full = noBorders $ Full
|
||||
|
||||
myLayout = avoidStruts (onWorkspace "2" web tiled ||| grid ||| full)
|
||||
myLayout = avoidStruts (onWorkspace "2" (named "Web" web) (named "Tiled" tiled) ||| named "Grid" grid) ||| named "Full" full
|
||||
|
||||
{-
|
||||
myLayout = avoidStruts (
|
||||
|
@ -122,7 +123,8 @@ myLayout = avoidStruts (
|
|||
-- Currently based on the ir_black theme.
|
||||
--
|
||||
myNormalBorderColor = "#7c7c7c"
|
||||
myFocusedBorderColor = "#ffb6b0"
|
||||
-- myFocusedBorderColor = "#ffb6b0"
|
||||
myFocusedBorderColor = "#CD0000"
|
||||
|
||||
-- Colors for text and backgrounds of each tab when in "Tabbed" layout.
|
||||
tabConfig = defaultTheme {
|
||||
|
@ -138,8 +140,10 @@ tabConfig = defaultTheme {
|
|||
xmobarTitleColor = "#FFB6B0"
|
||||
|
||||
-- Color of current workspace in xmobar.
|
||||
xmobarCurrentWorkspaceColor = "#CEFFAC"
|
||||
xmobarCurrentWorkspaceBackgroundColor = "#333333"
|
||||
-- xmobarCurrentWorkspaceColor = "#CEFFAC"
|
||||
-- xmobarCurrentWorkspaceBackgroundColor = "#333333"
|
||||
xmobarCurrentWorkspaceColor = "#00ff00"
|
||||
xmobarCurrentWorkspaceBackgroundColor = "#000000"
|
||||
|
||||
-- Width of the window border in pixels.
|
||||
myBorderWidth = 1
|
||||
|
@ -172,8 +176,8 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
|
|||
-- Launch dmenu via yeganesh.
|
||||
-- Use this to launch programs without a key binding.
|
||||
, ((modMask, xK_p),
|
||||
-- spawn "~/.xmonad/bin/dmenu")
|
||||
spawn "gnome-do")
|
||||
spawn "~/.xmonad/bin/dmenu")
|
||||
--spawn "gnome-do")
|
||||
|
||||
-- Take a screenshot in select mode.
|
||||
-- After pressing this key binding, click a window, or draw a rectangle with
|
||||
|
@ -370,7 +374,7 @@ main = do
|
|||
ppOutput = hPutStrLn xmproc
|
||||
, ppTitle = xmobarColor xmobarTitleColor "" . shorten 100
|
||||
, ppCurrent = xmobarColor xmobarCurrentWorkspaceColor xmobarCurrentWorkspaceBackgroundColor
|
||||
, ppSep = " "}
|
||||
, ppSep = " <fc=#FFB6B0>:</fc> "}
|
||||
, manageHook = manageDocks <+> myManageHook
|
||||
, startupHook = setWMName "LG3D"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue