Initial commit

This commit is contained in:
datalore 2024-07-26 17:01:46 +02:00
commit 3898822673
7 changed files with 66 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# alpine-setup
Just a bunch of utility scripts for my alpine setups.

3
system/installadditions.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
apk add bash zoxide neovim eza bat

13
system/installbasics.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# RUN AFTER DESKTOP SETUP!
apk add doas dbus dbus-x11 elogind polkit-elogind xfce-polkit
rc-update add dbus
rc-update add elogind
service dbus start
service elogind start
echo "Done. Remember configuring doas!"

13
system/installthemes.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
cd /usr/share/icons/
wget https://github.com/EliverLara/candy-icons/archive/refs/heads/master.zip
unzip master.zip
rm master.zip
cd /usr/share/themes/
wget https://github.com/EliverLara/Sweet/releases/download/latest/Sweet-Dark-v40.tar.xz
tar xf Sweet-Dark-v40.tar.xz
rm Sweet-Dark-v40.tar.xz
echo "Themes installed. Configuration has to be done manually."

5
user/bashrc Normal file
View File

@ -0,0 +1,5 @@
alias ls="eza --icons"
alias ll="ls -lga --header"
alias tree="ls -T"
alias cat="bat -S"
eval "$(zoxide init --cmd cd bash)"

23
user/init.lua Normal file
View File

@ -0,0 +1,23 @@
-- deactivating netrw as it conflicts with nvim-tree
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
vim.fn.system{'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup {
"xiyaowong/transparent.nvim",
{"willothy/nvim-cokeline", dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons"
}, config = true},
{"nvim-tree/nvim-tree.lua", dependencies = {
"nvim-tree/nvim-web-devicons"
}}
}
require("nvim-tree").setup()

6
user/setupadditions.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
chsh /bin/bash
cp bashrc ~/.bashrc
mkdir -p ~/.config/nvim
cp init.lua ~/.config/nvim/