Awesome: fixed moving floating clients.

Awesome: added previous/next shortcuts for multi-screens.
Emacs: removed T1 font encoding from default.
Homeinit: fixed 'task' symlink creation.
master
Ambrevar 2012-08-02 11:59:35 +01:00
parent 83e02e9b65
commit 77bf865784
7 changed files with 34 additions and 12 deletions

View File

@ -31,6 +31,7 @@ cryptsetup
ctags
cups
cyrus-sasl
dash
device-mapper
d-feet
dhcpcd

View File

@ -50,6 +50,7 @@ cups-filters
curl
cyrus-sasl
damageproto
dash
db
dbus
dbus-core

View File

@ -388,13 +388,9 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Mod1" }, "Up", function () awful.client.incwfact(0.05) end),
awful.key({ modkey, "Mod1" }, "Down", function () awful.client.incwfact(-0.05) end),
-- Floating clients move and resize
-- Floating clients resize
awful.key({ modkey , "Mod1"}, "j", function () awful.client.moveresize( 20, 20, -40, -40) end),
awful.key({ modkey , "Mod1"}, "k", function () awful.client.moveresize(-20, -20, 40, 40) end),
awful.key({ modkey }, "j", function () awful.client.moveresize( 0, 20, 0, 0) end),
awful.key({ modkey }, "k", function () awful.client.moveresize( 0, -20, 0, 0) end),
awful.key({ modkey }, "h", function () awful.client.moveresize(-20, 0, 0, 0) end),
awful.key({ modkey }, "l", function () awful.client.moveresize( 20, 0, 0, 0) end),
-- Layout organization
awful.key({ modkey, "Control" }, "Left", function () awful.tag.incnmaster( 1) end),
@ -405,6 +401,10 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
-- Multi screen
awful.key({ modkey, "Mod1" }, "Next", function () awful.screen.focus_relative( 1) end),
awful.key({ modkey, "Mod1" }, "Prior", function () awful.screen.focus_relative(-1) end),
-- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
@ -429,6 +429,13 @@ clientkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
-- Floating clients move
awful.key({ modkey }, "j", function () awful.client.moveresize( 0, 20, 0, 0) end),
awful.key({ modkey }, "k", function () awful.client.moveresize( 0, -20, 0, 0) end),
awful.key({ modkey }, "h", function () awful.client.moveresize(-20, 0, 0, 0) end),
awful.key({ modkey }, "l", function () awful.client.moveresize( 20, 0, 0, 0) end),
-- awful.key({ modkey, }, "n",
-- function (c)
-- -- The client currently has the input focus, so it cannot be

View File

@ -9,7 +9,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% \usepackage[T1]{fontenc}
% \usepackage{lmodern}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

View File

@ -17,18 +17,18 @@
SOURCEDIR="${HOME}/Dropbox/Personal"
## Mutt
echo "=> Mutt"
echo "==> Mutt"
[ ! -e ~/.mutt ] && ln -s "${SOURCEDIR}/MAILS" "${HOME}/.mutt"
mkdir -p "${HOME}/.mutt.d/hcache"
echo
## Taskwarrior
echo "=> Taskwarrior"
[ ! -e ~/.mutt ] && ln -s "${SOURCEDIR}/TODO" "~/.task"
echo "==> Taskwarrior"
[ ! -e ~/.task ] && ln -s "${SOURCEDIR}/TODO" "~/.task"
echo
## Awesome
echo "=> Awesome"
echo "==> Awesome"
THEME_DEST="${HOME}/.config/awesome/themes/custom"
THEME_SOURCE="/usr/share/awesome/themes/default/"
if [ ! -e ${THEME_DEST} ]; then
@ -37,7 +37,7 @@ fi
echo
## Luakit -- Fetch Adblock list.
echo "=> Luakit"
echo "==> Luakit"
mkdir -p "$XDG_DATA_HOME/luakit"
wget 'https://easylist-downloads.adblockplus.org/easylist.txt' -O "$XDG_DATA_HOME/luakit/easylist.txt"

View File

@ -788,7 +788,7 @@ if [ -f "/usr/bin/pacman" ]; then
_pacman_set_vars
RESULT=$(eval "${CMD} $@ 2>/dev/null" | awk -F "$SEP" -v filter="$pacman_size" -v pkg="$pacman_name" \
RESULT=$(eval "${CMD} $@" | awk -F "$SEP" -v filter="$pacman_size" -v pkg="$pacman_name" \
'$0 ~ pkg {pkgname=$2} $0 ~ filter {gsub(/\..*/,"") ; printf("%6s KiB %s\n", $2, pkgname)}' | eval "$SORT" | eval "$SORT_SIZE")
echo "$RESULT"

13
README
View File

@ -134,6 +134,19 @@ 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.
################################################################################
Known issues
************
Emacs: some colors do not work as intended.
Ranger: if editor is 'emacsclient -t -a""', it will not show up if emacs daemon
is not running.
Shell: some custom functions would need auto-completion.
Zathura: app will hang forever sometimes (document being regenerated).
################################################################################
Complete applist
****************