Added utility files and fixed a few bugs

master
Mark 2022-07-16 12:02:19 -07:00
parent dc4eba2266
commit f218ecde77
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
4 changed files with 30 additions and 2 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
# Tabs
indent_style = tab
indent_size = 4
tab_width = 4
# Whitespace
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

14
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"Lua.diagnostics.globals": [
"user_vars",
"modkey",
"root",
"awesome",
"client",
"screen",
"mouse",
"double_click_timer",
"vim",
"lspSymbol"
]
}

View File

@ -21,4 +21,3 @@ return gears.table.join(
} }
) )
) )

View File

@ -55,7 +55,7 @@ end
function volume.commands:watch(timeout, callback, widget) function volume.commands:watch(timeout, callback, widget)
awful.widget.watch( awful.widget.watch(
"pamixer --get-mute --get-volume " .. volume.pamixer_options, "pamixer --get-mute --get-volume " .. volume.pamixer_options,
timeout, scallback, widget timeout, callback, widget
) )
end end