1
0
Fork 0
This commit is contained in:
zymon 2024-08-05 18:22:47 +02:00
parent f696ef42db
commit ceae5e25d2
4 changed files with 12 additions and 2 deletions

3
config/zsh/.zlogin Normal file
View file

@ -0,0 +1,3 @@
#!/bin/zsh
[ "$(TTY)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"

View file

@ -40,6 +40,11 @@ export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # it might break some dm # export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # it might break some dm
# Move it to independent GTK config
export GTK_THEME="Adwaita:dark"
# GNUCASH Finance::Quote
export ALPHAVANTAGE_API_KEY=UWSYHNQ9BNFU4ZFA
# This is the list for lf icons: # This is the list for lf icons:
export LF_ICONS="di=📁:\ export LF_ICONS="di=📁:\
fi=📃:\ fi=📃:\

View file

@ -18,6 +18,8 @@ zmodload zsh/complist
compinit -Cu compinit -Cu
_comp_options+=(globdots) # Include hidden files _comp_options+=(globdots) # Include hidden files
unsetopt extendedglob
bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char bindkey -M menuselect 'l' vi-forward-char

View file

@ -2,14 +2,14 @@
BASEDIR=$(pwd) BASEDIR=$(pwd)
source .zshenv source config/zsh/.zshenv
ln --force --symbolic $BASEDIR/.zshenv $HOME/.zshenv ln --force --symbolic $BASEDIR/.zshenv $HOME/.zshenv
mkdir -p "${XDG_CONFIG_HOME}" mkdir -p "${XDG_CONFIG_HOME}"
mkdir -p "${XDG_DATA_HOME}" mkdir -p "${XDG_DATA_HOME}"
INSTALL_CONFIGS=(dunst i3 i3blocks lf mpd picom redshift rofi tmux x11 zsh) INSTALL_CONFIGS=(dunst git i3 i3blocks lf mpd picom redshift rofi tmux x11 zsh)
for f in $INSTALL_CONFIGS ; do for f in $INSTALL_CONFIGS ; do
echo "Installing config for ${f}..." echo "Installing config for ${f}..."
rm -rf ${XDG_CONFIG_HOME}/${f} > /dev/null 2>&1 rm -rf ${XDG_CONFIG_HOME}/${f} > /dev/null 2>&1