Initial commit
This commit is contained in:
commit
3898822673
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# alpine-setup
|
||||||
|
|
||||||
|
Just a bunch of utility scripts for my alpine setups.
|
3
system/installadditions.sh
Executable file
3
system/installadditions.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
apk add bash zoxide neovim eza bat
|
13
system/installbasics.sh
Executable file
13
system/installbasics.sh
Executable 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
13
system/installthemes.sh
Executable 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
5
user/bashrc
Normal 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
23
user/init.lua
Normal 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
6
user/setupadditions.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
chsh /bin/bash
|
||||||
|
cp bashrc ~/.bashrc
|
||||||
|
mkdir -p ~/.config/nvim
|
||||||
|
cp init.lua ~/.config/nvim/
|
Loading…
Reference in New Issue
Block a user