From c69c0f76536b124862e8f1b24a3b8ce0fb4d2fe5 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 2 Jun 2018 16:45:50 +0200 Subject: Security feature --- rc.lua | 8 ++++---- 1 file 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 -- cgit v1.2.3