[MINOR] updates

This commit is contained in:
Afonso Franco 2023-09-27 12:46:33 +01:00
parent da2913ae8a
commit e43727d484
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
24 changed files with 354 additions and 2375 deletions

9
.xinitrc Normal file → Executable file
View file

@ -43,4 +43,11 @@ if ! pgrep -f /usr/bin/easyeffects; then
notify-send 'easyeffects daemon started'
fi
/home/afonso/.local/bin/xmonad
gpu_mode=$(/usr/bin/envycontrol -q)
if [ "$gpu_mode" = "nvidia" ]; then
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
fi
exec /home/afonso/.local/bin/xmonad