From f218ecde7758571c09fa1cc93c5d2faf648a2e6c Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 16 Jul 2022 12:02:19 -0700 Subject: [PATCH] Added utility files and fixed a few bugs --- .editorconfig | 15 +++++++++++++++ .vscode/settings.json | 14 ++++++++++++++ binds/desktop/screenshot.lua | 1 - wrapper/volume.lua | 2 +- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .editorconfig create mode 100644 .vscode/settings.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7659747 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..39bc7da --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "Lua.diagnostics.globals": [ + "user_vars", + "modkey", + "root", + "awesome", + "client", + "screen", + "mouse", + "double_click_timer", + "vim", + "lspSymbol" + ] +} diff --git a/binds/desktop/screenshot.lua b/binds/desktop/screenshot.lua index d9c38e9..1b7db46 100755 --- a/binds/desktop/screenshot.lua +++ b/binds/desktop/screenshot.lua @@ -21,4 +21,3 @@ return gears.table.join( } ) ) - diff --git a/wrapper/volume.lua b/wrapper/volume.lua index 7802165..394a84a 100755 --- a/wrapper/volume.lua +++ b/wrapper/volume.lua @@ -55,7 +55,7 @@ end function volume.commands:watch(timeout, callback, widget) awful.widget.watch( "pamixer --get-mute --get-volume " .. volume.pamixer_options, - timeout, scallback, widget + timeout, callback, widget ) end