mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
whitespaces cleaning
This commit is contained in:
parent
a8cc5234bc
commit
31098b473a
|
@ -10,9 +10,9 @@
|
||||||
|
|
||||||
-- Grab environment
|
-- Grab environment
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
local table = table
|
local table = table
|
||||||
local capi = {
|
local capi = {
|
||||||
screen = screen,
|
screen = screen,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@ module("eminent")
|
||||||
-- Grab the original functions we're replacing
|
-- Grab the original functions we're replacing
|
||||||
local deflayout = nil
|
local deflayout = nil
|
||||||
local orig = {
|
local orig = {
|
||||||
new = awful.tag.new,
|
new = awful.tag.new,
|
||||||
taglist = awful.widget.taglist.new,
|
taglist = awful.widget.taglist.new,
|
||||||
filter = awful.widget.taglist.filter.all,
|
filter = awful.widget.taglist.filter.all,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Return tags with stuff on them, mark others hidden
|
-- Return tags with stuff on them, mark others hidden
|
||||||
|
|
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit 95c019cb253f824014a55c48a82b13d8f280bdb5
|
Subproject commit e1450f8828c1be4e290cec0a34538ebe6cb86b50
|
|
@ -5,20 +5,20 @@
|
||||||
-- @release v3.5.5
|
-- @release v3.5.5
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local menu_gen = require("menubar.menu_gen")
|
local menu_gen = require("menubar.menu_gen")
|
||||||
local menu_utils = require("menubar.utils")
|
local menu_utils = require("menubar.utils")
|
||||||
local pairs = pairs
|
local pairs = pairs
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local table = table
|
local table = table
|
||||||
local string = string
|
local string = string
|
||||||
local next = next
|
local next = next
|
||||||
|
|
||||||
module("menugen")
|
module("menugen")
|
||||||
|
|
||||||
--Built in menubar should be checking local applications directory
|
-- Built in menubar should be checking local applications directory
|
||||||
menu_gen.all_menu_dirs = { '/usr/share/applications/', '/usr/local/share/applications/', '~/.local/share/applications' }
|
menu_gen.all_menu_dirs = { '/usr/share/applications/', '/usr/local/share/applications/', '~/.local/share/applications' }
|
||||||
|
|
||||||
--Expecting an wm_name of awesome omits too many applications and tools
|
-- Expecting an wm_name of awesome omits too many applications and tools
|
||||||
menu_utils.wm_name = ""
|
menu_utils.wm_name = ""
|
||||||
|
|
||||||
-- Use MenuBar Parsing Utils to build StartMenu for Awesome
|
-- Use MenuBar Parsing Utils to build StartMenu for Awesome
|
||||||
|
@ -53,10 +53,8 @@ function build_menu()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--Sort Categories Alphabetically Also
|
-- Sort Categories Alphabetically Also
|
||||||
table.sort(result, function(a,b) return string.byte(a[1]) < string.byte(b[1]) end)
|
table.sort(result, function(a,b) return string.byte(a[1]) < string.byte(b[1]) end)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|
||||||
-- Grab environment
|
-- Grab environment
|
||||||
local pairs = pairs
|
local pairs = pairs
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
local setmetatable = setmetatable
|
local setmetatable = setmetatable
|
||||||
local capi = {
|
local capi = {
|
||||||
mouse = mouse,
|
mouse = mouse,
|
||||||
client = client,
|
client = client,
|
||||||
screen = screen
|
screen = screen
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
Loading…
Reference in a new issue