dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 22add9d5c987770494e09ae186992e4ccaf6a220
parent de7ceb229da022691db0500c7e4a471e5247a197
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu,  9 Sep 2021 16:01:25 +0200

xinitrc: configure for dwm

Diffstat:
Ascripts/startdwm | 5+++++
Mxinitrc | 10++++++----
2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/scripts/startdwm b/scripts/startdwm @@ -0,0 +1,4 @@ +#!/bin/sh +while true; do + SHLVL=0 dwm 2>/var/log/dwm/dwm.log +done+ \ No newline at end of file diff --git a/xinitrc b/xinitrc @@ -1,12 +1,10 @@ #!/bin/sh - userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps - if [ -f $sysresources ]; then xrdb -merge $sysresources fi @@ -30,5 +28,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then done unset f fi -wal -R & -exec dwm +wal -R && xdotool key "super+shift+r" +export SHLVL=1 +eval $(ssh-agent) +command -v VBoxClient-all >/dev/null 2>&1 && VBoxClient-all +dwmblocks 2>/var/log/dwm/dwmblocks.log & +exec $HOME/.scripts/startdwm