*: Various fixes.

*: Old files removed.
master
Ambrevar 2012-09-04 15:30:20 +02:00
parent 07dc71be88
commit a8cbec0b21
14 changed files with 251 additions and 176 deletions

View File

@ -105,6 +105,7 @@ cpuwidget = widget({ type = "textbox" })
vicious.register(cpuwidget, vicious.widgets.cpu, '<span color="#CC8F52">CPU $1%</span>') vicious.register(cpuwidget, vicious.widgets.cpu, '<span color="#CC8F52">CPU $1%</span>')
-- Net -- Net
-- TODO: get speed for all interfaces.
netwidget = widget({ type = "textbox" }) netwidget = widget({ type = "textbox" })
vicious.register(netwidget, vicious.widgets.net, '<span color="#CC9393">↓${eth0 down_kb}</span> <span color="#7F9F7F">↑${eth0 up_kb}</span>', 3) vicious.register(netwidget, vicious.widgets.net, '<span color="#CC9393">↓${eth0 down_kb}</span> <span color="#7F9F7F">↑${eth0 up_kb}</span>', 3)

View File

@ -1,3 +0,0 @@
[Settings]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome

View File

@ -213,6 +213,6 @@ webview.init_funcs.window_decision = function (view, w)
end end
-- Adblock -- Adblock
require("adblock") -- require("adblock")
-- vim: et:sw=4:ts=8:sts=4:tw=80 -- vim: et:sw=4:ts=8:sts=4:tw=80

View File

@ -1,14 +0,0 @@
out_to_console yes
out_to_x no
background no
update_interval 0.9
total_run_times 0
no_buffers yes
TEXT
HDD:${diskio /dev/sda}
CPU1:${cpu cpu1}%
CPU2:${cpu cpu2}%
CPU3:${cpu cpu3}%
CPU4:${cpu cpu4}%

78
.emacs
View File

@ -527,54 +527,54 @@ the line."
;; AucTeX ;; AucTeX
;;============================================================================== ;;==============================================================================
;; Activate AucTeX ;; ;; Activate AucTeX
(load "auctex.el" nil t t) ;; (load "auctex.el" nil t t)
(load "preview-latex.el" nil t t) ;; (load "preview-latex.el" nil t t)
;; Compile to PDF by default ;; ;; Compile to PDF by default
(setq TeX-PDF-mode t) ;; (setq TeX-PDF-mode t)
(setq TeX-view-program-selection ;; (setq TeX-view-program-selection
'((output-dvi "DVI Viewer") ;; '((output-dvi "DVI Viewer")
(output-ps "PS Viewer") ;; (output-ps "PS Viewer")
(output-pdf "PDF Viewer") ;; (output-pdf "PDF Viewer")
(output-html "Web browser"))) ;; (output-html "Web browser")))
;; Zathura will crash when being forked while document is regenerated. ;; ;; Zathura will crash when being forked while document is regenerated.
(setq TeX-view-program-list ;; (setq TeX-view-program-list
'(("DVI Viewer" "zathura %o") ;; '(("DVI Viewer" "zathura %o")
("PS Viewer" "zathura %o") ;; ("PS Viewer" "zathura %o")
("PDF Viewer" "zathura %o") ;; ("PDF Viewer" "zathura %o")
("Web browser" "luakit -n %o"))) ;; ("Web browser" "luakit -n %o")))
;; Add 'Compress PDF' compilation command ;; ;; Add 'Compress PDF' compilation command
(eval-after-load "TeX" ;; (eval-after-load "TeX"
'(add-to-list 'TeX-command-list ;; '(add-to-list 'TeX-command-list
'("Compress" "if [ -e %s.pdf ]; then gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=%s-COMPRESSED.pdf %s.pdf && rm -rf %s.pdf && mv %s-COMPRESSED.pdf %s.pdf;fi" TeX-run-command nil t :help "Compress PDF" ;; '("Compress" "if [ -e %s.pdf ]; then gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=%s-COMPRESSED.pdf %s.pdf && rm -rf %s.pdf && mv %s-COMPRESSED.pdf %s.pdf;fi" TeX-run-command nil t :help "Compress PDF"
) ;; )
t ) ;; t )
) ;; )
;; Add '--shell-escape' switch to compilation command (useful for using GnuPlot from TikZ) ;; ;; Add '--shell-escape' switch to compilation command (useful for using GnuPlot from TikZ)
(eval-after-load "tex" ;; (eval-after-load "tex"
'(setcdr (assoc "LaTeX" TeX-command-list) ;; '(setcdr (assoc "LaTeX" TeX-command-list)
'("%`%l%(mode) --shell-escape %' %t" ;; '("%`%l%(mode) --shell-escape %' %t"
TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ;; TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX")
) ;; )
) ;; )
(defun my-tex-mode-hook () ;; (defun my-tex-mode-hook ()
(local-set-key (kbd "<f9>") (kbd "C-x C-s C-c C-c C-j"))) ;; (local-set-key (kbd "<f9>") (kbd "C-x C-s C-c C-c C-j")))
(add-hook 'TeX-mode-hook 'my-tex-mode-hook) ;; (add-hook 'TeX-mode-hook 'my-tex-mode-hook)
;; Theme ;; ;; Theme
(defun my-tex-font-hook () ;; (defun my-tex-font-hook ()
(set-face-foreground 'font-latex-sedate-face "brightred" ) ;; (set-face-foreground 'font-latex-sedate-face "brightred" )
(set-face-bold-p 'font-latex-sedate-face t) ;; (set-face-bold-p 'font-latex-sedate-face t)
) ;; )
(add-hook 'TeX-mode-hook 'my-tex-font-hook) ;; (add-hook 'TeX-mode-hook 'my-tex-font-hook)
;;============================================================================== ;;==============================================================================

View File

@ -1,8 +1,22 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
## Custom network initialization script. ## Custom network initialization script.
## 2012-08-31 ## 2012-09-04
################################################################################ ################################################################################
## Deps: wpa_supplicant, ccrypt
##
## Use 'wpa_passphrase essid $PW >> /etc/wpa_supplicant.conf', where PW is a
## variable containing the password. You can set PW securely by using a shell
## built-in like 'read -s PW'.
##
## There is an Emacs plugin for editing crypted files directly. See 'man
## ccrypt'.
type ccrypt > /dev/null
if [ $? -ne 0 ]; then
echo "You need to have 'ccrypt' installed."
exit
fi
if [ $(id -u) -ne 0 ]; then if [ $(id -u) -ne 0 ]; then
echo "You must be root to run this script." echo "You must be root to run this script."
@ -10,7 +24,7 @@ if [ $(id -u) -ne 0 ]; then
fi fi
NET_INTERFACE=wlan0 NET_INTERFACE=wlan0
WPA_SUPPLICANT_CONF="/etc/wpa_supplicant.conf" WPA_SUPPLICANT_CONF="$(ccat /etc/wpa_supplicant.conf.cpt)"
TIMEOUT_LIMIT=500 TIMEOUT_LIMIT=500
## Clean running processes if any. ## Clean running processes if any.
@ -24,7 +38,7 @@ ip link set ${NET_INTERFACE} up
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
# Associate if needed. # Associate if needed.
if [ -n "$(iwconfig ${NET_INTERFACE} | grep 'Not-Associated')" ]; then if [ -n "$(iwconfig ${NET_INTERFACE} | grep 'Not-Associated')" ]; then
wpa_supplicant -B -i ${NET_INTERFACE} -D wext -c "${WPA_SUPPLICANT_CONF}" wpa_supplicant -B -i ${NET_INTERFACE} -D wext -c <(echo "${WPA_SUPPLICANT_CONF}")
fi fi
## Wait until wpa_supplicant has finished association. ## Wait until wpa_supplicant has finished association.

View File

@ -1,19 +1,17 @@
bashmount bashmount
cpufrequtils
cw
dropbox dropbox
dropbox-cli dropbox-cli
emacs-mediawiki-bzr emacs-mediawiki-bzr
emacs-yasnippet emacs-yasnippet
fortune-mod-tbbt fortune-mod-tbbt
grub grub
handbrake-cli-svn
handbrake-svn
movgrab movgrab
package-query package-query
pacman-color pacman-color
rxvt-unicode-patched rxvt-unicode-patched
submarine
texlive-dummy texlive-dummy
trash-cli trash-cli
urxvt-perls-git urxvt-perls-git
vlc-ncurses
yaourt yaourt

View File

@ -1,49 +1,51 @@
abs
acpi acpi
aircrack-ng
aircrack-ng-scripts
alsa-utils alsa-utils
antiword antiword
asciidoc archlinux-keyring
aspell-en aspell-en
aspell-fr aspell-fr
atool atool
auctex
autoconf autoconf
automake automake
awesome awesome
bash bash
bash-completion
bashmount bashmount
bc
binutils binutils
bison bison
bzip2 bzip2
bzr
calc calc
catdvi ccrypt
cifs-utils
cmus cmus
coreutils coreutils
cpufrequtils crda
cronie cronie
cryptsetup cryptsetup
ctags ctags
cups
cw
cyrus-sasl cyrus-sasl
dash dash
device-mapper device-mapper
dhclient
dhcpcd dhcpcd
diffutils diffutils
dosfstools dosfstools
dropbox dropbox
dropbox-cli dropbox-cli
dtach
e2fsprogs e2fsprogs
elfutils
emacs-lua-mode emacs-lua-mode
emacs-mediawiki-bzr emacs-mediawiki-bzr
emacs-nox emacs-nox
emacs-yasnippet emacs-yasnippet
expac
fakeroot fakeroot
farstream
fbv fbv
feh feh
fftw
file file
filesystem filesystem
findutils findutils
@ -62,38 +64,76 @@ gimp
git git
glibc glibc
gnu-netcat gnu-netcat
gnuplot
gparted gparted
graphicsmagick
grep grep
grub grub
gsasl gsasl
gstreamer0.10-ugly-plugins gstreamer0.10-bad
gstreamer0.10-bad-plugins
gstreamer0.10-ffmpeg
gstreamer0.10-good
gstreamer0.10-python
gzip gzip
handbrake-cli-svn handbrake
handbrake-svn
hdparm hdparm
heirloom-mailx heirloom-mailx
highlight highlight
hplip
htop htop
hunspell-en hunspell-en
hunspell-fr
hwids
ifplugd
indent indent
inetutils inetutils
initscripts initscripts
inkscape inkscape
iptables iptables
iputils iputils
isomaster
ispell ispell
jfsutils jfsutils
khrplatform-devel
ladspa
laptop-mode-tools
latex2rtf
less less
libaio
libavc1394
libcap-ng
libcdaudio
libdc1394
libdvdcss
libdvdnav
libdvdread
libegl
libevent
libgme
libisoburn
liblqr
liblrdf
libmediainfo
libmicrohttpd libmicrohttpd
libmms
libnice
libofa
libpipeline
libpurple
libstdc++5
libtool libtool
libusbx
libwbclient
libzen
licenses licenses
linux linux
linux-lts linux-lts
logrotate logrotate
lrzip
lshw
ltrace
luakit luakit
lvm2 lvm2
lzo2
m4 m4
make make
man-db man-db
@ -101,37 +141,50 @@ man-pages
mdadm mdadm
mediainfo mediainfo
mencoder mencoder
mjpegtools
movgrab movgrab
mplayer2 mplayer2
mtools mtools
musicbrainz
mutt mutt
nasm nasm
nawk nawk
ncdu ncdu
net-tools
nmap nmap
ntfs-3g ntfs-3g
ntfsprogs
numlockx numlockx
openslp
openssh openssh
p7zip p7zip
package-query
pacman pacman
pacman-color pacman-color
pambase
pari pari
patch patch
pciutils pciutils
pcmciautils pcmciautils
pdksh
perl perl
perl-locale-gettext
pidgin pidgin
pkg-config pkg-config
pkgfile
pkgstats pkgstats
pkgtools
ppp ppp
procps-ng procps-ng
psmisc psmisc
pwgen
pwsafe pwsafe
pygtk python2-dbus
python2-udiskie python2-udiskie
python-configobj
python-dbus-common
python-notify
python-pycurl
ranger ranger
raptor
reiserfsprogs reiserfsprogs
rtorrent rtorrent
rxvt-unicode-patched rxvt-unicode-patched
@ -140,19 +193,35 @@ sdparm
sed sed
shadow shadow
slock slock
smbclient
soundtouch
splint splint
squashfs-tools
strace
submarine
sudo sudo
sxiv sxiv
sysfsutils sysfsutils
syslinux
syslog-ng syslog-ng
sysstat
systemd
sysvbanner
sysvinit sysvinit
talloc
tar tar
task task
tcc tcc
tcpdump
tcsh
tdb
texi2html
texinfo texinfo
texlive-dummy texlive-dummy
trash-cli trash-cli
tree tree
ttf-dejavu
ttf-freefont
unrar unrar
unzip unzip
upx upx
@ -162,26 +231,36 @@ util-linux
valgrind valgrind
vi vi
vicious vicious
vim
vim-runtime
vlc-ncurses
vlock vlock
w3m w3m
wget wget
which which
wildmidi
wipe wipe
wireless_tools wireless_tools
wpa_actiond
wpa_supplicant wpa_supplicant
wv wv
xclip
xf86-input-synaptics xf86-input-synaptics
xf86-video-intel xf86-video-ati
xf86-video-vesa xf86-video-vesa
xfsprogs xfsprogs
xorg-server xorg-server
xorg-xev xorg-xev
xorg-xinit xorg-xinit
xorg-xmessage
xorg-xmodmap
xorg-xprop xorg-xprop
xorg-xrandr xorg-xrandr
xorg-xrdb xorg-xrdb
xorg-xset
xsel xsel
yaourt yaourt
yasm
zathura zathura
zathura-djvu zathura-djvu
zathura-pdf-poppler zathura-pdf-poppler

View File

@ -1,53 +1,48 @@
a52dec a52dec
aalib aalib
abs
acl acl
acpi acpi
aircrack-ng
aircrack-ng-scripts
alsa-lib alsa-lib
alsa-utils alsa-utils
antiword antiword
apr
apr-util
archlinux-keyring archlinux-keyring
asciidoc
aspell aspell
aspell-en aspell-en
aspell-fr aspell-fr
ati-dri
atk atk
atkmm atkmm
atool atool
attr attr
auctex
autoconf autoconf
automake automake
avahi avahi
awesome awesome
babl babl
bash bash
bash-completion
bc bc
binutils binutils
bison bison
bzip2 bzip2
bzr
ca-certificates ca-certificates
cairo cairo
cairomm cairomm
calc calc
catdvi ccrypt
cdparanoia cdparanoia
cifs-utils cifs-utils
cloog cloog
cmake
cmus cmus
colord
compositeproto compositeproto
coreutils coreutils
cracklib cracklib
crda
cronie cronie
cryptsetup cryptsetup
ctags ctags
cups
cups-filters
curl curl
cyrus-sasl cyrus-sasl
damageproto damageproto
@ -58,26 +53,23 @@ dbus-core
dbus-glib dbus-glib
desktop-file-utils desktop-file-utils
device-mapper device-mapper
dhclient
dhcpcd dhcpcd
dialog dialog
diffutils diffutils
dirmngr dirmngr
djvulibre djvulibre
dnssec-anchors dnssec-anchors
docbook-xml
docbook-xsl
dosfstools dosfstools
doxygen
dri2proto dri2proto
dtach
e2fsprogs e2fsprogs
eject eject
elfutils
emacs-lua-mode emacs-lua-mode
emacs-nox emacs-nox
enca enca
enchant enchant
eventlog eventlog
expac
expat expat
faac faac
faad2 faad2
@ -97,9 +89,6 @@ flashplugin
flex flex
fontconfig fontconfig
fontsproto fontsproto
foomatic-db
foomatic-db-engine
foomatic-filters
fortune-mod fortune-mod
freeglut freeglut
freetype2 freetype2
@ -132,12 +121,12 @@ glproto
gmp gmp
gnu-netcat gnu-netcat
gnupg gnupg
gnuplot
gnutls gnutls
gparted gparted
gperf
gpgme gpgme
gpm gpm
graphicsmagick
graphviz
grep grep
groff groff
gsasl gsasl
@ -151,25 +140,27 @@ gstreamer0.10-bad-plugins
gstreamer0.10-base gstreamer0.10-base
gstreamer0.10-ffmpeg gstreamer0.10-ffmpeg
gstreamer0.10-good gstreamer0.10-good
gstreamer0.10-ugly gstreamer0.10-python
gstreamer0.10-ugly-plugins
gtk2 gtk2
gtkmm gtkmm
gtkspell gtkspell
gtk-update-icon-cache gtk-update-icon-cache
gts
gzip gzip
handbrake
hdparm hdparm
heirloom-mailx heirloom-mailx
hicolor-icon-theme hicolor-icon-theme
highlight highlight
hplip
hspell hspell
htop htop
hunspell hunspell
hunspell-en hunspell-en
hunspell-fr
hwids hwids
iana-etc iana-etc
icu icu
ifplugd
imagemagick imagemagick
imlib2 imlib2
indent indent
@ -177,13 +168,13 @@ inetutils
initscripts initscripts
inkscape inkscape
inputproto inputproto
intel-dri
intltool
iproute2 iproute2
iptables iptables
iputils iputils
isl isl
isomaster
ispell ispell
iw
jack jack
jasper jasper
jfsutils jfsutils
@ -196,16 +187,21 @@ kmod
krb5 krb5
ladspa ladspa
lame lame
laptop-mode-tools
latex2rtf
lcms lcms
lcms2 lcms2
ldns ldns
less less
libaio
libarchive libarchive
libass libass
libassuan libassuan
libasyncns libasyncns
libatasmart libatasmart
libavc1394
libbluray libbluray
libburn
libcaca libcaca
libcap libcap
libcap-ng libcap-ng
@ -231,21 +227,22 @@ libexif
libffi libffi
libfontenc libfontenc
libftdi libftdi
libgbm
libgcrypt libgcrypt
libgee
libgl libgl
libglade libglade
libglapi libglapi
libgme libgme
libgpg-error libgpg-error
libgphoto2
libgsf libgsf
libgssglue libgssglue
libgusb
libice libice
libid3tag libid3tag
libidn libidn
libieee1284
libirman libirman
libisoburn
libisofs
libjpeg-turbo libjpeg-turbo
libksba libksba
libldap libldap
@ -261,7 +258,6 @@ libmodplug
libmp4v2 libmp4v2
libmpc libmpc
libmpcdec libmpcdec
libmpeg2
libnice libnice
libnl libnl
libnotify libnotify
@ -278,14 +274,14 @@ libraw1394
librsvg librsvg
libsamplerate libsamplerate
libsasl libsasl
libsidplay
libsigc++ libsigc++
libsigsegv
libsm libsm
libsndfile libsndfile
libsoup libsoup
libspectre libspectre
libssh2 libssh2
libsystemd libstdc++5
libtasn1 libtasn1
libthai libthai
libtheora libtheora
@ -329,7 +325,6 @@ libxss
libxt libxt
libxtst libxtst
libxv libxv
libxvmc
libxxf86dga libxxf86dga
libxxf86vm libxxf86vm
libzen libzen
@ -339,15 +334,19 @@ linux-api-headers
linux-firmware linux-firmware
linux-lts linux-lts
lirc-utils lirc-utils
lm_sensors
logrotate logrotate
lorcon
lrzip
lshw
lsof lsof
ltrace
lua lua
luadoc
luafilesystem luafilesystem
luajit luajit
luakit luakit
lualogging
lvm2 lvm2
lzo2
m4 m4
make make
man-db man-db
@ -374,16 +373,17 @@ nawk
ncdu ncdu
ncurses ncurses
neon neon
net-snmp
nettle nettle
net-tools net-tools
nmap nmap
nspr nspr
nss nss
ntfs-3g ntfs-3g
ntfsprogs
numlockx numlockx
opencore-amr opencore-amr
openjpeg openjpeg
openslp
openssh openssh
openssl openssl
orc orc
@ -401,16 +401,17 @@ patch
pciutils pciutils
pcmciautils pcmciautils
pcre pcre
pdksh
perl perl
perl-error perl-error
perl-test-pod perl-locale-gettext
perl-xml-parser
perl-yaml-syck
pidgin pidgin
pinentry pinentry
pixman pixman
pkg-config pkg-config
pkgfile
pkgstats pkgstats
pkgtools
polkit polkit
poppler poppler
poppler-data poppler-data
@ -421,6 +422,7 @@ ppp
procps-ng procps-ng
psmisc psmisc
pth pth
pwgen
pwsafe pwsafe
pygobject2-devel pygobject2-devel
pygtk pygtk
@ -430,9 +432,12 @@ python2-cairo
python2-dbus python2-dbus
python2-distribute python2-distribute
python2-gobject2 python2-gobject2
python2-pylorcon
python2-udiskie python2-udiskie
python-configobj
python-dbus-common python-dbus-common
python-notify python-notify
python-pycurl
randrproto randrproto
ranger ranger
raptor raptor
@ -441,11 +446,9 @@ recode
recordproto recordproto
reiserfsprogs reiserfsprogs
renderproto renderproto
rsync
rtmpdump rtmpdump
rtorrent rtorrent
run-parts run-parts
sane
schroedinger schroedinger
scrnsaverproto scrnsaverproto
scrot scrot
@ -454,7 +457,6 @@ sdparm
sed sed
sg3_utils sg3_utils
shadow shadow
shared-color-profiles
shared-mime-info shared-mime-info
slock slock
smbclient smbclient
@ -462,25 +464,34 @@ soundtouch
speex speex
splint splint
sqlite sqlite
squashfs-tools
startup-notification startup-notification
subversion strace
sudo sudo
sxiv sxiv
sysfsutils sysfsutils
syslinux
syslog-ng syslog-ng
systemd-tools sysstat
systemd
sysvbanner
sysvinit sysvinit
sysvinit-tools
t1lib
talloc talloc
tar tar
task task
tcc tcc
tcpdump
tcsh
tdb tdb
texi2html
texinfo texinfo
tree tree
ttf-dejavu ttf-dejavu
ttf-freefont
tzdata tzdata
udisks udisks
unixodbc
unrar unrar
unzip unzip
upx upx
@ -491,34 +502,37 @@ valgrind
vi vi
vicious vicious
videoproto videoproto
vim
vim-runtime
vlock vlock
w3m w3m
wget wget
which which
wildmidi wildmidi
wipe wipe
wireless-regdb
wireless_tools wireless_tools
wpa_actiond
wpa_supplicant wpa_supplicant
wv wv
wxgtk
x264 x264
xcb-proto xcb-proto
xcb-util xcb-util
xcb-util-image xcb-util-image
xcb-util-keysyms xcb-util-keysyms
xcb-util-wm xcb-util-wm
xclip
xextproto xextproto
xf86dgaproto xf86dgaproto
xf86-input-evdev xf86-input-evdev
xf86-input-synaptics xf86-input-synaptics
xf86-video-intel xf86-video-ati
xf86-video-vesa xf86-video-vesa
xf86vidmodeproto xf86vidmodeproto
xfsprogs xfsprogs
xineramaproto xineramaproto
xkeyboard-config xkeyboard-config
xmlrpc-c xmlrpc-c
xmlto
xorg-bdftopcf xorg-bdftopcf
xorg-fonts-alias xorg-fonts-alias
xorg-fonts-encodings xorg-fonts-encodings
@ -535,9 +549,11 @@ xorg-xev
xorg-xinit xorg-xinit
xorg-xkbcomp xorg-xkbcomp
xorg-xmessage xorg-xmessage
xorg-xmodmap
xorg-xprop xorg-xprop
xorg-xrandr xorg-xrandr
xorg-xrdb xorg-xrdb
xorg-xset
xproto xproto
xsel xsel
xvidcore xvidcore
@ -551,3 +567,4 @@ zathura-ps
zip zip
zlib zlib
zsh zsh
zziplib

28
.save
View File

@ -141,12 +141,8 @@ do
done done
## cmus ## cmus
# FILELIST=(${FILELIST[*]} "$(ls .cmus/{autosave,*.theme}) ")
FILELIST=(${FILELIST[*]} ".cmus/autosave") FILELIST=(${FILELIST[*]} ".cmus/autosave")
## Conky
FILELIST=(${FILELIST[*]} ".conkyrc")
## Emacs ## Emacs
FILELIST=(${FILELIST[*]} ".emacs") FILELIST=(${FILELIST[*]} ".emacs")
FILELIST=(${FILELIST[*]} ".emacs.d/plugins") FILELIST=(${FILELIST[*]} ".emacs.d/plugins")
@ -158,7 +154,7 @@ FILELIST=(${FILELIST[*]} ".gnupg/gpg-agent.conf")
## GTK ## GTK
FILELIST=(${FILELIST[*]} ".gtkrc-2.0") FILELIST=(${FILELIST[*]} ".gtkrc-2.0")
FILELIST=(${FILELIST[*]} ".config/gtk-3.0/settings.ini") # FILELIST=(${FILELIST[*]} ".config/gtk-3.0/settings.ini")
## Git ## Git
FILELIST=(${FILELIST[*]} ".gitconfig") FILELIST=(${FILELIST[*]} ".gitconfig")
@ -166,18 +162,9 @@ FILELIST=(${FILELIST[*]} ".gitconfig")
## Homeinit ## Homeinit
FILELIST=(${FILELIST[*]} ".homeinit") FILELIST=(${FILELIST[*]} ".homeinit")
## Irssi
# FILELIST=(${FILELIST[*]} ".irssi")
## Luakit ## Luakit
FILELIST=(${FILELIST[*]} ".config/luakit/") FILELIST=(${FILELIST[*]} ".config/luakit/")
## LXTerminal
# FILELIST=(${FILELIST[*]} ".config/lxterminal/lxterminal.conf")
## MPlayer
# FILELIST=(${FILELIST[*]} ".mplayer")
## Mutt ## Mutt
FILELIST=(${FILELIST[*]} ".muttrc") FILELIST=(${FILELIST[*]} ".muttrc")
for i in $(ls -ad --indicator-style=none .mutt.d/* | grep -vi 'cache') for i in $(ls -ad --indicator-style=none .mutt.d/* | grep -vi 'cache')
@ -185,9 +172,6 @@ do
FILELIST=(${FILELIST[*]} "$i") FILELIST=(${FILELIST[*]} "$i")
done done
## Nano
# FILELIST=(${FILELIST[*]} ".nanorc")
## Netinit ## Netinit
FILELIST=(${FILELIST[*]} ".netinit") FILELIST=(${FILELIST[*]} ".netinit")
@ -223,25 +207,15 @@ FILELIST=(${FILELIST[*]} ".taskrc")
# FILELIST=(${FILELIST[*]} "$i") # FILELIST=(${FILELIST[*]} "$i")
# done # done
## Urlview
# FILELIST=(${FILELIST[*]} ".urlview")
## Vim ## Vim
FILELIST=(${FILELIST[*]} ".vimrc") FILELIST=(${FILELIST[*]} ".vimrc")
## WMFS
# FILELIST=(${FILELIST[*]} ".config/wmfs")
## Xinit ## Xinit
FILELIST=(${FILELIST[*]} ".xinitrc") FILELIST=(${FILELIST[*]} ".xinitrc")
## Xresource ## Xresource
FILELIST=(${FILELIST[*]} ".Xresources") FILELIST=(${FILELIST[*]} ".Xresources")
## Xscreensaver
# FILELIST=(${FILELIST[*]} ".xscreensaver")
##============================================================================== ##==============================================================================
## Archiving ## Archiving
##============================================================================== ##==============================================================================

View File

@ -158,7 +158,6 @@ fi
## TeXlive ## TeXlive
if [ -d "/usr/local/texlive" ]; then if [ -d "/usr/local/texlive" ]; then
alias tli="sudo bash -c 'umask 022 && tlmgr install'"
alias tlu="sudo bash -c 'umask 022 && tlmgr update --self'" alias tlu="sudo bash -c 'umask 022 && tlmgr update --self'"
alias tls="tlmgr search --global" alias tls="tlmgr search --global"
alias tll="tlmgr show --list" alias tll="tlmgr show --list"

View File

@ -724,8 +724,4 @@ if [ -d "/usr/local/texlive" ]; then
done done
} }
tls ()
{
tlmgr search --global "$@"
}
fi fi

View File

@ -10,20 +10,23 @@ umask 027
## Path ## Path
export PATH=.:$PATH export PATH=.:$PATH
export MANPATH=/usr/local/man:$MANPATH
export INFOPATH=/usr/local/info:$INFOPATH
## TeXlive ## TeXlive
TEXROOT="/usr/local/texlive" # TEXDIR="${TEXDIR:-/usr/local/texlive}"
if [ -d "${TEXROOT}" ]; then # if [ -d "${TEXDIR}" ]; then
TEXYEAR=$(/bin/ls -1r "${TEXROOT}" | grep -m1 "[0-9]\{4\}") # TEXYEAR=$(/bin/ls -1r "${TEXDIR}" | grep -m1 "[0-9]\{4\}")
TEXDISTRO=$(uname | tr "[[:upper:]]" "[[:lower:]]") # TEXDISTRO=$(uname | tr "[[:upper:]]" "[[:lower:]]")
TEXFOLDER="/usr/local/texlive/${TEXYEAR}/bin/$(uname -m)-${TEXDISTRO}/" # TEXFOLDER="${TEXDIR}/${TEXYEAR}/bin/$(uname -m)-${TEXDISTRO}/"
if [ -d "${TEXFOLDER}" ]; then # if [ -d "${TEXFOLDER}" ]; then
export PATH=${TEXFOLDER}:$PATH # export PATH=${TEXFOLDER}:$PATH
fi # fi
unset TEXYEAR # unset TEXYEAR
unset TEXDISTRO # unset TEXDISTRO
unset TEXFOLDER # unset TEXFOLDER
fi # fi
# unset TEXDIR
## Enable color support of ls. ## Enable color support of ls.
if [ "$TERM" != "dumb" ]; then if [ "$TERM" != "dumb" ]; then

13
README
View File

@ -98,7 +98,7 @@ Custom bindings, file association, tweaked a few options.
Scripts Scripts
******* *******
.network: network setup. Works with wpa_supplicant. May replace any network .netinit: network setup. Works with wpa_supplicant. May replace any network
manager. manager.
.homeinit: initialize a new home configuration, i.e. get needed files, create .homeinit: initialize a new home configuration, i.e. get needed files, create
@ -137,11 +137,17 @@ Known issues
Emacs: some colors do not work as intended. Emacs: some colors do not work as intended.
Luakit: adblock makes Luakit crash whenever easylist.txt is not found.
adblock will not always work.
Ranger: if editor is 'emacsclient -t -a""', it will not show up if emacs daemon Ranger: if editor is 'emacsclient -t -a""', it will not show up if emacs daemon
is not running. is not running.
Shell: some custom functions would need auto-completion. Shell: some custom functions would need auto-completion.
URxvt: using the paste function from Muennich's clipboard on the same terminal
where text was copied will make xsel crash.
Zathura: app will hang forever sometimes (when document is being regenerated, or Zathura: app will hang forever sometimes (when document is being regenerated, or
when launched from Ranger). when launched from Ranger).
@ -150,6 +156,7 @@ Complete applist
**************** ****************
aalib aalib
aircrack-ng
antiword antiword
asciidoc asciidoc
astyle astyle
@ -175,6 +182,7 @@ dropbox
dtach dtach
dvtm dvtm
emacs emacs
expac
fbpdf fbpdf
fbv fbv
fdisk fdisk
@ -188,6 +196,7 @@ gdb
gimp gimp
gnumeric gnumeric
gnuplot gnuplot
gparted
gpicview gpicview
graphicsmagick graphicsmagick
grep grep
@ -207,6 +216,7 @@ lrzip
lshw lshw
ltrace ltrace
luakit luakit
lynx
mediainfo mediainfo
mencoder mencoder
mercurial mercurial
@ -267,6 +277,7 @@ vlock
w3m w3m
weechat weechat
wipe wipe
wireshark
wmfs wmfs
wv wv
x264 x264