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
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit 95c019cb253f824014a55c48a82b13d8f280bdb5
|
Subproject commit e1450f8828c1be4e290cec0a34538ebe6cb86b50
|
|
@ -15,10 +15,10 @@ 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
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
Loading…
Reference in a new issue