Luakit: Google Map alias.

Emacs: improved colors (most notably for mails).
master
Ambrevar 2012-07-18 18:25:28 +01:00
parent 7aa841272f
commit f22043301a
7 changed files with 45 additions and 12 deletions

View File

@ -137,6 +137,7 @@ pwgen
pwsafe
pygtk
python2-udiskie
qingy
ranger
reiserfsprogs
rtorrent

View File

@ -60,6 +60,7 @@ d-feet
dhcpcd
dialog
diffutils
directfb
dirmngr
djvulibre
dnssec-anchors
@ -424,6 +425,7 @@ python-configobj
python-dbus-common
python-notify
python-pycurl
qingy
randrproto
ranger
raptor

View File

@ -508,7 +508,7 @@ awful.rules.rules = {
properties = { floating = true } },
{ rule = { class = "Gimp" },
properties = { floating = true } },
properties = { floating = false } },
-- Flash workaround. Does not work?
{ rule = { instance = "plugin-container" },
@ -517,7 +517,7 @@ awful.rules.rules = {
{ rule = { instance = "exe" },
properties = { floating = true } },
-- TODO: Only works for terminal with WM_COMMAND property?
-- Only works for terminal with WM_COMMAND property?
-- Does not work with LXTerminal.
{ rule = { name = "cmus"},
properties = { tag = tags[1][6] } },

View File

@ -57,6 +57,7 @@ search_engines = {
arch = "http://wiki.archlinux.org/index.php?title=Special%%3ASearch&search=%s&go=Go",
aur = "https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go",
google = "http://google.com/search?q=%s",
gm = "https://maps.google.com/maps?q=%s",
imdb = "http://imdb.com/find?s=all&q=%s", -- Note that imdb is messy with spaces.
torrent = "http://torrentz.eu/search?f=%s",
w = "http://en.wikipedia.org/wiki/Special:Search?search=%s",

33
.emacs
View File

@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Emacs config
;; 2012-07-02
;; 2012-07-18
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;==============================================================================
@ -119,6 +119,20 @@
("\\<\\(and\\|or\\|not\\)\\>" . font-lock-keyword-face)
))
;; TODO: make emacs and mutt colors fit.
(font-lock-add-keywords
'mail-mode
'(
("^From:" . font-lock-preprocessor-face)
("^Subject:" . font-lock-builtin-face)
("^In-Reply-To:" . font-lock-builtin-face)
("\\([[:alnum:]._-]+@[[:alnum:]]+.[[:alnum:]]+\\)" 1 font-lock-string-face)
("^\> *\\([^\> ]\\).*$" . font-lock-doc-face)
("^\> *\> *\\([^\> ]\\).*$" . font-lock-constant-face)
("^\> *\> *\> *\\([^\> ]\\).*$" . font-lock-type-face)
("^--.*\\(\n.*\\)*" . font-lock-comment-face)
))
(mapcar
(lambda (mode)
(font-lock-add-keywords
@ -126,14 +140,14 @@
'(
("[^[:digit:][:space:]][[:space:]]*\\(-\\)[[:digit:]]+" 1 font-lock-constant-face)
("\\(0x[[:digit:]a-fA-F]+\\)[^[:alnum:]_]" 1 font-lock-constant-face)
("\\([[:digit:]]+\\)[^[:alnum:]_]" 1 font-lock-constant-face)
("[^[:alnum:]_]\\([[:digit:]]+\\)[^[:alnum:]_]" 1 font-lock-constant-face)
("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
("\\<\\(TODO\\):" 1 font-lock-warning-face prepend)
)))
'( text-mode mail-mode
sh-mode emacs-lisp-mode lua-mode
c-mode
latex-mode html-mode texinfo-mode))
'( text-mode
sh-mode emacs-lisp-mode lua-mode
c-mode
latex-mode html-mode texinfo-mode))
;; C-mode printf highlight.
(defvar font-lock-format-specifier-face 'font-lock-format-specifier-face
@ -156,7 +170,10 @@
1 font-lock-format-specifier-face t)) )))
;; FIXME: Does not work.
;; (set-face-foreground 'compilation-column-number "magenta")
;; (add-hook
;; 'c-mode-common-hook
;; (set-face-foreground 'compilation-column-number "magenta")
;; )
;; (set-face-background 'lazy-highlight "brightgreen" )
;; (set-face-background 'secondary-selection "SkyBlue4")
@ -546,6 +563,8 @@ the line."
;; MediaWiki
;;==============================================================================
(require 'mediawiki)
;; TODO: make it 'customize' independant.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -18,7 +18,7 @@
## Launch session
##==============================================================================
# [ -e /usr/bin/awesome ] && exec ck-launch-session awesome
[ -e /usr/bin/awesome ] && exec ck-launch-session bash -c "udiskie & awesome"
[ -e /usr/bin/awesome ] && exec ck-launch-session zsh -c "udiskie & awesome"

14
README
View File

@ -124,17 +124,20 @@ The last time I used WMFS, the development was in a transition from version 1.x
to 2.x. So beware!, configuration files might be quite broken.
################################################################################
Other apps:
***********
Complete applist
****************
antiword
atool
awesome
bashmount
bc
calc
cmus
cppcheck
doxygen
dropbox
emacs
feh
fortune
gcolor2
@ -144,17 +147,20 @@ gnumeric
gnuplot
handbrake
hdparm
help2man
highlight
htop
inkscape
irssi
lrzip
luakit
lxterminal
mediainfo
mencoder
mkvtoolnix
movgrav
mplayer2
mutt
nasm
ncdu
nmap
@ -169,6 +175,7 @@ pidgin
pwgen
pwsafe
ranger
re2c
rtorrent
rxvt-unicode
scrot
@ -185,11 +192,14 @@ texlive
trash-cli
tree
valgrind
vim
vlock
w3m
weechat
wipe
wmfs
wv
xsel
yasm
zathura
zsh