default and exmaple config
This commit is contained in:
parent
668de5cba6
commit
bcfdfdcdc8
10 changed files with 48 additions and 6 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -278,4 +278,5 @@ nvim/lua/plugins/example.lua
|
|||
cvim/
|
||||
!cvim/vimrc
|
||||
tailscale/
|
||||
X11/init.d/
|
||||
X11/xinit/xinitrc.d/
|
||||
*.bak
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
# `/etc/X11/xinit/xinitrc`:
|
||||
#
|
||||
# #!/bin/sh
|
||||
# if [ -f ~/.config/X11/xinitrc ] ; then
|
||||
# . ~/.config/X11/xinitrc
|
||||
# if [ -f ~/.config/X11/xinit/xinitrc ] ; then
|
||||
# . ~/.config/X11/xinit/xinitrc
|
||||
# else
|
||||
# . /etc/X11/Xsession
|
||||
# fi
|
||||
|
|
@ -37,8 +37,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|||
unset f
|
||||
fi
|
||||
|
||||
if [ -d ~/.config/X11/init.d ] ; then
|
||||
for f in ~/.config/X11/init.d/?*.sh ; do
|
||||
if [ -d ~/.config/X11/xinit/xinitrc.d ] ; then
|
||||
for f in ~/.config/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
|
|
@ -9,3 +9,5 @@ rnote: com.github.flxzt.rnote
|
|||
kalgebra: org.kde.kalgebra
|
||||
steam: com.valvesoftware.Steam
|
||||
flatseal: com.github.tchx84.Flatseal
|
||||
loupe: org.gnome.Loupe
|
||||
citations: org.gnome.World.Citations
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ zbar-tools
|
|||
trash-cli
|
||||
xdotool
|
||||
unzip
|
||||
imagemagick
|
||||
tmux
|
||||
|
||||
# Appearance
|
||||
gnome-themes-extra
|
||||
|
|
@ -59,6 +61,7 @@ gnome-themes-extra
|
|||
build-essential
|
||||
git
|
||||
lazygit
|
||||
golang
|
||||
|
||||
# Extra
|
||||
flatpak
|
||||
|
|
|
|||
22
scripts/setup/setup-docker-debian
Executable file
22
scripts/setup/setup-docker-debian
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
# See:
|
||||
# https://docs.docker.com/engine/install/debian/
|
||||
|
||||
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove -y $pkg; done
|
||||
|
||||
# Add Docker's official GPG key:
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y ca-certificates curl
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
# Add the repository to Apt sources:
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
14
scripts/setup/setup-lazyvim
Executable file
14
scripts/setup/setup-lazyvim
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# required
|
||||
mv ~/.config/nvim{,.bak}
|
||||
|
||||
# optional but recommended
|
||||
mv ~/.local/share/nvim{,.bak}
|
||||
mv ~/.local/state/nvim{,.bak}
|
||||
mv ~/.cache/nvim{,.bak}
|
||||
|
||||
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
||||
rm -rf ~/.config/nvim/.git
|
||||
|
||||
git -C ~/.config restore nvim
|
||||
|
|
@ -17,7 +17,7 @@ export \
|
|||
XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" \
|
||||
MBSYNCRC="$XDG_CONFIG_HOME/isync/mbsyncrc" \
|
||||
XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" \
|
||||
XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" \
|
||||
XINITRC="$XDG_CONFIG_HOME/X11/xinit/xinitrc" \
|
||||
LESSHISTFILE="$XDG_DATA_HOME/lesshst" \
|
||||
ELECTRUMDIR="$XDG_DATA_HOME/electrum" \
|
||||
CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue