1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

whitespaces cleaning

This commit is contained in:
luke bonham 2015-07-03 12:17:54 +02:00
parent a8cc5234bc
commit 31098b473a
6 changed files with 26 additions and 28 deletions

View file

@ -10,9 +10,9 @@
-- Grab environment
local ipairs = ipairs
local awful = require("awful")
local table = table
local capi = {
local awful = require("awful")
local table = table
local capi = {
screen = screen,
}
@ -22,9 +22,9 @@ module("eminent")
-- Grab the original functions we're replacing
local deflayout = nil
local orig = {
new = awful.tag.new,
new = awful.tag.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

2
lain

@ -1 +1 @@
Subproject commit 95c019cb253f824014a55c48a82b13d8f280bdb5
Subproject commit e1450f8828c1be4e290cec0a34538ebe6cb86b50

View file

@ -5,20 +5,20 @@
-- @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 pairs = pairs
local ipairs = ipairs
local table = table
local string = string
local next = next
local pairs = pairs
local ipairs = ipairs
local table = table
local string = string
local next = next
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' }
--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 = ""
-- Use MenuBar Parsing Utils to build StartMenu for Awesome
@ -53,10 +53,8 @@ function build_menu()
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)
return result
end

View file

@ -24,11 +24,11 @@
-------------------------------------------------------------------
-- Grab environment
local pairs = pairs
local awful = require("awful")
local pairs = pairs
local awful = require("awful")
local setmetatable = setmetatable
local capi = {
mouse = mouse,
local capi = {
mouse = mouse,
client = client,
screen = screen
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB