dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 97df564acd8a9602d44de3813002c2d146dfbba9
parent bf972a8835f726be10d6ff9521267ee1d24141bf
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 18 May 2014 11:04:35 -0700

Run awesome under gnome-session

Diffstat:
M.config/awesome/rc.lua | 4+++-
Aextras/usr/share/gnome-session/sessions/awesome.session | 4++++
Aextras/usr/share/xsessions/awesome-gnome.desktop | 9+++++++++
3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua @@ -229,12 +229,14 @@ globalkeys = awful.util.table.join( end), -- Standard program + awful.key({ modkey, }, "F11", function () awful.util.spawn("amixer set Master 3-") end), + awful.key({ modkey, }, "F12", function () awful.util.spawn("amixer set Master 3+") end), awful.key({ modkey, }, "Return",function () awful.util.spawn(terminal) end), awful.key({ modkey, }, "p", function () awful.util.spawn("dmenu_run") end), awful.key({ modkey, "Shift" }, "m", function () awful.util.spawn(terminal .. " -e mutt") end), awful.key({ modkey, "Shift" }, "i", function () awful.util.spawn(terminal .. " -e profanity") end), awful.key({ modkey, "Control" }, "r", awesome.restart), - awful.key({ modkey, "Shift" }, "q", awesome.quit), + awful.key({ modkey, "Shift" }, "q", function () awful.util.spawn("gnome-session-quit") end), awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end), awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end), diff --git a/extras/usr/share/gnome-session/sessions/awesome.session b/extras/usr/share/gnome-session/sessions/awesome.session @@ -0,0 +1,4 @@ +[GNOME Session] +Name=Awesome +RequiredComponents=unity-settings-daemon;awesome; +DesktopName=Awesome diff --git a/extras/usr/share/xsessions/awesome-gnome.desktop b/extras/usr/share/xsessions/awesome-gnome.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Awesome GNOME +Comment=Highly configurable framework window manager with GNOME integration +TryExec=awesome +Exec=gnome-session --session=awesome +Type=Application +X-LightDM-DesktopName=Awesome GNOME +X-Ubuntu-Gettext-Domain=gnome-session-3.0