<commit_before>local module = {
--[=[
    _NAME        = 'applicationMenu.lua',
    _VERSION     = '0.1',
    _URL         = 'https://github.com/asmagill/hammerspoon-config',
    _DESCRIPTION = [[ applicationMenu to replace XMenu and the like ]],
    _TODO        = [[]],
    _LICENSE     = [[ See README.md ]]
--]=]
}

local fileListMenu = require("utils.fileListMenu")

local appMenu = fileListMenu.new("Apps") ;
--
-- the commented out lines are actually in the defaults, included here just for completness
-- in case change desired:
--
--appMenu:showForMenu("icon")
--appMenu:menuCriteria("^([^/]+)%.app$")    -- allow function/table for matches?
--appMenu:actionFunction(function(x) hs.application.launchOrFocus(x) end)
--appMenu:rootDirectory("/Applications")
appMenu:menuIcon("ASCII:....................\n"..
                       "....1...4...........\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "B..................A\n"..
                       "...8............9...\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....2...........5...\n"..
                       "....................\n"..
                       "......3.........6...\n"..
                       "....................")
appMenu:subFolders("before")
appMenu:activate()

return appMenu<commit_msg>better looking slant to icon<commit_after>local module = {
--[=[
    _NAME        = 'applicationMenu.lua',
    _VERSION     = '0.1',
    _URL         = 'https://github.com/asmagill/hammerspoon-config',
    _DESCRIPTION = [[ applicationMenu to replace XMenu and the like ]],
    _TODO        = [[]],
    _LICENSE     = [[ See README.md ]]
--]=]
}

local fileListMenu = require("utils.fileListMenu")

local appMenu = fileListMenu.new("Apps") ;
--
-- the commented out lines are actually in the defaults, included here just for completness
-- in case change desired:
--
--appMenu:showForMenu("icon")
--appMenu:menuCriteria("^([^/]+)%.app$")    -- allow function/table for matches?
--appMenu:actionFunction(function(x) hs.application.launchOrFocus(x) end)
--appMenu:rootDirectory("/Applications")

-- Think I like this slant better
appMenu:menuIcon("ASCII:....................\n"..
                       "............1..4....\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "B..................A\n"..
                       "...8............9...\n"..
                       "....................\n"..
                       "....................\n"..
                       "....................\n"..
                       "...2...........5....\n"..
                       "....................\n"..
                       "...3..........6.....\n"..
                       "....................")
appMenu:subFolders("before")
appMenu:activate()

return appMenu
{'fraction_non_alphanumeric': 0.33601717659688674, 'fraction_numerical': 0.005367686527106817, 'mean_word_length': 0.7072835547411819, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '105378', 'n_tokens_mistral': 923, 'n_tokens_neox': 864, 'n_words': 163}