1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-22 21:45:11 +00:00

split settings

This commit is contained in:
Toma Adrian Ionut 2022-11-20 11:30:37 +02:00
parent 628ad2f713
commit 269c47f6dd
2 changed files with 24 additions and 2 deletions

View file

@ -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",

View file

@ -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