Awesome: cleaned shortcuts + added shortcuts for media keyboards and laptops (XF86*).
Emacs: new abbrevs + LaTeX article template fix. Mutt: various tweaks. README: app list.master
parent
3677d07a89
commit
120c886022
|
@ -1,11 +1,11 @@
|
|||
auto-complete
|
||||
bashmount
|
||||
bustle
|
||||
dropbox
|
||||
dropbox-cli
|
||||
emacs-yasnippet
|
||||
gsharkdown
|
||||
movgrab
|
||||
msmtp-pwpatched
|
||||
package-query
|
||||
pacman-color
|
||||
trash-cli
|
||||
|
|
|
@ -12,6 +12,7 @@ automake
|
|||
awesome
|
||||
bash
|
||||
bash-completion
|
||||
bashmount
|
||||
binutils
|
||||
bison
|
||||
bustle
|
||||
|
@ -32,6 +33,7 @@ device-mapper
|
|||
d-feet
|
||||
dhcpcd
|
||||
diffutils
|
||||
dosfstools
|
||||
dropbox
|
||||
dropbox-cli
|
||||
e2fsprogs
|
||||
|
@ -72,6 +74,7 @@ initscripts
|
|||
inkscape
|
||||
iptables
|
||||
iputils
|
||||
irssi
|
||||
ispell
|
||||
jfsutils
|
||||
laptop-mode-tools
|
||||
|
@ -98,8 +101,8 @@ mediainfo
|
|||
mercurial
|
||||
movgrab
|
||||
mplayer2
|
||||
msmtp-mta
|
||||
msmtp-pwpatched
|
||||
msmtp
|
||||
mtools
|
||||
mutt
|
||||
nano
|
||||
nasm
|
||||
|
@ -164,21 +167,24 @@ vim
|
|||
vlock
|
||||
w3m
|
||||
waf
|
||||
weechat
|
||||
wget
|
||||
which
|
||||
wipe
|
||||
wireless_tools
|
||||
wireshark-cli
|
||||
wireshark-gtk
|
||||
wpa_supplicant
|
||||
wv
|
||||
xf86-input-synaptics
|
||||
xf86-video-intel
|
||||
xf86-video-intel-uxa
|
||||
xf86-video-vesa
|
||||
xfsprogs
|
||||
xorg-server
|
||||
xorg-twm
|
||||
xorg-xev
|
||||
xorg-xinit
|
||||
xorg-xprop
|
||||
xorg-xrandr
|
||||
xorg-xrdb
|
||||
xsel
|
||||
|
|
|
@ -63,6 +63,7 @@ djvulibre
|
|||
dnssec-anchors
|
||||
docbook-xml
|
||||
docbook-xsl
|
||||
dosfstools
|
||||
dri2proto
|
||||
e2fsprogs
|
||||
eject
|
||||
|
@ -168,6 +169,7 @@ intel-dri
|
|||
iproute2
|
||||
iptables
|
||||
iputils
|
||||
irssi
|
||||
isl
|
||||
ispell
|
||||
jack
|
||||
|
@ -348,8 +350,9 @@ mozilla-common
|
|||
mpfr
|
||||
mpg123
|
||||
mplayer2
|
||||
msmtp-mta
|
||||
msmtp
|
||||
mtdev
|
||||
mtools
|
||||
musicbrainz
|
||||
mutt
|
||||
nano
|
||||
|
@ -470,6 +473,7 @@ unrar
|
|||
unzip
|
||||
usbutils
|
||||
util-linux
|
||||
v4l-utils
|
||||
valgrind
|
||||
vi
|
||||
vicious
|
||||
|
@ -481,9 +485,11 @@ vte
|
|||
vte-common
|
||||
w3m
|
||||
waf
|
||||
weechat
|
||||
wget
|
||||
which
|
||||
wildmidi
|
||||
wipe
|
||||
wireless_tools
|
||||
wireshark-cli
|
||||
wireshark-gtk
|
||||
|
@ -502,7 +508,7 @@ xextproto
|
|||
xf86dgaproto
|
||||
xf86-input-evdev
|
||||
xf86-input-synaptics
|
||||
xf86-video-intel
|
||||
xf86-video-intel-uxa
|
||||
xf86-video-vesa
|
||||
xf86vidmodeproto
|
||||
xfsprogs
|
||||
|
@ -527,6 +533,7 @@ xorg-xev
|
|||
xorg-xinit
|
||||
xorg-xkbcomp
|
||||
xorg-xmessage
|
||||
xorg-xprop
|
||||
xorg-xrandr
|
||||
xorg-xrdb
|
||||
xorg-xset
|
||||
|
|
|
@ -47,21 +47,12 @@ end
|
|||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- {{{ Variable definitions
|
||||
--------------------------------------------------------------------------------
|
||||
-- Themes define colours, icons, and wallpapers
|
||||
--------------------------------------------------------------------------------
|
||||
-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
||||
-- beautiful.init("/usr/share/awesome/themes/zenburn/theme.lua")
|
||||
beautiful.init(awful.util.getdir("config") .. "/themes/custom/theme.lua")
|
||||
terminal = "lxterminal"
|
||||
termcmd = "lxterminal -e "
|
||||
-- webbrowser = os.getenv("BROWSER") or "luakit"
|
||||
webbrowser = "luakit"
|
||||
mailclient = termcmd .. "mutt"
|
||||
pdfreader = "zathura"
|
||||
-- editor = os.getenv("EDITOR") or "nano"
|
||||
-- editor_cmd = termcmd .. editor
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Default modkey.
|
||||
|
@ -248,19 +239,10 @@ end
|
|||
-- }}}
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
-- {{{ Mouse bindings
|
||||
root.buttons(awful.util.table.join(
|
||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||
awful.button({ }, 4, awful.tag.viewnext),
|
||||
awful.button({ }, 5, awful.tag.viewprev)
|
||||
))
|
||||
-- }}}
|
||||
|
||||
-- CUSTOM
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
-- Mouse control
|
||||
--------------------------------------------------------------------------------
|
||||
-- set the desired pixel coordinates:
|
||||
local safeCoords = {x=0, y=0}
|
||||
-- Flag to tell Awesome whether to do this at startup.
|
||||
|
@ -282,71 +264,92 @@ if moveMouseOnStartup then
|
|||
end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Key bindings
|
||||
-- Note that some laptop will not work when pressing Super+Fn.
|
||||
-- Therefore we only use Fn and Mod1+Fn.
|
||||
--------------------------------------------------------------------------------
|
||||
termcmd = "lxterminal -e "
|
||||
|
||||
-- {{{ Key bindings
|
||||
globalkeys = awful.util.table.join(
|
||||
-- Custom
|
||||
-- awful.key({ modkey, }, "l", function () awful.util.spawn("xscreensaver-command --lock") end),
|
||||
awful.key({ modkey, }, "l", function () awful.util.spawn("slock") end),
|
||||
awful.key({ modkey, }, "e", function () awful.util.spawn(termcmd .. "ranger") end),
|
||||
-- Terminal
|
||||
awful.key({ modkey, }, "Return", function () awful.util.spawn("lxterminal") end),
|
||||
awful.key({ }, "XF86Terminal", function () awful.util.spawn("lxterminal") end),
|
||||
|
||||
-- Calc
|
||||
awful.key({ modkey, }, "c", function () awful.util.spawn(termcmd .. "calc") end),
|
||||
awful.key({ }, "XF86Calculator", function () awful.util.spawn(termcmd .. "calc") end),
|
||||
|
||||
-- File browser
|
||||
awful.key({ modkey, }, "e", function () awful.util.spawn(termcmd .. "ranger") end),
|
||||
awful.key({ }, "XF86Explorer", function () awful.util.spawn(termcmd .. "ranger") end),
|
||||
awful.key({ }, "XF86MyComputer", function () awful.util.spawn(termcmd .. "ranger") end),
|
||||
|
||||
-- Screen lock
|
||||
awful.key({ modkey, }, "l", function () awful.util.spawn("slock") end),
|
||||
awful.key({ }, "XF86ScreenSaver", function () awful.util.spawn("slock") end),
|
||||
awful.key({ }, "XF86Sleep", function () awful.util.spawn("slock") end),
|
||||
awful.key({ }, "XF86Standby", function () awful.util.spawn("slock") end),
|
||||
|
||||
-- PDF Reader
|
||||
awful.key({ modkey, }, "p", function () awful.util.spawn("zathura") end),
|
||||
|
||||
-- Mail user agent
|
||||
awful.key({ modkey, }, "t", function () awful.util.spawn(termcmd .. "mutt") end),
|
||||
awful.key({ }, "XF86Mail", function () awful.util.spawn(termcmd .. "mutt") end),
|
||||
|
||||
-- Web browser
|
||||
awful.key({ modkey, }, "w", function () awful.util.spawn("luakit") end),
|
||||
awful.key({ }, "XF86WWW", function () awful.util.spawn("luakit") end),
|
||||
|
||||
-- Music player
|
||||
awful.key({ modkey, }, "a", function () awful.util.spawn(termcmd .. "cmus") end),
|
||||
awful.key({ modkey, "Mod1" }, "a", function () awful.util.spawn("cmus-remote -u") end),
|
||||
awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("cmus-remote -n") end),
|
||||
awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("cmus-remote -r") end),
|
||||
|
||||
awful.key({ }, "XF86AudioMedia", function () awful.util.spawn(termcmd .. "cmus") end),
|
||||
awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("cmus-remote -u") end),
|
||||
awful.key({ }, "XF86AudioNext", function () awful.util.spawn("cmus-remote -n") end),
|
||||
awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("cmus-remote -r") end),
|
||||
|
||||
-- Bind ''Meta4+Ctrl+m'' to move the mouse to the coordinates set above.
|
||||
-- this is useful if you needed the mouse for something and now want it out of the way
|
||||
-- Screenshot
|
||||
awful.key({}, "Print", function () awful.util.spawn("scrot '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mkdir -p ~/temp && mv $f ~/temp/'") end),
|
||||
|
||||
-- Sound Volume
|
||||
awful.key({ modkey, }, "KP_Subtract", function () awful.util.spawn("amixer set Master 5%- >/dev/null") end),
|
||||
awful.key({ modkey, }, "KP_Add", function () awful.util.spawn("amixer set Master 5%+ >/dev/null") end),
|
||||
awful.key({ modkey, }, "KP_Enter", function () awful.util.spawn("amixer set Master toggle >/dev/null") end),
|
||||
awful.key({ modkey, "Mod1" }, "KP_Subtract", function () awful.util.spawn("amixer set PCM 5%- >/dev/null") end),
|
||||
awful.key({ modkey, "Mod1" }, "KP_Add", function () awful.util.spawn("amixer set PCM 5%+ >/dev/null") end),
|
||||
|
||||
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 5%+ >/dev/null") end),
|
||||
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 5%- >/dev/null") end),
|
||||
awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle >/dev/null") end),
|
||||
awful.key({ "Mod1" }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set PCM 5%+ >/dev/null") end),
|
||||
awful.key({ "Mod1" }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set PCM 5%- >/dev/null") end),
|
||||
|
||||
-- Mouse control
|
||||
-- Bind ''Meta4+Ctrl+m'' to move the mouse to the coordinates set above.
|
||||
-- This is useful if you needed the mouse for something and now want it out of the way.
|
||||
awful.key({ modkey, "Control" }, "m", function() moveMouseAway(safeCoords.x, safeCoords.y) end),
|
||||
awful.key({ modkey, "Control" }, "h", function() moveMouse(-5, 0) end),
|
||||
awful.key({ modkey, "Control" }, "j", function() moveMouse(0, 5) end),
|
||||
awful.key({ modkey, "Control" }, "k", function() moveMouse(0, -5) end),
|
||||
awful.key({ modkey, "Control" }, "l", function() moveMouse(5, 0) end),
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Awesome specific
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
awful.key({ modkey, "Mod1" }, "a", function () awful.util.spawn("cmus-remote -u") end),
|
||||
awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("cmus-remote -n") end),
|
||||
awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("cmus-remote -r") end),
|
||||
|
||||
awful.key({}, "Print", function () awful.util.spawn("scrot '%Y-%m-%d-%H%M%S_$wx$h.png' -e 'mkdir -p ~/shots && mv $f ~/temp/'") end),
|
||||
|
||||
awful.key({ modkey, }, "w", function () awful.util.spawn(webbrowser) end),
|
||||
awful.key({ modkey, }, "t", function () awful.util.spawn(mailclient) end),
|
||||
awful.key({ modkey, }, "p", function () awful.util.spawn(pdfreader) end),
|
||||
|
||||
-- Sound Volume
|
||||
-- Note that some laptop will not work when pressing Super+Fn.
|
||||
-- Therefore we only use Fn and Mod1+Fn.
|
||||
awful.key({ modkey, }, "KP_Subtract", function () awful.util.spawn("amixer set Master 5%- >/dev/null") end),
|
||||
awful.key({ modkey, }, "KP_Add", function () awful.util.spawn("amixer set Master 5%+ >/dev/null") end),
|
||||
awful.key({ modkey, }, "KP_Enter", function () awful.util.spawn("amixer set Master toggle >/dev/null") end),
|
||||
|
||||
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 5%+ >/dev/null") end),
|
||||
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 5%- >/dev/null") end),
|
||||
awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle >/dev/null") end),
|
||||
|
||||
awful.key({ modkey, "Mod1" }, "KP_Subtract", function () awful.util.spawn("amixer set PCM 5%- >/dev/null") end),
|
||||
awful.key({ modkey, "Mod1" }, "KP_Add", function () awful.util.spawn("amixer set PCM 5%+ >/dev/null") end),
|
||||
|
||||
awful.key({ "Mod1" }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set PCM 5%+ >/dev/null") end),
|
||||
awful.key({ "Mod1" }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set PCM 5%- >/dev/null") end),
|
||||
|
||||
|
||||
-- Misc
|
||||
-- Standard program
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||
|
||||
-- Tags
|
||||
awful.key({ modkey, }, "Prior", awful.tag.viewprev ),
|
||||
awful.key({ modkey, }, "Next", awful.tag.viewnext ),
|
||||
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
|
||||
|
||||
awful.key({ modkey, }, "Right",
|
||||
function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
awful.key({ modkey, }, "Left",
|
||||
function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
|
||||
|
||||
-- Layout manipulation
|
||||
awful.key({ modkey, "Mod1" }, "Right", function () awful.client.swap.byidx( 1) end),
|
||||
awful.key({ modkey, "Mod1" }, "Left", function () awful.client.swap.byidx( -1) end),
|
||||
|
@ -361,15 +364,19 @@ globalkeys = awful.util.table.join(
|
|||
end
|
||||
end),
|
||||
|
||||
|
||||
|
||||
-- Standard program
|
||||
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||
awful.key({ modkey, }, "Right",
|
||||
function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
awful.key({ modkey, }, "Left",
|
||||
function ()
|
||||
awful.client.focus.byidx(-1)
|
||||
if client.focus then client.focus:raise() end
|
||||
end),
|
||||
|
||||
awful.key({ modkey,"Shift" }, "Right", function () awful.tag.incmwfact( 0.05) end),
|
||||
awful.key({ modkey,"Shift" }, "Left", function () awful.tag.incmwfact(-0.05) end),
|
||||
awful.key({ modkey,"Shift" }, "Left", function () awful.tag.incmwfact(-0.05) end),
|
||||
-- awful.key({ modkey, "Shift" }, "Right", function () awful.tag.incnmaster( 1) end),
|
||||
-- awful.key({ modkey, "Shift" }, "Left", function () awful.tag.incnmaster(-1) end),
|
||||
-- awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
|
||||
|
@ -381,8 +388,9 @@ globalkeys = awful.util.table.join(
|
|||
awful.key({ modkey, "Control" }, "n", awful.client.restore),
|
||||
|
||||
-- Prompt
|
||||
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
|
||||
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
|
||||
|
||||
-- Lua code
|
||||
awful.key({ modkey }, "x",
|
||||
function ()
|
||||
awful.prompt.run({ prompt = "Run Lua code: " },
|
||||
|
@ -392,6 +400,7 @@ globalkeys = awful.util.table.join(
|
|||
end)
|
||||
)
|
||||
|
||||
-- Client keys
|
||||
clientkeys = awful.util.table.join(
|
||||
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
|
||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
|
||||
|
@ -400,12 +409,14 @@ clientkeys = awful.util.table.join(
|
|||
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
|
||||
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
|
||||
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
|
||||
awful.key({ modkey, }, "n",
|
||||
function (c)
|
||||
-- The client currently has the input focus, so it cannot be
|
||||
-- minimized, since minimized clients can't have the focus.
|
||||
c.minimized = true
|
||||
end),
|
||||
|
||||
-- awful.key({ modkey, }, "n",
|
||||
-- function (c)
|
||||
-- -- The client currently has the input focus, so it cannot be
|
||||
-- -- minimized, since minimized clients can't have the focus.
|
||||
-- c.minimized = true
|
||||
-- end),
|
||||
|
||||
awful.key({ modkey, }, "m",
|
||||
function (c)
|
||||
c.maximized_horizontal = not c.maximized_horizontal
|
||||
|
|
2
.emacs
2
.emacs
|
@ -130,8 +130,6 @@
|
|||
)
|
||||
|
||||
;; Mutt support.
|
||||
;; We make sure the file name has not dot in front of mutt to prevent .muttrc
|
||||
;; from being seen as a mail file.
|
||||
(setq auto-mode-alist
|
||||
(append
|
||||
'(("/tmp/mutt.*" . mail-mode)
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
("configs" "configurations" nil 1)
|
||||
("cad" "c'est-à-dire" nil 1)
|
||||
("dc" "donc" nil 1)
|
||||
("deja" "déjà" nil 1)
|
||||
("dep" "dépendance" nil 1)
|
||||
("deps" "dépendances" nil 1)
|
||||
("dico" "Dictionnaire" nil 2)
|
||||
|
@ -90,6 +91,9 @@
|
|||
("fyi" "for your information" nil 0)
|
||||
("gd" "grand" nil 3)
|
||||
("ie" "i.e." nil 1)
|
||||
("iirc" "if I recall correctly" nil 1)
|
||||
("imo" "in my opinion" nil 1)
|
||||
("imho" "in my humble opinion" nil 1)
|
||||
("infos" "informations" nil 1)
|
||||
("latex" "LaTeX" nil 10)
|
||||
("linux" "GNU/Linux" nil 1)
|
||||
|
@ -103,6 +107,7 @@
|
|||
("ms" "mais" nil 4)
|
||||
("nb" "nombre" nil 0)
|
||||
("ns" "nous" nil 1)
|
||||
("nvm" "nevermind" nil 1)
|
||||
("pb" "problème" nil 4)
|
||||
("pbs" "problèmes" nil 1)
|
||||
("pcq" "parce que" nil 3)
|
||||
|
@ -136,6 +141,7 @@
|
|||
("tt" "tout" nil 3)
|
||||
("tte" "toute" nil 1)
|
||||
("ttes" "toutes" nil 1)
|
||||
("we" "weekend" nil 6)
|
||||
("ya" "il y a" nil 6)
|
||||
("yen" "il y en" nil 1)
|
||||
("ê" "être" nil 1)
|
||||
|
|
|
@ -96,6 +96,8 @@
|
|||
\maketitle
|
||||
\tableofcontents
|
||||
|
||||
$0
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\end{document}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- mode:sh -*-
|
||||
## Theme kindly stolen from
|
||||
# http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html
|
||||
## Theme kindly inspired from
|
||||
## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html
|
||||
|
||||
## Colours for items in the index
|
||||
color index brightcyan black ~N
|
||||
|
|
7
.muttrc
7
.muttrc
|
@ -16,7 +16,8 @@
|
|||
##-------------------------------------------------------------------------------
|
||||
|
||||
## TODO: why doesn't the $EDITOR variable work for connection to emacs daemon?
|
||||
set editor="emacsclient -a \"\" -t"
|
||||
# set editor="emacsclient -a \"\" -t"
|
||||
set editor=`echo \$EDITOR`
|
||||
|
||||
## Mailcap
|
||||
set mailcap_path = ~/.mutt.d/mailcap
|
||||
|
@ -35,10 +36,10 @@ unset imap_passive
|
|||
set imap_keepalive = 300
|
||||
|
||||
## How often to check for new mail (time in seconds).
|
||||
set mail_check = 120
|
||||
set mail_check = 60
|
||||
|
||||
## Remove delay between mailbox switches.
|
||||
set sleep_time=0
|
||||
set sleep_time = 0
|
||||
|
||||
## Beep on new incoming mails.
|
||||
set beep_new = "yes"
|
||||
|
|
|
@ -1,50 +1,28 @@
|
|||
## -*- mode:sh -*- #
|
||||
################################################################################
|
||||
## Shell Config -- Main
|
||||
## Date 2011-11-19
|
||||
## Date 2012-07-09
|
||||
################################################################################
|
||||
|
||||
## Mask
|
||||
## Result for 027 is: rwxr-x---
|
||||
umask 027
|
||||
|
||||
## Path
|
||||
export PATH=.:$PATH
|
||||
|
||||
## Terminal
|
||||
# export TERM=xterm-256color
|
||||
|
||||
##==============================================================================
|
||||
## Pager
|
||||
##==============================================================================
|
||||
## Make 'less' more friendly for non-text input files, see lesspipe(1).
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
|
||||
## Choose pager.
|
||||
export MANPAGER="less -s"
|
||||
|
||||
##==============================================================================
|
||||
## Time display (with ls command for example)
|
||||
##==============================================================================
|
||||
export TIME_STYLE=+"| %d/%m/%Y %H:%M | "
|
||||
|
||||
##==============================================================================
|
||||
## Title
|
||||
##==============================================================================
|
||||
## If this is an xterm set the title to user@host:dir
|
||||
|
||||
#case "$TERM" in
|
||||
#xterm*|rxvt*)
|
||||
# PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
|
||||
# ;;
|
||||
#*)
|
||||
# ;;
|
||||
#esac
|
||||
|
||||
##==============================================================================
|
||||
## File access rights
|
||||
##==============================================================================
|
||||
## Result for 027 is: rwxr-x---
|
||||
umask 027
|
||||
|
||||
##==============================================================================
|
||||
## Variables
|
||||
##==============================================================================
|
||||
|
||||
## Path
|
||||
export PATH=.:$PATH
|
||||
|
||||
## System locale
|
||||
# export LC_MESSAGES=fr_FR.utf8
|
||||
|
||||
|
@ -60,9 +38,15 @@ fi
|
|||
export EDITOR
|
||||
|
||||
## Internet Browser
|
||||
[ -e "/usr/bin/firefox" ] && export BROWSER="firefox"
|
||||
# [ -e "/usr/bin/firefox" ] && export BROWSER="firefox"
|
||||
[ -e "/usr/bin/luakit" ] && export BROWSER="luakit"
|
||||
|
||||
## Android SDK
|
||||
[ -e "/opt/android-sdk" ] && export ANDROID_HOME=/opt/android-sdk/
|
||||
|
||||
## Title
|
||||
## If this is an xterm set the title to user@host:dir
|
||||
#case "$TERM" in
|
||||
#xterm*|rxvt*)
|
||||
# PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
|
||||
# ;;
|
||||
#*)
|
||||
# ;;
|
||||
#esac
|
||||
|
|
76
README
76
README
|
@ -45,7 +45,6 @@ Final word: do not forget to read the manpages!
|
|||
|
||||
################################################################################
|
||||
|
||||
|
||||
Awesome
|
||||
*******
|
||||
Extra deps: Vicious
|
||||
|
@ -67,6 +66,9 @@ Functional Adblock script. Script+Plugins toggle.
|
|||
|
||||
Mutt
|
||||
****
|
||||
Compile options: IMAP and SMTP support.
|
||||
Extra deps: urlview, w3m, sxiv, fortune.
|
||||
|
||||
This one is not easy to get into it. I managed to get multiple accounts with
|
||||
pgp-encrypted passwords working, which means there is no plain password stored
|
||||
on the disk. As a result, I just get prompted for a main password on Mutt
|
||||
|
@ -78,7 +80,7 @@ I'm using embedded imap and smtp services -- you must provide the required
|
|||
compilation options.
|
||||
|
||||
Some customization: custom index view, good Emacs integration -- see .emacs --,
|
||||
custom theme.
|
||||
custom theme, various tweaks.
|
||||
|
||||
Ranger
|
||||
******
|
||||
|
@ -112,3 +114,73 @@ WMFS
|
|||
****
|
||||
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:
|
||||
***********
|
||||
|
||||
antiword
|
||||
atool
|
||||
bashmount
|
||||
calc
|
||||
cmus
|
||||
cppcheck
|
||||
doxygen
|
||||
dropbox
|
||||
feh
|
||||
fortune
|
||||
gcolor2
|
||||
gdb
|
||||
gimp
|
||||
gnumeric
|
||||
gnuplot
|
||||
handbrake
|
||||
hdparm
|
||||
highlight
|
||||
htop
|
||||
inkscape
|
||||
irssi
|
||||
lrzip
|
||||
lxterminal
|
||||
mediainfo
|
||||
mencoder
|
||||
mkvtoolnix
|
||||
movgrav
|
||||
mplayer2
|
||||
nasm
|
||||
ncdu
|
||||
nmap
|
||||
numlockx
|
||||
okular
|
||||
openshot
|
||||
openssh
|
||||
p7zip
|
||||
pari
|
||||
pidgin
|
||||
pwgen
|
||||
pwsafe
|
||||
ranger
|
||||
rtorrent
|
||||
rxvt-unicode
|
||||
scrot
|
||||
sdparm
|
||||
slock
|
||||
splint
|
||||
strace
|
||||
submarine
|
||||
sudo
|
||||
sxiv
|
||||
task
|
||||
tcpdump
|
||||
texlive
|
||||
trash-cli
|
||||
tree
|
||||
valgrind
|
||||
vlock
|
||||
w3m
|
||||
weechat
|
||||
wipe
|
||||
wv
|
||||
xsel
|
||||
yasm
|
||||
zathura
|
||||
|
|
Loading…
Reference in New Issue