diff --git a/.config/newsbeuter/config b/.config/newsbeuter/config new file mode 100644 index 00000000..054b1180 --- /dev/null +++ b/.config/newsbeuter/config @@ -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 \ No newline at end of file diff --git a/.emacs.d/theme.el b/.emacs.d/theme.el index e4b08ad7..a9aa225a 100644 --- a/.emacs.d/theme.el +++ b/.emacs.d/theme.el @@ -38,33 +38,33 @@ (add-hook 'ediff-mode-hook (lambda () - (set-face-background 'ediff-fine-diff-A "color-130") - (set-face-foreground 'ediff-fine-diff-A "black") - (set-face-background 'ediff-fine-diff-B "color-130") - (set-face-foreground 'ediff-fine-diff-B "black") - (set-face-background 'ediff-fine-diff-C "color-130") - (set-face-foreground 'ediff-fine-diff-C "black") + (set-face-background 'ediff-fine-diff-A "color-52") + (set-face-foreground 'ediff-fine-diff-A nil) + (set-face-background 'ediff-fine-diff-B "color-52") + (set-face-foreground 'ediff-fine-diff-B nil) + (set-face-background 'ediff-fine-diff-C "color-52") + (set-face-foreground 'ediff-fine-diff-C nil) - (set-face-background 'ediff-current-diff-A "color-52") - (set-face-foreground 'ediff-current-diff-A "brightwhite") - (set-face-background 'ediff-current-diff-B "color-52") - (set-face-foreground 'ediff-current-diff-B "brightwhite") - (set-face-background 'ediff-current-diff-C "color-52") - (set-face-foreground 'ediff-current-diff-C "brightwhite") + (set-face-background 'ediff-current-diff-A "color-17") + (set-face-foreground 'ediff-current-diff-A nil) + (set-face-background 'ediff-current-diff-B "color-17") + (set-face-foreground 'ediff-current-diff-B nil) + (set-face-background 'ediff-current-diff-C "color-17") + (set-face-foreground 'ediff-current-diff-C nil) (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-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-foreground 'ediff-even-diff-C "white") + (set-face-foreground 'ediff-even-diff-C nil) (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-foreground 'ediff-odd-diff-B "white") + (set-face-foreground 'ediff-odd-diff-B nil) (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. (set-face-background 'show-paren-match-face (face-background 'default)) diff --git a/.pkg-arch-aur-peteramd b/.pkg-arch-aur-peteramd index 77043869..2ab5bfe8 100644 --- a/.pkg-arch-aur-peteramd +++ b/.pkg-arch-aur-peteramd @@ -21,6 +21,6 @@ supermeatboy textadept-latest-stable trash-cli wikiex -wine-1.2 +wine-1.5.12 worldofgoo yaourt diff --git a/.pkg-arch-explicit-peteramd b/.pkg-arch-explicit-peteramd index 3324a775..195792ed 100644 --- a/.pkg-arch-explicit-peteramd +++ b/.pkg-arch-explicit-peteramd @@ -7,6 +7,7 @@ apvlv aspell-en aspell-fr astyle +ati-dri atool at-spi2-atk at-spi2-core @@ -17,13 +18,13 @@ awesome-git bash bison blas +bomberclone bzip2 calc -catalyst-dkms -catalyst-utils cblas ccrypt cdrtools +chromium chrpath clisp cmus @@ -37,7 +38,6 @@ dash device-mapper dhcpcd diffutils -django djvulibre dosbox dosfstools @@ -75,6 +75,7 @@ gimp git glfw glibc +glm gnuplot google-talkplugin gparted @@ -87,7 +88,6 @@ gstreamer0.10-good-plugins gstreamer0.10-ugly-plugins guile gzip -handbrake hdparm heirloom-mailx highlight @@ -112,7 +112,7 @@ lesspipe lib32-alsa-lib lib32-alsa-oss lib32-alsa-plugins -lib32-catalyst-utils +lib32-ati-dri lib32-libao lib32-libpulse lib32-libsamplerate @@ -169,7 +169,9 @@ ncdu netcfg nethogs net-tools +newsbeuter ngrep +nmap ntfs-3g numlockx odt2txt @@ -211,6 +213,7 @@ splint steam strace subdl +subversion sudo supermeatboy sxiv @@ -243,11 +246,12 @@ valgrind vi vicious vorbis-tools +vsftpd w3m wget which wikiex -wine-1.2 +wine-1.5.12 winetricks wipe wmname @@ -257,6 +261,7 @@ wv xchm xclip xdg-utils +xf86-video-ati xf86-video-vesa xfsprogs xmlrpc-c @@ -269,6 +274,7 @@ xorg-xmodmap xorg-xprop xorg-xrandr xorg-xrdb +xosd xsel xz yaourt diff --git a/.pkg-arch-official-peteramd b/.pkg-arch-official-peteramd index 79636c28..4b7b6d34 100644 --- a/.pkg-arch-official-peteramd +++ b/.pkg-arch-official-peteramd @@ -9,12 +9,15 @@ alsa-oss alsa-plugins alsa-utils antiword +apr +apr-util apvlv archlinux-keyring aspell aspell-en aspell-fr astyle +ati-dri atk atkmm atool @@ -30,21 +33,23 @@ bc binutils-multilib bison blas +bomberclone +box2d bzip2 cabextract ca-certificates cairo cairomm calc -catalyst-dkms -catalyst-utils ccrypt cdparanoia cdrtools chmlib +chromium chrpath clisp cloog +cmake cmus colord compositeproto @@ -69,7 +74,6 @@ dhcpcd dialog diffutils dirmngr -django djvulibre dkms dnssec-anchors @@ -104,6 +108,7 @@ foomatic-db foomatic-db-engine foomatic-filters fortune-mod +freealut freeglut freetype2 fribidi @@ -135,6 +140,7 @@ glib2 glibc glibmm glib-networking +glm glu gmp gnupg @@ -170,7 +176,6 @@ gtkspell gtk-update-icon-cache guile gzip -handbrake harfbuzz hdparm heirloom-mailx @@ -220,11 +225,11 @@ lib32-acl lib32-alsa-lib lib32-alsa-oss lib32-alsa-plugins +lib32-ati-dri lib32-atk lib32-attr lib32-bzip2 lib32-cairo -lib32-catalyst-utils lib32-dbus-core lib32-e2fsprogs lib32-expat @@ -290,6 +295,7 @@ lib32-libxt lib32-libxtst lib32-libxxf86vm lib32-mesa +lib32-mesa-libgl lib32-mpg123 lib32-ncurses lib32-nettle @@ -471,6 +477,7 @@ mdadm mediainfo mesa mesa-demos +mesa-libgl mime-types mjpegtools mkinitcpio @@ -495,7 +502,9 @@ netkit-bsd-finger net-snmp nettle net-tools +newsbeuter ngrep +nmap nspr nss ntfs-3g @@ -581,12 +590,14 @@ schroedinger scrnsaverproto scrot sdl +sdl_image sdlmame sdl_mixer sdl_net sdl_sound sdl_ttf sed +serf sg3_utils shadow shared-color-profiles @@ -599,8 +610,10 @@ splint sqlite startup-notification steam +stfl strace subdl +subversion sudo sxiv sysfsutils @@ -623,6 +636,7 @@ ttf-liberation tzdata udiskie udisks +unixodbc unrar unrtf unzip @@ -636,6 +650,7 @@ vi vicious videoproto vorbis-tools +vsftpd w3m wavpack wayland @@ -661,6 +676,7 @@ xdg-utils xextproto xf86dgaproto xf86-input-evdev +xf86-video-ati xf86-video-vesa xf86vidmodeproto xfsprogs @@ -691,6 +707,7 @@ xorg-xprop xorg-xrandr xorg-xrdb xorg-xset +xosd xproto xsel xvidcore diff --git a/.pkg-texlive-Linux-peteramd b/.pkg-texlive-Linux-peteramd index 1f2e963c..0d2b2ed9 100644 --- a/.pkg-texlive-Linux-peteramd +++ b/.pkg-texlive-Linux-peteramd @@ -5,6 +5,7 @@ beamer bigfoot carlisle colortbl +comment easylist ec eplain diff --git a/.scripts/greader2plain.awk b/.scripts/greader2plain.awk new file mode 100644 index 00000000..04872925 --- /dev/null +++ b/.scripts/greader2plain.awk @@ -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 } diff --git a/.scripts/homeinit b/.scripts/homeinit index 8bf685ad..69357075 100755 --- a/.scripts/homeinit +++ b/.scripts/homeinit @@ -65,3 +65,8 @@ ln -sf "${SOURCEDIR}/bookmarks/bookmarks" "$BROWSER_DATA_DIR" ln -sf "${SOURCEDIR}/bookmarks/quickmarks" "$BROWSER_DATA_DIR" echo +## News +echo "==> Newsbeuter" +mkdir -p "$XDG_DATA_HOME/newsbeuter" +ln -sf "${SOURCEDIR}/news/urls" "$XDG_CONFIG_HOME/newsbeuter/" +echo diff --git a/.shell.d/alias_rc b/.shell.d/alias_rc index 44711097..2a1d645f 100644 --- a/.shell.d/alias_rc +++ b/.shell.d/alias_rc @@ -57,7 +57,7 @@ alias nox='find . -type f -exec chmod a-x {} \;' [ -n "$(command -v curl)" ] && alias myip='curl ifconfig.me' ## 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. alias mkdir='mkdir -p'