Merge branch 'master' of bitbucket.org:/ambrevar/home-config

master
Pierre Neidhardt 2013-06-14 15:54:45 +02:00
commit 376bf060da
4 changed files with 10 additions and 8 deletions

View File

@ -317,7 +317,7 @@ end
-- Note that some laptop will not work when pressing Super+Fn.
-- Therefore we only use Fn and Mod1+Fn.
--------------------------------------------------------------------------------
term = "urxvt"
term = os.getenv("TERMCMD") or "urxvt"
termcmd = term .. " -e "
globalkeys = awful.util.table.join(
@ -329,8 +329,11 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "b", 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),
-- Editor
awful.key({ modkey, }, "e", function () awful.util.spawn(os.getenv("EDITOR")) end),
-- Directory browser
awful.key({ modkey, }, "d", 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),

View File

@ -157,7 +157,6 @@
("mm" "même" nil 16)
("mmt" "moment" nil 16)
("mnt" "maintenant" nil 2)
("ms" "mais" nil 4)
("nb" "nombre" nil 0)
("nbs" "nombres" nil 0)
("nchai" "je ne sais" nil 1)

View File

@ -24,10 +24,6 @@ elif [ "$TERM" != "dumb" ]; then
# export LSCOLORS="ExfxcxDxCxdxdxCxCxECEh"
fi
## This env variable is used by some programs (like ranger) to get terminal
## executable name.
export TERMCMD="urxvt"
## Title
## If this is an xterm set the title to user@host:dir
#case "$TERM" in

View File

@ -27,3 +27,7 @@ if [ "$OSTYPE" = "linux-gnu" ] ; then
fi
[ -d "$HOME/temp" ] && export TEMP="$HOME/temp"
## This env variable is used by some programs (like ranger and awesome) to get
## terminal executable name.
export TERMCMD="urxvt"