From ed10acc2fe4fa8174e45ba44f30b92326d27f4f3 Mon Sep 17 00:00:00 2001 From: afonso Date: Sat, 8 Jun 2024 18:12:27 +0100 Subject: [PATCH] [xinitrc] clean up --- .xinitrc | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.xinitrc b/.xinitrc index 4885f62..63f2ca5 100755 --- a/.xinitrc +++ b/.xinitrc @@ -32,22 +32,15 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then fi setxkbmap -layout us,pt -setxkbmap -option grp:win_space_toggle +setxkbmap -option grp:alt_space_toggle setxkbmap -option caps:escape -xset r rate 300 50 -xrandr --output DP-0 --primary --mode 2560x1440 --left-of HDMI-0 --output HDMI-0 --mode 1920x1080 -dunst & +xset r rate 300 40 -if ! pgrep -f /usr/bin/easyeffects; then - exec /usr/bin/easyeffects --gapplication-service & - notify-send 'easyeffects daemon started' -fi - -gpu_mode=$(/usr/bin/envycontrol -q) -if [ "$gpu_mode" = "nvidia" ]; then - xrandr --setprovideroutputsource modesetting NVIDIA-0 - xrandr --auto -fi +#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