From 7d658d84c44d6ce4e16c1dd06607402d5e7d2774 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 22 Sep 2017 08:57:00 +0200 Subject: different tab cycling --- config/awesome/cyclefocus/.luacheckrc | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 config/awesome/cyclefocus/.luacheckrc (limited to 'config/awesome/cyclefocus/.luacheckrc') diff --git a/config/awesome/cyclefocus/.luacheckrc b/config/awesome/cyclefocus/.luacheckrc new file mode 100644 index 0000000..8ee3bda --- /dev/null +++ b/config/awesome/cyclefocus/.luacheckrc @@ -0,0 +1,44 @@ +-- Only allow symbols available in all Lua versions +std = "min" + +-- Get rid of "unused argument self"-warnings +self = false + +-- The default config may set global variables +-- files["init.lua"].allow_defined_top = true + +-- This file itself +files[".luacheckrc"].ignore = {"111", "112", "131"} + +-- Global objects defined by the C code +read_globals = { + "awesome", + "button", + "client", + "dbus", + "drawable", + "drawin", + "key", + "keygrabber", + "mousegrabber", + "root", + "selection", + "tag", + "window", + -- Global settings. + "modkey", +} + +-- screen may not be read-only, because newer luacheck versions complain about +-- screen[1].tags[1].selected = true. +-- The same happens with the following code: +-- local tags = mouse.screen.tags +-- tags[7].index = 4 +-- client may not be read-only due to client.focus. +globals = { + "screen", + "mouse", + "client" +} + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 -- cgit v1.2.3