From 269c47f6dd4451d37e51a6fbefab31b3e4b7b451 Mon Sep 17 00:00:00 2001 From: Toma Adrian Ionut Date: Sun, 20 Nov 2022 11:30:37 +0200 Subject: [PATCH] split settings --- themes/vertex/keybindings.lua | 4 ++-- themes/vertex/settings.lua | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/themes/vertex/keybindings.lua b/themes/vertex/keybindings.lua index 1f9635c..461f4ba 100644 --- a/themes/vertex/keybindings.lua +++ b/themes/vertex/keybindings.lua @@ -9,7 +9,7 @@ local keybindings = { } -function keybindings.get_globalkeys(mytable, modkey, altkey, cycle_prev, browser, terminal, _G) +function keybindings.get_global_keys(mytable, modkey, altkey, cycle_prev, browser, terminal) local globalkeys = mytable.join(-- Destroy all notifications awful.key({ "Control", "Shift" }, "Escape", function() naughty.destroy_all_notifications() @@ -459,7 +459,7 @@ function keybindings.get_globalkeys(mytable, modkey, altkey, cycle_prev, browser return globalkeys end -function keybindings.get_userkeys(mytable, awful, lain, altkey, modkey) +function keybindings.get_user_keys(mytable, awful, lain, altkey, modkey) -- User hey bindings local clientkeys = mytable.join(awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client, { description = "magnify client", diff --git a/themes/vertex/settings.lua b/themes/vertex/settings.lua index e720349..36f9cfe 100644 --- a/themes/vertex/settings.lua +++ b/themes/vertex/settings.lua @@ -1,4 +1,26 @@ local settings = { + themes = { + "powerarrow-dark", -- 1 DEFAULT + "vertex", -- 2 + }, + + modkey = "Mod4", + altkey = "Mod1", + + -- Pref browser + terminal = "alacritty", + + vi_focus = false, -- vi-like client focus https://github.com/lcpz/awesome-copycats/issues/275 + cycle_prev = true, -- cycle with only the previously focused client or all https://github.com/lcpz/awesome-copycats/issues/274 + + -- Pref editor + editor = "nvim", + + -- Pref browser + browser = "librewolf", + + -- Bluetooth + BLUESTATUS = false, } return settings