Compare commits
No commits in common. "67a4550224bd97e31aa2cc7323b92ad3604b1e38" and "b560cfdbcdee94df9e4420da0aaedae8e056e503" have entirely different histories.
67a4550224
...
b560cfdbcd
|
@ -26,9 +26,9 @@ local run_on_start_up = {
|
||||||
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
|
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
|
||||||
"xmodmap /home/user/.Xmodmap",
|
"xmodmap /home/user/.Xmodmap",
|
||||||
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
|
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
|
||||||
"sudo wg-quick up wg0"
|
|
||||||
-- "/opt/power/powersave.sh",
|
-- "/opt/power/powersave.sh",
|
||||||
-- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh"
|
-- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh"
|
||||||
|
"sudo wg-quick up wg0"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Define layouts
|
-- Define layouts
|
||||||
|
@ -54,16 +54,6 @@ for _, app in ipairs(run_on_start_up) do
|
||||||
awful.spawn.with_shell(string.format("echo 'pgrep -u $USER -x %s > /dev/null || (%s)' | bash -", findme, app), false)
|
awful.spawn.with_shell(string.format("echo 'pgrep -u $USER -x %s > /dev/null || (%s)' | bash -", findme, app), false)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Start timers
|
|
||||||
gears.timer {
|
|
||||||
timeout = 60,
|
|
||||||
call_now = true,
|
|
||||||
autostart = true,
|
|
||||||
callback = function()
|
|
||||||
awful.spawn.easy_async({"xmodmap", "/home/user/.Xmodmap"}) -- If not repeated it sometimes just stops working
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Import Keybinds
|
-- Import Keybinds
|
||||||
local keys = require("keys")
|
local keys = require("keys")
|
||||||
root.keys(keys.globalkeys)
|
root.keys(keys.globalkeys)
|
||||||
|
|
|
@ -16,8 +16,7 @@ Checks: "*,
|
||||||
-modernize-use-nodiscard
|
-modernize-use-nodiscard
|
||||||
-cppcoreguidelines-narrowing-conversions
|
-cppcoreguidelines-narrowing-conversions
|
||||||
-cppcoreguidelines-avoid-magic-numbers
|
-cppcoreguidelines-avoid-magic-numbers
|
||||||
-Wsign-compare
|
--Wsign-compare
|
||||||
-hicpp-uppercase-literal-suffix
|
|
||||||
-readability-uppercase-literal-suffix"
|
-readability-uppercase-literal-suffix"
|
||||||
WarningsAsErrors: ''
|
WarningsAsErrors: ''
|
||||||
HeaderFilterRegex: ''
|
HeaderFilterRegex: ''
|
||||||
|
|
|
@ -44,7 +44,7 @@ if $NVIM; then
|
||||||
$SUDO apt update
|
$SUDO apt update
|
||||||
$SUDO apt install -y software-properties-common
|
$SUDO apt install -y software-properties-common
|
||||||
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
|
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
|
||||||
$SUDO curl -sL https://deb.nodesource.com/setup_20.x | $SUDO bash -
|
$SUDO curl -sL https://deb.nodesource.com/setup_14.x | $SUDO bash -
|
||||||
$SUDO apt update
|
$SUDO apt update
|
||||||
$SUDO apt install -y $dependencies python3-venv nodejs
|
$SUDO apt install -y $dependencies python3-venv nodejs
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -11,7 +11,6 @@ local function should_load(path)
|
||||||
[3] = "build",
|
[3] = "build",
|
||||||
[4] = "third-party",
|
[4] = "third-party",
|
||||||
[5] = "sfml",
|
[5] = "sfml",
|
||||||
[6] = "TinyXML"
|
|
||||||
}
|
}
|
||||||
local match = {
|
local match = {
|
||||||
[1] = ".hpp",
|
[1] = ".hpp",
|
||||||
|
|
|
@ -6,7 +6,7 @@ if not hastelescope then
|
||||||
return M
|
return M
|
||||||
end
|
end
|
||||||
|
|
||||||
M.git_files = function()
|
M.project_files = function()
|
||||||
local opts = require('telescope.themes').get_ivy({})
|
local opts = require('telescope.themes').get_ivy({})
|
||||||
opts["show_untracked"] = true
|
opts["show_untracked"] = true
|
||||||
opts["layout_config"] = {height=0.2}
|
opts["layout_config"] = {height=0.2}
|
||||||
|
@ -15,12 +15,6 @@ M.git_files = function()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
M.project_files = function()
|
|
||||||
local opts = require('telescope.themes').get_ivy({})
|
|
||||||
opts["layout_config"] = {height=0.2}
|
|
||||||
require"telescope.builtin".find_files(opts)
|
|
||||||
end
|
|
||||||
|
|
||||||
M.buffers = function()
|
M.buffers = function()
|
||||||
local opts = require('telescope.themes').get_ivy({})
|
local opts = require('telescope.themes').get_ivy({})
|
||||||
opts["layout_config"] = {height=0.2}
|
opts["layout_config"] = {height=0.2}
|
||||||
|
@ -72,8 +66,8 @@ telescope.load_extension('fzf')
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>u", function() require("telescope").extensions.undo.undo() end, {noremap = true, silent = true})
|
vim.keymap.set("n", "<leader>u", function() require("telescope").extensions.undo.undo() end, {noremap = true, silent = true})
|
||||||
vim.keymap.set("n", "<C-p>", function() require('telescope_config').git_files() end, {noremap = true, silent = true})
|
vim.keymap.set("n", "<C-p>", function() require('telescope_config').project_files() end, {noremap = true, silent = true})
|
||||||
vim.keymap.set("n", "<C-O>", function() require('telescope_config').project_files() end, { silent = true, noremap = true })
|
vim.keymap.set("n", "<C-O>", function() require('telescope_config').buffers() end, { silent = true, noremap = true })
|
||||||
vim.keymap.set("n", "<C-f>", function() require('telescope.builtin').live_grep{ cwd = vim.fn.systemlist("git rev-parse --show-toplevel 2> /dev/null || pwd")[1] } end, { silent = true, noremap = true })
|
vim.keymap.set("n", "<C-f>", function() require('telescope.builtin').live_grep{ cwd = vim.fn.systemlist("git rev-parse --show-toplevel 2> /dev/null || pwd")[1] } end, { silent = true, noremap = true })
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue