i have no idea what these changes did

This commit is contained in:
Daylin Morgan 2024-01-13 16:17:27 -06:00
parent 55a8738a3e
commit 12856fc0a5
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 17 additions and 8 deletions

View file

@ -22,7 +22,6 @@ if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
@ -33,6 +32,17 @@ fi
[ -f ~/.xprofile ] && . ~/.xprofile
# taken from nixos wiki
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --exit-with-session --sh-syntax)"
fi
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
# export SSH_AUTH_SOCK
@ -51,6 +61,6 @@ qtile)
;;
*)
export DESKTOP_SESSION=qtile
exec qtile start
exec dbus-launch qtile start
;;
esac

View file

@ -2,16 +2,15 @@
# enable touch on only laptop monitor
# this isn't working for some reason
xinput --map-to-output '18' eDP-1
# xinput --map-to-output '18' eDP-1
xss-lock -- ~/bin/lock &
unclutter --timeout 1 &
# xset 1200
# xss-lock -- ~/bin/lock &
# set a new random color
~/.config/qtile/colors.py
~/.config/qtile/colors.py &
SKIP_WM_RESET=1 autorandr -c --default default
SKIP_WM_RESET=1 autorandr -c --default default &
# https://github.com/alacritty/alacritty/issues/3465
export WINIT_X11_SCALE_FACTOR=1