From 01aa8955da12581896d5c3cb2c26ee520bca1e95 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Thu, 13 Nov 2014 16:09:46 -0500 Subject: [PATCH] add xscreensaver lock and capslock map --- .config/awesome/rc.lua | 1 + .xinitrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 4a3aa49..8362a6c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -314,6 +314,7 @@ root.buttons(awful.util.table.join( -- {{{ Key bindings globalkeys = awful.util.table.join( + awful.key({ modkey }, "F12", function () awful.util.spawn("xscreensaver-command -lock") end), awful.key({ modkey, }, "Left", awful.tag.viewprev ), awful.key({ modkey, }, "Right", awful.tag.viewnext ), awful.key({ modkey, }, "Escape", awful.tag.history.restore), diff --git a/.xinitrc b/.xinitrc index 2e7b922..4895fb2 100644 --- a/.xinitrc +++ b/.xinitrc @@ -8,6 +8,7 @@ xscreensaver -no-splash & kupfer --no-splash & nm-applet & gnome-sound-applet & +setxkbmap -option ctrl:nocaps & synclient PalmDetect=1 exec awesome