Browse Source

misc changes

pull/1/head
10sr 12 years ago
parent
commit
083a769cb6
2 changed files with 8 additions and 4 deletions
  1. +5
    -0
      conkyrc
  2. +3
    -4
      emacs.el

+ 5
- 0
conkyrc View File

@@ -40,6 +40,8 @@ no_buffers yes
uppercase no uppercase no
format_human_readable yes format_human_readable yes


if_up_strictness link

TEXT TEXT
${color0}${alignr}${sysname} ${kernel} (${machine}) ${color0}${alignr}${sysname} ${kernel} (${machine})
${color0}${alignr}${execi 30000 whoami}@${nodename} ${color0}${alignr}${execi 30000 whoami}@${nodename}
@@ -64,6 +66,9 @@ ${if_up wlan0}\
${color2}if ${color1}|${color0} wlan:${addr wlan0} ${color2}if ${color1}|${color0} wlan:${addr wlan0}
${color2}ssid ${color1}|${color0} ${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}% ${color2}ssid ${color1}|${color0} ${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}%
${endif}\ ${endif}\
${if_up eth0}\
${color2}if ${color1}|${color0} eth0:${addr eth0}
${endif}\
${color0}${stippled_hr} ${color0}${stippled_hr}
${color2}down ${color1}|${color0} ${downspeed}/s ${color2}down ${color1}|${color0} ${downspeed}/s
${color4}${downspeedgraph ff0000 0000ff} ${color4}${downspeedgraph ff0000 0000ff}


+ 3
- 4
emacs.el View File

@@ -124,6 +124,7 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(add-to-list 'default-frame-alist '(foreground-color . "gray10")) (add-to-list 'default-frame-alist '(foreground-color . "gray10"))
;; (add-to-list 'default-frame-alist '(alpha . (80 100 100 100))) ; does not work? ;; (add-to-list 'default-frame-alist '(alpha . (80 100 100 100))) ; does not work?
) )
;; (add-to-list 'default-frame-alist '(cursor-type . box))
(if window-system (menu-bar-mode 1) (menu-bar-mode 0)) (if window-system (menu-bar-mode 1) (menu-bar-mode 0))
(tool-bar-mode 0) (tool-bar-mode 0)
(set-scroll-bar-mode nil) (set-scroll-bar-mode nil)
@@ -395,14 +396,12 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(and (dllib-if-unfound "set-modeline-color" (and (dllib-if-unfound "set-modeline-color"
"https://raw.github.com/10sr/emacs-lisp/master/set-modeline-color.el" "https://raw.github.com/10sr/emacs-lisp/master/set-modeline-color.el"
t) t)
(progn (set-face-background 'mode-line "white")
;(set-face-bold-p 'modeline-buffer-id t)
(require 'set-modeline-color nil t)))
(progn
(require 'set-modeline-color nil t)))


(set-face-background 'mode-line-inactive (if (face-inverse-video-p 'mode-line) "white" "black")) (set-face-background 'mode-line-inactive (if (face-inverse-video-p 'mode-line) "white" "black"))
(set-face-foreground 'mode-line-inactive (if (face-inverse-video-p 'mode-line) "black" "white")) (set-face-foreground 'mode-line-inactive (if (face-inverse-video-p 'mode-line) "black" "white"))



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; file handling ;; file handling




Loading…
Cancel
Save