diff options
Diffstat (limited to '.config/herbstluftwm/autostart')
-rwxr-xr-x | .config/herbstluftwm/autostart | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 1d60817..02531ab 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -7,17 +7,8 @@ source ~/.config/init/vars #merge Xresources -if [ -s "$HOME/.Xresources" ] -then - xrdb -override "$HOME/.Xresources" -fi - -if [ -s $tmpdir/x-theme ] -then - xrdb -override $tmpdir/x-theme -fi - -fcitx5 & +[[ -s $HOME/.Xresources ]] && xrdb -override $HOME/.Xresources +[[ -s $tmpdir/x-theme ]] && xrdb -override $tmpdir/x-theme #keyrate xset r rate $kbdelay $kbrate @@ -25,7 +16,7 @@ xset r rate $kbdelay $kbrate #store sxiv cache in ram export XDG_CACHE_HOME="$HOME/.cache" mkdir -p "$HOME/.cache" -if [ -d $tmpdir ]; then +if [[ -d $tmpdir ]]; then mkdir -p $tmpdir/sxiv cd "$HOME/.cache/" ln -sf $tmpdir/sxiv . @@ -45,6 +36,8 @@ xset s off #daemons picom -b --backend glx --vsync --glx-no-stencil --glx-no-rebind-pixmap +fcitx5 & + xsetroot -cursor_name left_ptr nitrogen --restore xbanish & |