1
0
Fork 0
This commit is contained in:
zymon 2024-06-11 00:22:45 +02:00
parent aa44efa7c7
commit a4a5016d47
4 changed files with 38 additions and 2 deletions

12
config/x11/xinitrc Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
. "${XDG_CONFIG_HOME}/x11/xprofile"
ssh-agent i3

17
config/x11/xprofile Normal file
View file

@ -0,0 +1,17 @@
#!/bin/sh
xrandr --dpi 80 # set dpi
xrdb ${XDG_CONFIG_HOME/.config}/x11/Xresources & xrdbpid=$!
autostart="mpd dunst nm-applet redshift-gtk picom"
for program in $autostart; do
pidof -s "$program" || "$program" &
done >/dev/null 2>&1
snixembed --fork
setxkbmap pl &
# Ensure that xrdb has finished running before moving on to start the WM/DE.
[ -n "$xrdbpid" ] && wait "$xrdbpid"

View file

@ -23,5 +23,11 @@ bindkey '^[[B' history-substring-search-down # or '\eOB'
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1 HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
alias lf='lfrun'
alias ls='ls --color' alias l='ls -lah'
alias la='ls -lAh'
alias ll='ls -lh'
alias ls='ls --color=tty'
alias lsa='ls -lah'
alias gst='git status'

View file

@ -9,4 +9,5 @@ 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}"
ln --force --symbolic --no-dereference $BASEDIR/config/x11/ "${XDG_CONFIG_HOME}/x11"
ln --force --symbolic --no-dereference $BASEDIR/config/zsh/ "${XDG_CONFIG_HOME}/zsh" ln --force --symbolic --no-dereference $BASEDIR/config/zsh/ "${XDG_CONFIG_HOME}/zsh"