Merge branch 'main' of git.snaile.de:luca/dotfiles
This commit is contained in:
commit
d1f134cd3a
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
gitlab.tralios.de: 'gitlab:gitlab.tralios.de'
|
||||
git.snaile.de: 'gitea:git.snaile.de'
|
||||
gitlab.tralios.de: "gitlab:gitlab.tralios.de"
|
||||
git.snaile.de: "gitea:git.snaile.de"
|
||||
gui:
|
||||
nerdFontsVersion: "3"
|
||||
showRandomTip: false
|
||||
|
|
|
@ -16,7 +16,7 @@ require("lazy").setup({
|
|||
spec = {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
import = "lazyvim.plugins"
|
||||
import = "lazyvim.plugins",
|
||||
},
|
||||
{ import = "lazyvim.plugins.extras.coding.yanky" },
|
||||
{ import = "lazyvim.plugins.extras.coding.copilot" },
|
||||
|
|
|
@ -80,30 +80,30 @@ M.banners = {
|
|||
|
||||
---@type Array<table>
|
||||
M.buttons = {
|
||||
-- {
|
||||
-- action = LazyVim.telescope("files"),
|
||||
-- desc = " Find File" .. string.rep(" ", 33),
|
||||
-- icon = " ",
|
||||
-- key = "f",
|
||||
-- },
|
||||
{
|
||||
action = LazyVim.telescope("files"),
|
||||
desc = " Find File" .. string.rep(" ", 33),
|
||||
icon = " ",
|
||||
key = "f",
|
||||
},
|
||||
{
|
||||
action = "ene | startinsert",
|
||||
action = "enew",
|
||||
desc = " New File" .. string.rep(" ", 34),
|
||||
icon = " ",
|
||||
key = "n",
|
||||
},
|
||||
{
|
||||
action = "Telescope live_grep",
|
||||
desc = " Find Text" .. string.rep(" ", 33),
|
||||
icon = " ",
|
||||
key = "g",
|
||||
},
|
||||
{
|
||||
action = "TodoTelescope",
|
||||
desc = " Find Todo" .. string.rep(" ", 33),
|
||||
icon = " ",
|
||||
key = "t",
|
||||
},
|
||||
-- {
|
||||
-- action = "Telescope live_grep",
|
||||
-- desc = " Find Text" .. string.rep(" ", 33),
|
||||
-- icon = " ",
|
||||
-- key = "g",
|
||||
-- },
|
||||
-- {
|
||||
-- action = "TodoTelescope",
|
||||
-- desc = " Find Todo" .. string.rep(" ", 33),
|
||||
-- icon = " ",
|
||||
-- key = "t",
|
||||
-- },
|
||||
{
|
||||
action = 'lua require("persistence").load()',
|
||||
desc = " Restore Session" .. string.rep(" ", 27),
|
||||
|
|
|
@ -35,7 +35,7 @@ return {
|
|||
button.key_format = " %s"
|
||||
end
|
||||
math.randomseed(os.time())
|
||||
local banner = "\n\n" .. banners[math.random(#banners)] .. "\n\n"
|
||||
local banner = "\n" .. banners[math.random(#banners)] .. "\n"
|
||||
opts.config.header = vim.split(banner, "\n")
|
||||
opts.config.center = center
|
||||
opts.config.footer = function()
|
||||
|
|
|
@ -1,16 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
script="sudo xbps-install -Su; pkill -RTMIN+8 dwmblocks"
|
||||
# script="sudo xbps-install -Su; pkill -RTMIN+8 dwmblocks"
|
||||
#
|
||||
# if [ -n "$TERM_PROGRAM" ]; then
|
||||
# sh -c "$script"
|
||||
# else
|
||||
# st -e sh -c "
|
||||
# $script
|
||||
# tput bold
|
||||
# tput setaf 4
|
||||
# echo 'All done!'
|
||||
# tput sgr 0
|
||||
# read -r _
|
||||
# "
|
||||
# fi
|
||||
|
||||
if [ -n "$TERM" ]; then
|
||||
sh -c "$script"
|
||||
else
|
||||
st -e sh -c "
|
||||
$script
|
||||
tput bold
|
||||
tput setaf 4
|
||||
echo 'All done!'
|
||||
tput sgr 0
|
||||
read -r _
|
||||
"
|
||||
fi
|
||||
sudo xbps-install -Su
|
||||
pkill -RTMIN+8 dwmblocks
|
||||
|
|
Loading…
Reference in New Issue