mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 07:40:27 +01:00
Merge branch 'master' of codeberg.org:diginaut/dotfiles
This commit is contained in:
19
.config/direnv/direnvrc
Normal file
19
.config/direnv/direnvrc
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
layout_uv() {
|
||||||
|
if [[ -d ".venv" ]]; then
|
||||||
|
VIRTUAL_ENV="$(pwd)/.venv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $VIRTUAL_ENV || ! -d $VIRTUAL_ENV ]]; then
|
||||||
|
log_status "No virtual environment exists. Executing \`uv venv\` to create one."
|
||||||
|
uv venv
|
||||||
|
VIRTUAL_ENV="$(pwd)/.venv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d ".venv/bin" ]; then
|
||||||
|
PATH_add .venv/bin
|
||||||
|
elif [ -d ".venv/Scripts" ]; then
|
||||||
|
PATH_add .venv/Scripts
|
||||||
|
fi
|
||||||
|
export UV_ACTIVE=1 # or VENV_ACTIVE=1
|
||||||
|
export VIRTUAL_ENV
|
||||||
|
}
|
||||||
2
.config/environment.d/kde_plasma.conf
Normal file
2
.config/environment.d/kde_plasma.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# https://www.reddit.com/r/linux_gaming/comments/1ohgzch/if_you_have_kde_65_you_def_want_to_into_enabling/
|
||||||
|
KWIN_USE_OVERLAYS=1
|
||||||
95
.local/share/konsole/diginaut.colorscheme
Normal file
95
.local/share/konsole/diginaut.colorscheme
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
[Background]
|
||||||
|
Color=0,0,0
|
||||||
|
|
||||||
|
[BackgroundFaint]
|
||||||
|
Color=0,0,1
|
||||||
|
|
||||||
|
[BackgroundIntense]
|
||||||
|
Color=68,68,69
|
||||||
|
|
||||||
|
[Color0]
|
||||||
|
Color=35,35,35
|
||||||
|
|
||||||
|
[Color0Faint]
|
||||||
|
Color=35,35,35
|
||||||
|
|
||||||
|
[Color0Intense]
|
||||||
|
Color=68,68,68
|
||||||
|
|
||||||
|
[Color1]
|
||||||
|
Color=255,0,15
|
||||||
|
|
||||||
|
[Color1Faint]
|
||||||
|
Color=255,0,15
|
||||||
|
|
||||||
|
[Color1Intense]
|
||||||
|
Color=255,39,64
|
||||||
|
|
||||||
|
[Color2]
|
||||||
|
Color=140,225,11
|
||||||
|
|
||||||
|
[Color2Faint]
|
||||||
|
Color=140,225,11
|
||||||
|
|
||||||
|
[Color2Intense]
|
||||||
|
Color=171,225,91
|
||||||
|
|
||||||
|
[Color3]
|
||||||
|
Color=255,185,0
|
||||||
|
|
||||||
|
[Color3Faint]
|
||||||
|
Color=255,185,0
|
||||||
|
|
||||||
|
[Color3Intense]
|
||||||
|
Color=255,210,66
|
||||||
|
|
||||||
|
[Color4]
|
||||||
|
Color=0,141,248
|
||||||
|
|
||||||
|
[Color4Faint]
|
||||||
|
Color=0,141,248
|
||||||
|
|
||||||
|
[Color4Intense]
|
||||||
|
Color=0,146,255
|
||||||
|
|
||||||
|
[Color5]
|
||||||
|
Color=109,67,166
|
||||||
|
|
||||||
|
[Color5Faint]
|
||||||
|
Color=109,67,166
|
||||||
|
|
||||||
|
[Color5Intense]
|
||||||
|
Color=154,95,235
|
||||||
|
|
||||||
|
[Color6]
|
||||||
|
Color=0,216,235
|
||||||
|
|
||||||
|
[Color6Faint]
|
||||||
|
Color=0,216,235
|
||||||
|
|
||||||
|
[Color6Intense]
|
||||||
|
Color=103,255,240
|
||||||
|
|
||||||
|
[Color7]
|
||||||
|
Color=255,255,255
|
||||||
|
|
||||||
|
[Color7Faint]
|
||||||
|
Color=255,255,255
|
||||||
|
|
||||||
|
[Color7Intense]
|
||||||
|
Color=255,255,255
|
||||||
|
|
||||||
|
[Foreground]
|
||||||
|
Color=255,250,244
|
||||||
|
|
||||||
|
[ForegroundFaint]
|
||||||
|
Color=255,250,244
|
||||||
|
|
||||||
|
[ForegroundIntense]
|
||||||
|
Color=255,250,244
|
||||||
|
|
||||||
|
[General]
|
||||||
|
Description=Diginaut
|
||||||
|
#Opacity=0.93
|
||||||
|
Wallpaper=
|
||||||
|
|
||||||
43
install.sh
43
install.sh
@@ -1,29 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# inspired by rrix' dotfiles
|
# inspired by rrix' dotfiles
|
||||||
|
|
||||||
install_hg()
|
|
||||||
{
|
|
||||||
# Mercurial extensions
|
|
||||||
touch "${HOME}/.dot_has_hg"
|
|
||||||
HGDIR="${HOME}/workspace/application_addons/mercurial"
|
|
||||||
mkdir -p $HGDIR
|
|
||||||
cd $HGDIR || exit
|
|
||||||
|
|
||||||
for REPO in Mekk/mercurial_keyring sjl/hg-prompt durin42/hg-git yujiewu/hgflow
|
|
||||||
do
|
|
||||||
REPODIR="${REPO##*/}"
|
|
||||||
echo $REPODIR
|
|
||||||
if [ ! -d "$HGDIR/$REPODIR" ]; then
|
|
||||||
hg clone http://bitbucket.org/$REPO
|
|
||||||
#echo http://bitbucket.org/$REPO
|
|
||||||
else
|
|
||||||
cd $HGDIR/$REPODIR || exit
|
|
||||||
#echo $HGDIR/$REPODIR
|
|
||||||
hg pull -u
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
install_fish()
|
install_fish()
|
||||||
{
|
{
|
||||||
touch ~/.dot/.dot_has_fish
|
touch ~/.dot/.dot_has_fish
|
||||||
@@ -85,8 +62,11 @@ DATETIME=$(date +%Y%m%d_%H%M)
|
|||||||
# Go home
|
# Go home
|
||||||
cd || exit
|
cd || exit
|
||||||
|
|
||||||
|
# We need this config (sub)dir to exist for the symlink
|
||||||
|
mkdir -p .config/direnv
|
||||||
|
|
||||||
# Symlink all the things
|
# Symlink all the things
|
||||||
for TARGET in .bash_aliases .bashrc bin .gitconfig .gitignore_global .gitmodules .hgauthors.txt .hgignore .hgrc .ideavimrc .ignore .screenrc .terminfo .tmux.conf .vim .vimrc install.sh
|
for TARGET in .bash_aliases .bashrc bin .gitconfig .gitignore_global .gitmodules .hgauthors.txt .hgignore .hgrc .ideavimrc .ignore .screenrc .terminfo .tmux.conf .vim .vimrc install.sh .config/direnv/direnvrc
|
||||||
do
|
do
|
||||||
make_link $DIR $TARGET
|
make_link $DIR $TARGET
|
||||||
done
|
done
|
||||||
@@ -102,21 +82,8 @@ if [ ! -d "${HOME}/.vim/autoload/plug.vim" ]; then
|
|||||||
vim
|
vim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [ -e ~/.dot_has_hg ]; then
|
|
||||||
# install_hg
|
|
||||||
#elif [ ! -e ~/.dot_no_hg ]; then
|
|
||||||
# echo
|
|
||||||
# echo "Do you wish to install mercurial stuff?"
|
|
||||||
# select yn in "Yes" "No"; do
|
|
||||||
# case $yn in
|
|
||||||
# Yes ) install_hg; break;;
|
|
||||||
# No ) touch ~/.dot_no_hg; break;;
|
|
||||||
# esac
|
|
||||||
# done
|
|
||||||
#fi
|
|
||||||
|
|
||||||
if [ -e ~/.dot/.dot_has_fish ]; then
|
if [ -e ~/.dot/.dot_has_fish ]; then
|
||||||
install_hg
|
install_fish
|
||||||
elif [ ! -e ~/.dot/.dot_no_fish ]; then
|
elif [ ! -e ~/.dot/.dot_no_fish ]; then
|
||||||
echo
|
echo
|
||||||
echo "Do you wish to install fish shell configuration?"
|
echo "Do you wish to install fish shell configuration?"
|
||||||
|
|||||||
Reference in New Issue
Block a user