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
|
auto-complete
|
||||||
|
bashmount
|
||||||
bustle
|
bustle
|
||||||
dropbox
|
dropbox
|
||||||
dropbox-cli
|
dropbox-cli
|
||||||
emacs-yasnippet
|
emacs-yasnippet
|
||||||
gsharkdown
|
gsharkdown
|
||||||
movgrab
|
movgrab
|
||||||
msmtp-pwpatched
|
|
||||||
package-query
|
package-query
|
||||||
pacman-color
|
pacman-color
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
|
@ -12,6 +12,7 @@ automake
|
||||||
awesome
|
awesome
|
||||||
bash
|
bash
|
||||||
bash-completion
|
bash-completion
|
||||||
|
bashmount
|
||||||
binutils
|
binutils
|
||||||
bison
|
bison
|
||||||
bustle
|
bustle
|
||||||
|
@ -32,6 +33,7 @@ device-mapper
|
||||||
d-feet
|
d-feet
|
||||||
dhcpcd
|
dhcpcd
|
||||||
diffutils
|
diffutils
|
||||||
|
dosfstools
|
||||||
dropbox
|
dropbox
|
||||||
dropbox-cli
|
dropbox-cli
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
|
@ -72,6 +74,7 @@ initscripts
|
||||||
inkscape
|
inkscape
|
||||||
iptables
|
iptables
|
||||||
iputils
|
iputils
|
||||||
|
irssi
|
||||||
ispell
|
ispell
|
||||||
jfsutils
|
jfsutils
|
||||||
laptop-mode-tools
|
laptop-mode-tools
|
||||||
|
@ -98,8 +101,8 @@ mediainfo
|
||||||
mercurial
|
mercurial
|
||||||
movgrab
|
movgrab
|
||||||
mplayer2
|
mplayer2
|
||||||
msmtp-mta
|
msmtp
|
||||||
msmtp-pwpatched
|
mtools
|
||||||
mutt
|
mutt
|
||||||
nano
|
nano
|
||||||
nasm
|
nasm
|
||||||
|
@ -164,21 +167,24 @@ vim
|
||||||
vlock
|
vlock
|
||||||
w3m
|
w3m
|
||||||
waf
|
waf
|
||||||
|
weechat
|
||||||
wget
|
wget
|
||||||
which
|
which
|
||||||
|
wipe
|
||||||
wireless_tools
|
wireless_tools
|
||||||
wireshark-cli
|
wireshark-cli
|
||||||
wireshark-gtk
|
wireshark-gtk
|
||||||
wpa_supplicant
|
wpa_supplicant
|
||||||
wv
|
wv
|
||||||
xf86-input-synaptics
|
xf86-input-synaptics
|
||||||
xf86-video-intel
|
xf86-video-intel-uxa
|
||||||
xf86-video-vesa
|
xf86-video-vesa
|
||||||
xfsprogs
|
xfsprogs
|
||||||
xorg-server
|
xorg-server
|
||||||
xorg-twm
|
xorg-twm
|
||||||
xorg-xev
|
xorg-xev
|
||||||
xorg-xinit
|
xorg-xinit
|
||||||
|
xorg-xprop
|
||||||
xorg-xrandr
|
xorg-xrandr
|
||||||
xorg-xrdb
|
xorg-xrdb
|
||||||
xsel
|
xsel
|
||||||
|
|
|
@ -63,6 +63,7 @@ djvulibre
|
||||||
dnssec-anchors
|
dnssec-anchors
|
||||||
docbook-xml
|
docbook-xml
|
||||||
docbook-xsl
|
docbook-xsl
|
||||||
|
dosfstools
|
||||||
dri2proto
|
dri2proto
|
||||||
e2fsprogs
|
e2fsprogs
|
||||||
eject
|
eject
|
||||||
|
@ -168,6 +169,7 @@ intel-dri
|
||||||
iproute2
|
iproute2
|
||||||
iptables
|
iptables
|
||||||
iputils
|
iputils
|
||||||
|
irssi
|
||||||
isl
|
isl
|
||||||
ispell
|
ispell
|
||||||
jack
|
jack
|
||||||
|
@ -348,8 +350,9 @@ mozilla-common
|
||||||
mpfr
|
mpfr
|
||||||
mpg123
|
mpg123
|
||||||
mplayer2
|
mplayer2
|
||||||
msmtp-mta
|
msmtp
|
||||||
mtdev
|
mtdev
|
||||||
|
mtools
|
||||||
musicbrainz
|
musicbrainz
|
||||||
mutt
|
mutt
|
||||||
nano
|
nano
|
||||||
|
@ -470,6 +473,7 @@ unrar
|
||||||
unzip
|
unzip
|
||||||
usbutils
|
usbutils
|
||||||
util-linux
|
util-linux
|
||||||
|
v4l-utils
|
||||||
valgrind
|
valgrind
|
||||||
vi
|
vi
|
||||||
vicious
|
vicious
|
||||||
|
@ -481,9 +485,11 @@ vte
|
||||||
vte-common
|
vte-common
|
||||||
w3m
|
w3m
|
||||||
waf
|
waf
|
||||||
|
weechat
|
||||||
wget
|
wget
|
||||||
which
|
which
|
||||||
wildmidi
|
wildmidi
|
||||||
|
wipe
|
||||||
wireless_tools
|
wireless_tools
|
||||||
wireshark-cli
|
wireshark-cli
|
||||||
wireshark-gtk
|
wireshark-gtk
|
||||||
|
@ -502,7 +508,7 @@ xextproto
|
||||||
xf86dgaproto
|
xf86dgaproto
|
||||||
xf86-input-evdev
|
xf86-input-evdev
|
||||||
xf86-input-synaptics
|
xf86-input-synaptics
|
||||||
xf86-video-intel
|
xf86-video-intel-uxa
|
||||||
xf86-video-vesa
|
xf86-video-vesa
|
||||||
xf86vidmodeproto
|
xf86vidmodeproto
|
||||||
xfsprogs
|
xfsprogs
|
||||||
|
@ -527,6 +533,7 @@ xorg-xev
|
||||||
xorg-xinit
|
xorg-xinit
|
||||||
xorg-xkbcomp
|
xorg-xkbcomp
|
||||||
xorg-xmessage
|
xorg-xmessage
|
||||||
|
xorg-xprop
|
||||||
xorg-xrandr
|
xorg-xrandr
|
||||||
xorg-xrdb
|
xorg-xrdb
|
||||||
xorg-xset
|
xorg-xset
|
||||||
|
|
|
@ -47,21 +47,12 @@ end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- {{{ Variable definitions
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Themes define colours, icons, and wallpapers
|
-- Themes define colours, icons, and wallpapers
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
|
||||||
-- beautiful.init("/usr/share/awesome/themes/zenburn/theme.lua")
|
-- beautiful.init("/usr/share/awesome/themes/zenburn/theme.lua")
|
||||||
beautiful.init(awful.util.getdir("config") .. "/themes/custom/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.
|
-- 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
|
-- CUSTOM
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
-- Mouse control
|
-- Mouse control
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
-- set the desired pixel coordinates:
|
-- set the desired pixel coordinates:
|
||||||
local safeCoords = {x=0, y=0}
|
local safeCoords = {x=0, y=0}
|
||||||
-- Flag to tell Awesome whether to do this at startup.
|
-- Flag to tell Awesome whether to do this at startup.
|
||||||
|
@ -282,71 +264,92 @@ if moveMouseOnStartup then
|
||||||
end
|
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(
|
globalkeys = awful.util.table.join(
|
||||||
-- Custom
|
-- Terminal
|
||||||
-- awful.key({ modkey, }, "l", function () awful.util.spawn("xscreensaver-command --lock") end),
|
awful.key({ modkey, }, "Return", function () awful.util.spawn("lxterminal") end),
|
||||||
awful.key({ modkey, }, "l", function () awful.util.spawn("slock") end),
|
awful.key({ }, "XF86Terminal", function () awful.util.spawn("lxterminal") end),
|
||||||
awful.key({ modkey, }, "e", function () awful.util.spawn(termcmd .. "ranger") 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, }, "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.
|
-- Screenshot
|
||||||
-- this is useful if you needed the mouse for something and now want it out of the way
|
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" }, "m", function() moveMouseAway(safeCoords.x, safeCoords.y) end),
|
||||||
awful.key({ modkey, "Control" }, "h", function() moveMouse(-5, 0) 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" }, "j", function() moveMouse(0, 5) end),
|
||||||
awful.key({ modkey, "Control" }, "k", 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),
|
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),
|
-- Standard program
|
||||||
awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("cmus-remote -n") end),
|
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||||
awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("cmus-remote -r") end),
|
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
-- Tags
|
||||||
awful.key({ modkey, }, "Prior", awful.tag.viewprev ),
|
awful.key({ modkey, }, "Prior", awful.tag.viewprev ),
|
||||||
awful.key({ modkey, }, "Next", awful.tag.viewnext ),
|
awful.key({ modkey, }, "Next", awful.tag.viewnext ),
|
||||||
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
|
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
|
-- Layout manipulation
|
||||||
awful.key({ modkey, "Mod1" }, "Right", function () awful.client.swap.byidx( 1) end),
|
awful.key({ modkey, "Mod1" }, "Right", function () awful.client.swap.byidx( 1) end),
|
||||||
awful.key({ modkey, "Mod1" }, "Left", 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
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
awful.key({ modkey, }, "Right",
|
||||||
|
function ()
|
||||||
-- Standard program
|
awful.client.focus.byidx( 1)
|
||||||
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
|
if client.focus then client.focus:raise() end
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
end),
|
||||||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
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" }, "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" }, "Right", function () awful.tag.incnmaster( 1) end),
|
||||||
-- awful.key({ modkey, "Shift" }, "Left", 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),
|
-- 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),
|
awful.key({ modkey, "Control" }, "n", awful.client.restore),
|
||||||
|
|
||||||
-- Prompt
|
-- 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",
|
awful.key({ modkey }, "x",
|
||||||
function ()
|
function ()
|
||||||
awful.prompt.run({ prompt = "Run Lua code: " },
|
awful.prompt.run({ prompt = "Run Lua code: " },
|
||||||
|
@ -392,6 +400,7 @@ globalkeys = awful.util.table.join(
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
-- Client keys
|
||||||
clientkeys = awful.util.table.join(
|
clientkeys = awful.util.table.join(
|
||||||
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
|
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
|
||||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() 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, }, "o", awful.client.movetoscreen ),
|
||||||
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
|
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, }, "t", function (c) c.ontop = not c.ontop end),
|
||||||
awful.key({ modkey, }, "n",
|
|
||||||
function (c)
|
-- awful.key({ modkey, }, "n",
|
||||||
-- The client currently has the input focus, so it cannot be
|
-- function (c)
|
||||||
-- minimized, since minimized clients can't have the focus.
|
-- -- The client currently has the input focus, so it cannot be
|
||||||
c.minimized = true
|
-- -- minimized, since minimized clients can't have the focus.
|
||||||
end),
|
-- c.minimized = true
|
||||||
|
-- end),
|
||||||
|
|
||||||
awful.key({ modkey, }, "m",
|
awful.key({ modkey, }, "m",
|
||||||
function (c)
|
function (c)
|
||||||
c.maximized_horizontal = not c.maximized_horizontal
|
c.maximized_horizontal = not c.maximized_horizontal
|
||||||
|
|
2
.emacs
2
.emacs
|
@ -130,8 +130,6 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Mutt support.
|
;; 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
|
(setq auto-mode-alist
|
||||||
(append
|
(append
|
||||||
'(("/tmp/mutt.*" . mail-mode)
|
'(("/tmp/mutt.*" . mail-mode)
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
("configs" "configurations" nil 1)
|
("configs" "configurations" nil 1)
|
||||||
("cad" "c'est-à-dire" nil 1)
|
("cad" "c'est-à-dire" nil 1)
|
||||||
("dc" "donc" nil 1)
|
("dc" "donc" nil 1)
|
||||||
|
("deja" "déjà" nil 1)
|
||||||
("dep" "dépendance" nil 1)
|
("dep" "dépendance" nil 1)
|
||||||
("deps" "dépendances" nil 1)
|
("deps" "dépendances" nil 1)
|
||||||
("dico" "Dictionnaire" nil 2)
|
("dico" "Dictionnaire" nil 2)
|
||||||
|
@ -90,6 +91,9 @@
|
||||||
("fyi" "for your information" nil 0)
|
("fyi" "for your information" nil 0)
|
||||||
("gd" "grand" nil 3)
|
("gd" "grand" nil 3)
|
||||||
("ie" "i.e." nil 1)
|
("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)
|
("infos" "informations" nil 1)
|
||||||
("latex" "LaTeX" nil 10)
|
("latex" "LaTeX" nil 10)
|
||||||
("linux" "GNU/Linux" nil 1)
|
("linux" "GNU/Linux" nil 1)
|
||||||
|
@ -103,6 +107,7 @@
|
||||||
("ms" "mais" nil 4)
|
("ms" "mais" nil 4)
|
||||||
("nb" "nombre" nil 0)
|
("nb" "nombre" nil 0)
|
||||||
("ns" "nous" nil 1)
|
("ns" "nous" nil 1)
|
||||||
|
("nvm" "nevermind" nil 1)
|
||||||
("pb" "problème" nil 4)
|
("pb" "problème" nil 4)
|
||||||
("pbs" "problèmes" nil 1)
|
("pbs" "problèmes" nil 1)
|
||||||
("pcq" "parce que" nil 3)
|
("pcq" "parce que" nil 3)
|
||||||
|
@ -136,6 +141,7 @@
|
||||||
("tt" "tout" nil 3)
|
("tt" "tout" nil 3)
|
||||||
("tte" "toute" nil 1)
|
("tte" "toute" nil 1)
|
||||||
("ttes" "toutes" nil 1)
|
("ttes" "toutes" nil 1)
|
||||||
|
("we" "weekend" nil 6)
|
||||||
("ya" "il y a" nil 6)
|
("ya" "il y a" nil 6)
|
||||||
("yen" "il y en" nil 1)
|
("yen" "il y en" nil 1)
|
||||||
("ê" "être" nil 1)
|
("ê" "être" nil 1)
|
||||||
|
|
|
@ -96,6 +96,8 @@
|
||||||
\maketitle
|
\maketitle
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
|
$0
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\end{document}
|
\end{document}
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- mode:sh -*-
|
# -*- mode:sh -*-
|
||||||
## Theme kindly stolen from
|
## Theme kindly inspired from
|
||||||
# http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html
|
## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html
|
||||||
|
|
||||||
## Colours for items in the index
|
## Colours for items in the index
|
||||||
color index brightcyan black ~N
|
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?
|
## 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
|
## Mailcap
|
||||||
set mailcap_path = ~/.mutt.d/mailcap
|
set mailcap_path = ~/.mutt.d/mailcap
|
||||||
|
@ -35,10 +36,10 @@ unset imap_passive
|
||||||
set imap_keepalive = 300
|
set imap_keepalive = 300
|
||||||
|
|
||||||
## How often to check for new mail (time in seconds).
|
## How often to check for new mail (time in seconds).
|
||||||
set mail_check = 120
|
set mail_check = 60
|
||||||
|
|
||||||
## Remove delay between mailbox switches.
|
## Remove delay between mailbox switches.
|
||||||
set sleep_time=0
|
set sleep_time = 0
|
||||||
|
|
||||||
## Beep on new incoming mails.
|
## Beep on new incoming mails.
|
||||||
set beep_new = "yes"
|
set beep_new = "yes"
|
||||||
|
|
|
@ -1,50 +1,28 @@
|
||||||
## -*- mode:sh -*- #
|
## -*- mode:sh -*- #
|
||||||
################################################################################
|
################################################################################
|
||||||
## Shell Config -- Main
|
## 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).
|
## Make 'less' more friendly for non-text input files, see lesspipe(1).
|
||||||
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||||
|
|
||||||
## Choose pager.
|
## Choose pager.
|
||||||
export MANPAGER="less -s"
|
export MANPAGER="less -s"
|
||||||
|
|
||||||
##==============================================================================
|
|
||||||
## Time display (with ls command for example)
|
## Time display (with ls command for example)
|
||||||
##==============================================================================
|
|
||||||
export TIME_STYLE=+"| %d/%m/%Y %H:%M | "
|
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
|
## System locale
|
||||||
# export LC_MESSAGES=fr_FR.utf8
|
# export LC_MESSAGES=fr_FR.utf8
|
||||||
|
|
||||||
|
@ -60,9 +38,15 @@ fi
|
||||||
export EDITOR
|
export EDITOR
|
||||||
|
|
||||||
## Internet Browser
|
## Internet Browser
|
||||||
[ -e "/usr/bin/firefox" ] && export BROWSER="firefox"
|
# [ -e "/usr/bin/firefox" ] && export BROWSER="firefox"
|
||||||
[ -e "/usr/bin/luakit" ] && export BROWSER="luakit"
|
[ -e "/usr/bin/luakit" ] && export BROWSER="luakit"
|
||||||
|
|
||||||
## Android SDK
|
## Title
|
||||||
[ -e "/opt/android-sdk" ] && export ANDROID_HOME=/opt/android-sdk/
|
## 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
|
Awesome
|
||||||
*******
|
*******
|
||||||
Extra deps: Vicious
|
Extra deps: Vicious
|
||||||
|
@ -67,6 +66,9 @@ Functional Adblock script. Script+Plugins toggle.
|
||||||
|
|
||||||
Mutt
|
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
|
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
|
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
|
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.
|
compilation options.
|
||||||
|
|
||||||
Some customization: custom index view, good Emacs integration -- see .emacs --,
|
Some customization: custom index view, good Emacs integration -- see .emacs --,
|
||||||
custom theme.
|
custom theme, various tweaks.
|
||||||
|
|
||||||
Ranger
|
Ranger
|
||||||
******
|
******
|
||||||
|
@ -112,3 +114,73 @@ WMFS
|
||||||
****
|
****
|
||||||
The last time I used WMFS, the development was in a transition from version 1.x
|
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.
|
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