From 1bfc731aec1c9b5a2bbb9962b145f3e88e8e882b Mon Sep 17 00:00:00 2001 From: Christophe Simon Date: Fri, 13 Sep 2013 10:52:18 +0200 Subject: [PATCH] Fixed libreoffice tag, and fullscreen command. --- Xsession | 1 + rc/keys.lua | 5 ++++- rc/naughty.lua | 2 +- rc/tags.awful.lua | 3 ++- widgets/net.lua | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Xsession b/Xsession index c100ed5..ff83592 100755 --- a/Xsession +++ b/Xsession @@ -33,6 +33,7 @@ export GPG_AGENT_INFO # Starts polkit dependant services /usr/bin/nm-applet & +/usr/bin/blueman-applet & # Starts urxvtd server /usr/bin/urxvtd -q -o -f diff --git a/rc/keys.lua b/rc/keys.lua index b1ecc95..5eae844 100644 --- a/rc/keys.lua +++ b/rc/keys.lua @@ -82,7 +82,10 @@ global_keys = awful.util.table.join( -- {{{ Client key bindings client_keys = awful.util.table.join( - awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end), + awful.key({ modkey, }, "f", function (c) + awful.client.floating.toggle(c) + c.fullscreen = not c.fullscreen + end), awful.key({ modkey }, "u", utils.client.togglemarked), -- marks client awful.key({ modkey, }, "q", function (c) c:kill() end), awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle), diff --git a/rc/naughty.lua b/rc/naughty.lua index 4facd3b..84f0b8a 100644 --- a/rc/naughty.lua +++ b/rc/naughty.lua @@ -1,6 +1,6 @@ -- Naughty configuration -naughty.config.defaults = { timeout = 10 } +naughty.config.defaults = { timeout = 45 } naughty.config.icon_dirs = { os.getenv("HOME") .. "/.config/awesome/icons/im/", "/usr/share/pixmaps/" } -- vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/rc/tags.awful.lua b/rc/tags.awful.lua index b3906c9..e6947a5 100644 --- a/rc/tags.awful.lua +++ b/rc/tags.awful.lua @@ -158,7 +158,8 @@ awful.rules.rules = { "libreoffice-calc", "libreoffice-impress", "libreoffice-base", - "libreoffice-math" } }, + "libreoffice-math", + "VCLSalFrame.DocumentWindow" } }, properties = { tag = tags[1][8]} }, -- Image tools diff --git a/widgets/net.lua b/widgets/net.lua index ac32f0e..e56026f 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -22,7 +22,7 @@ function widget() if _netwidget == nil then _netwidget = blingbling.net.new() _netwidget:set_height(18) - _netwidget:set_ippopup() + -- _netwidget:set_ippopup() _netwidget:set_show_text(true) _netwidget:set_v_margin(3) _netwidget:set_interface(utils.system.main_intf())