Added utility files and fixed a few bugs
parent
dc4eba2266
commit
f218ecde77
|
@ -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
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"Lua.diagnostics.globals": [
|
||||||
|
"user_vars",
|
||||||
|
"modkey",
|
||||||
|
"root",
|
||||||
|
"awesome",
|
||||||
|
"client",
|
||||||
|
"screen",
|
||||||
|
"mouse",
|
||||||
|
"double_click_timer",
|
||||||
|
"vim",
|
||||||
|
"lspSymbol"
|
||||||
|
]
|
||||||
|
}
|
|
@ -21,4 +21,3 @@ return gears.table.join(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue