switch to full os library requirement; closes #242

This commit is contained in:
Luca CPZ 2018-10-16 16:28:46 +01:00
parent 1619d26ab9
commit de166423c9
9 changed files with 9 additions and 11 deletions

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,8 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { execute = os.execute, getenv = os.getenv, setlocale = os.setlocale }
local awesome, client = awesome, client
local awesome, client, os = awesome, client, os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,8 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local string = string
local os = { getenv = os.getenv }
local string, os = string, os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv, setlocale = os.setlocale }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os, math, string = os, math, string
local math, string, os = os, math, string, os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}

View File

@ -10,7 +10,7 @@ local lain = require("lain")
local awful = require("awful")
local wibox = require("wibox")
local os = { getenv = os.getenv }
local os = os
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
local theme = {}