chore: updates

This commit is contained in:
Afonso Franco 2023-09-27 12:46:33 +01:00
parent b88cf78d26
commit 06e4ee6088
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
23 changed files with 340 additions and 2363 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