Newsbeuter: init configuration.

Scripts: Google Reader 2 plain text.
Emacs: better color contrast for diff.
master
Pierre Neidhardt 2013-03-15 22:38:01 +01:00
parent 5e279c0ab6
commit a67fa92cc9
9 changed files with 90 additions and 31 deletions

10
.config/newsbeuter/config Normal file
View File

@ -0,0 +1,10 @@
browser dwb
macro a edit-flags a
define-filter Starred flags="a"
highlight article "^Feed:" red default bold
highlight article "^Title:" green default bold
highlight article "^Author:" blue default bold
highlight article "^Links?:" yellow default bold
highlight article "^Date:" magenta default bold
## End

View File

@ -38,33 +38,33 @@
(add-hook (add-hook
'ediff-mode-hook 'ediff-mode-hook
(lambda () (lambda ()
(set-face-background 'ediff-fine-diff-A "color-130") (set-face-background 'ediff-fine-diff-A "color-52")
(set-face-foreground 'ediff-fine-diff-A "black") (set-face-foreground 'ediff-fine-diff-A nil)
(set-face-background 'ediff-fine-diff-B "color-130") (set-face-background 'ediff-fine-diff-B "color-52")
(set-face-foreground 'ediff-fine-diff-B "black") (set-face-foreground 'ediff-fine-diff-B nil)
(set-face-background 'ediff-fine-diff-C "color-130") (set-face-background 'ediff-fine-diff-C "color-52")
(set-face-foreground 'ediff-fine-diff-C "black") (set-face-foreground 'ediff-fine-diff-C nil)
(set-face-background 'ediff-current-diff-A "color-52") (set-face-background 'ediff-current-diff-A "color-17")
(set-face-foreground 'ediff-current-diff-A "brightwhite") (set-face-foreground 'ediff-current-diff-A nil)
(set-face-background 'ediff-current-diff-B "color-52") (set-face-background 'ediff-current-diff-B "color-17")
(set-face-foreground 'ediff-current-diff-B "brightwhite") (set-face-foreground 'ediff-current-diff-B nil)
(set-face-background 'ediff-current-diff-C "color-52") (set-face-background 'ediff-current-diff-C "color-17")
(set-face-foreground 'ediff-current-diff-C "brightwhite") (set-face-foreground 'ediff-current-diff-C nil)
(set-face-background 'ediff-even-diff-A "color-236") (set-face-background 'ediff-even-diff-A "color-236")
(set-face-foreground 'ediff-even-diff-A "white") (set-face-foreground 'ediff-even-diff-A nil)
(set-face-background 'ediff-even-diff-B "color-236") (set-face-background 'ediff-even-diff-B "color-236")
(set-face-foreground 'ediff-even-diff-B "white") (set-face-foreground 'ediff-even-diff-B nil)
(set-face-background 'ediff-even-diff-C "color-236") (set-face-background 'ediff-even-diff-C "color-236")
(set-face-foreground 'ediff-even-diff-C "white") (set-face-foreground 'ediff-even-diff-C nil)
(set-face-background 'ediff-odd-diff-A "brightblack") (set-face-background 'ediff-odd-diff-A "brightblack")
(set-face-foreground 'ediff-odd-diff-A "white") (set-face-foreground 'ediff-odd-diff-A nil)
(set-face-background 'ediff-odd-diff-B "brightblack") (set-face-background 'ediff-odd-diff-B "brightblack")
(set-face-foreground 'ediff-odd-diff-B "white") (set-face-foreground 'ediff-odd-diff-B nil)
(set-face-background 'ediff-odd-diff-C "brightblack") (set-face-background 'ediff-odd-diff-C "brightblack")
(set-face-foreground 'ediff-odd-diff-C "white"))) (set-face-foreground 'ediff-odd-diff-C nil)))
;; Show paren. ;; Show paren.
(set-face-background 'show-paren-match-face (face-background 'default)) (set-face-background 'show-paren-match-face (face-background 'default))

View File

@ -21,6 +21,6 @@ supermeatboy
textadept-latest-stable textadept-latest-stable
trash-cli trash-cli
wikiex wikiex
wine-1.2 wine-1.5.12
worldofgoo worldofgoo
yaourt yaourt

View File

@ -7,6 +7,7 @@ apvlv
aspell-en aspell-en
aspell-fr aspell-fr
astyle astyle
ati-dri
atool atool
at-spi2-atk at-spi2-atk
at-spi2-core at-spi2-core
@ -17,13 +18,13 @@ awesome-git
bash bash
bison bison
blas blas
bomberclone
bzip2 bzip2
calc calc
catalyst-dkms
catalyst-utils
cblas cblas
ccrypt ccrypt
cdrtools cdrtools
chromium
chrpath chrpath
clisp clisp
cmus cmus
@ -37,7 +38,6 @@ dash
device-mapper device-mapper
dhcpcd dhcpcd
diffutils diffutils
django
djvulibre djvulibre
dosbox dosbox
dosfstools dosfstools
@ -75,6 +75,7 @@ gimp
git git
glfw glfw
glibc glibc
glm
gnuplot gnuplot
google-talkplugin google-talkplugin
gparted gparted
@ -87,7 +88,6 @@ gstreamer0.10-good-plugins
gstreamer0.10-ugly-plugins gstreamer0.10-ugly-plugins
guile guile
gzip gzip
handbrake
hdparm hdparm
heirloom-mailx heirloom-mailx
highlight highlight
@ -112,7 +112,7 @@ lesspipe
lib32-alsa-lib lib32-alsa-lib
lib32-alsa-oss lib32-alsa-oss
lib32-alsa-plugins lib32-alsa-plugins
lib32-catalyst-utils lib32-ati-dri
lib32-libao lib32-libao
lib32-libpulse lib32-libpulse
lib32-libsamplerate lib32-libsamplerate
@ -169,7 +169,9 @@ ncdu
netcfg netcfg
nethogs nethogs
net-tools net-tools
newsbeuter
ngrep ngrep
nmap
ntfs-3g ntfs-3g
numlockx numlockx
odt2txt odt2txt
@ -211,6 +213,7 @@ splint
steam steam
strace strace
subdl subdl
subversion
sudo sudo
supermeatboy supermeatboy
sxiv sxiv
@ -243,11 +246,12 @@ valgrind
vi vi
vicious vicious
vorbis-tools vorbis-tools
vsftpd
w3m w3m
wget wget
which which
wikiex wikiex
wine-1.2 wine-1.5.12
winetricks winetricks
wipe wipe
wmname wmname
@ -257,6 +261,7 @@ wv
xchm xchm
xclip xclip
xdg-utils xdg-utils
xf86-video-ati
xf86-video-vesa xf86-video-vesa
xfsprogs xfsprogs
xmlrpc-c xmlrpc-c
@ -269,6 +274,7 @@ xorg-xmodmap
xorg-xprop xorg-xprop
xorg-xrandr xorg-xrandr
xorg-xrdb xorg-xrdb
xosd
xsel xsel
xz xz
yaourt yaourt

View File

@ -9,12 +9,15 @@ alsa-oss
alsa-plugins alsa-plugins
alsa-utils alsa-utils
antiword antiword
apr
apr-util
apvlv apvlv
archlinux-keyring archlinux-keyring
aspell aspell
aspell-en aspell-en
aspell-fr aspell-fr
astyle astyle
ati-dri
atk atk
atkmm atkmm
atool atool
@ -30,21 +33,23 @@ bc
binutils-multilib binutils-multilib
bison bison
blas blas
bomberclone
box2d
bzip2 bzip2
cabextract cabextract
ca-certificates ca-certificates
cairo cairo
cairomm cairomm
calc calc
catalyst-dkms
catalyst-utils
ccrypt ccrypt
cdparanoia cdparanoia
cdrtools cdrtools
chmlib chmlib
chromium
chrpath chrpath
clisp clisp
cloog cloog
cmake
cmus cmus
colord colord
compositeproto compositeproto
@ -69,7 +74,6 @@ dhcpcd
dialog dialog
diffutils diffutils
dirmngr dirmngr
django
djvulibre djvulibre
dkms dkms
dnssec-anchors dnssec-anchors
@ -104,6 +108,7 @@ foomatic-db
foomatic-db-engine foomatic-db-engine
foomatic-filters foomatic-filters
fortune-mod fortune-mod
freealut
freeglut freeglut
freetype2 freetype2
fribidi fribidi
@ -135,6 +140,7 @@ glib2
glibc glibc
glibmm glibmm
glib-networking glib-networking
glm
glu glu
gmp gmp
gnupg gnupg
@ -170,7 +176,6 @@ gtkspell
gtk-update-icon-cache gtk-update-icon-cache
guile guile
gzip gzip
handbrake
harfbuzz harfbuzz
hdparm hdparm
heirloom-mailx heirloom-mailx
@ -220,11 +225,11 @@ lib32-acl
lib32-alsa-lib lib32-alsa-lib
lib32-alsa-oss lib32-alsa-oss
lib32-alsa-plugins lib32-alsa-plugins
lib32-ati-dri
lib32-atk lib32-atk
lib32-attr lib32-attr
lib32-bzip2 lib32-bzip2
lib32-cairo lib32-cairo
lib32-catalyst-utils
lib32-dbus-core lib32-dbus-core
lib32-e2fsprogs lib32-e2fsprogs
lib32-expat lib32-expat
@ -290,6 +295,7 @@ lib32-libxt
lib32-libxtst lib32-libxtst
lib32-libxxf86vm lib32-libxxf86vm
lib32-mesa lib32-mesa
lib32-mesa-libgl
lib32-mpg123 lib32-mpg123
lib32-ncurses lib32-ncurses
lib32-nettle lib32-nettle
@ -471,6 +477,7 @@ mdadm
mediainfo mediainfo
mesa mesa
mesa-demos mesa-demos
mesa-libgl
mime-types mime-types
mjpegtools mjpegtools
mkinitcpio mkinitcpio
@ -495,7 +502,9 @@ netkit-bsd-finger
net-snmp net-snmp
nettle nettle
net-tools net-tools
newsbeuter
ngrep ngrep
nmap
nspr nspr
nss nss
ntfs-3g ntfs-3g
@ -581,12 +590,14 @@ schroedinger
scrnsaverproto scrnsaverproto
scrot scrot
sdl sdl
sdl_image
sdlmame sdlmame
sdl_mixer sdl_mixer
sdl_net sdl_net
sdl_sound sdl_sound
sdl_ttf sdl_ttf
sed sed
serf
sg3_utils sg3_utils
shadow shadow
shared-color-profiles shared-color-profiles
@ -599,8 +610,10 @@ splint
sqlite sqlite
startup-notification startup-notification
steam steam
stfl
strace strace
subdl subdl
subversion
sudo sudo
sxiv sxiv
sysfsutils sysfsutils
@ -623,6 +636,7 @@ ttf-liberation
tzdata tzdata
udiskie udiskie
udisks udisks
unixodbc
unrar unrar
unrtf unrtf
unzip unzip
@ -636,6 +650,7 @@ vi
vicious vicious
videoproto videoproto
vorbis-tools vorbis-tools
vsftpd
w3m w3m
wavpack wavpack
wayland wayland
@ -661,6 +676,7 @@ xdg-utils
xextproto xextproto
xf86dgaproto xf86dgaproto
xf86-input-evdev xf86-input-evdev
xf86-video-ati
xf86-video-vesa xf86-video-vesa
xf86vidmodeproto xf86vidmodeproto
xfsprogs xfsprogs
@ -691,6 +707,7 @@ xorg-xprop
xorg-xrandr xorg-xrandr
xorg-xrdb xorg-xrdb
xorg-xset xorg-xset
xosd
xproto xproto
xsel xsel
xvidcore xvidcore

View File

@ -5,6 +5,7 @@ beamer
bigfoot bigfoot
carlisle carlisle
colortbl colortbl
comment
easylist easylist
ec ec
eplain eplain

View File

@ -0,0 +1,20 @@
## Google Reader to plain text.
## This AWK script will convert the starred.json file you get with Google
## Takeout from your Google Reader account to a plain text file.
BEGIN { FS=":" }
/^ "title" :/ {
title=$2
gsub(/ "|",/,"",title)
}
/^ "href" :/ {
link=$2 ":" $3
gsub(/ "|",/,"",link)
}
/\}, \{/ { print link " " title }
END { print link " " title }

View File

@ -65,3 +65,8 @@ ln -sf "${SOURCEDIR}/bookmarks/bookmarks" "$BROWSER_DATA_DIR"
ln -sf "${SOURCEDIR}/bookmarks/quickmarks" "$BROWSER_DATA_DIR" ln -sf "${SOURCEDIR}/bookmarks/quickmarks" "$BROWSER_DATA_DIR"
echo echo
## News
echo "==> Newsbeuter"
mkdir -p "$XDG_DATA_HOME/newsbeuter"
ln -sf "${SOURCEDIR}/news/urls" "$XDG_CONFIG_HOME/newsbeuter/"
echo

View File

@ -57,7 +57,7 @@ alias nox='find . -type f -exec chmod a-x {} \;'
[ -n "$(command -v curl)" ] && alias myip='curl ifconfig.me' [ -n "$(command -v curl)" ] && alias myip='curl ifconfig.me'
## Network discovery. ## Network discovery.
[ -n "$(command -v nmap)" ] && alias network-discover='nmap -sP "192.168.1.*"' [ -n "$(command -v nmap)" ] && alias network-discover='nmap -sP "192.168.0.*"'
## Prevents accidentally clobbering files. ## Prevents accidentally clobbering files.
alias mkdir='mkdir -p' alias mkdir='mkdir -p'