summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-06-02 16:45:50 +0200
committerache <ache@ache.one>2018-06-02 16:45:50 +0200
commitc69c0f76536b124862e8f1b24a3b8ce0fb4d2fe5 (patch)
tree8c3f1b9df3aeef7b54557fea7ff5c677c3143021
parentFix detection of Wifi (diff)
Security feature
-rw-r--r--rc.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.lua b/rc.lua
index ccfe162..16ee800 100644
--- a/rc.lua
+++ b/rc.lua
@@ -65,9 +65,9 @@ modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
+ lain.layout.uselessfairnogap, --3
awful.layout.suit.tile, --1
lain.layout.uselesspiral, --2
- lain.layout.uselessfairnogap, --3
}
-- }}}
@@ -325,7 +325,7 @@ function act()
myemailwidget:set_text ( "📧" )
naughty.notify({ preset = naughty.config.presets.normal,
title = "T'as un email",
- text = "Hey mec ! e-mail !" })
+ text = string.gsub(res, "\n", "") .. " new mails !" })
end
end)
@@ -617,9 +617,9 @@ awful.key({ modkey, "Shift" }, "s", hotkeys_popup.show_help, {descriptio
{description = "Switch wallpaper", group = "awesome"}),
awful.key({ modkey, "Control" }, "w", function () act() end,
{description = "Actualise Wibox", group = "awesome"}),
- awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("passmenu") end,
+ awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("passmenu --type") end,
{description = "Passwd promt", group = "awesome"}),
- awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("xscreensaver-command --lock") end,
+ awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("loock") end,
{description = "Lock screen", group = "awesome"}),
-- Layout manipulation