diff --git a/suckless/install.sh b/suckless/install.sh index 733d29c..359b75b 100755 --- a/suckless/install.sh +++ b/suckless/install.sh @@ -55,6 +55,8 @@ cd ~/Projects/suckless/dwm && sudo rm -f config.h && sudo make clean install # config xinit to start for dwm rm ~/.xinitrc cat < ~/.xinitrc +#!/bin/sh + export QT_QPA_PLATFORMTHEME="qt5ct" export GTK2_RC_FILES="$HOME/.gtkrc-2.0" @@ -62,24 +64,19 @@ export XMODIFIERS="@im=ibus" export QT_IM_MODULE=ibus export GTK_IM_MODULE=xim - -# xrandr --setprovideroutputsource modesetting NVIDIA-0 -# xrandr --auto - - -xrdb ~/.Xresources - # auto lock after 300 seconds xset s 300 systemd-lock-handler /usr/local/bin/slock -#xsetroot -cursor_name left_ptr - +# setup gnome keyring dbus-update-activation-environment --systemd DISPLAY eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK +# load monitors profile autorandr --change --force + +# restart dwm if it existed without error while :; do ssh-agent dwm 2>/tmp/dwm.log || break done