[xinitrc] clean up
This commit is contained in:
parent
de6e78ab66
commit
ed10acc2fe
1 changed files with 7 additions and 14 deletions
21
.xinitrc
21
.xinitrc
|
@ -32,22 +32,15 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setxkbmap -layout us,pt
|
setxkbmap -layout us,pt
|
||||||
setxkbmap -option grp:win_space_toggle
|
setxkbmap -option grp:alt_space_toggle
|
||||||
setxkbmap -option caps:escape
|
setxkbmap -option caps:escape
|
||||||
xset r rate 300 50
|
xset r rate 300 40
|
||||||
xrandr --output DP-0 --primary --mode 2560x1440 --left-of HDMI-0 --output HDMI-0 --mode 1920x1080
|
|
||||||
dunst &
|
|
||||||
|
|
||||||
if ! pgrep -f /usr/bin/easyeffects; then
|
#gpu_mode=$(/usr/bin/envycontrol -q)
|
||||||
exec /usr/bin/easyeffects --gapplication-service &
|
#if [ "$gpu_mode" = "nvidia" ]; then
|
||||||
notify-send 'easyeffects daemon started'
|
#xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
fi
|
#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
|
exec /home/afonso/.local/bin/xmonad
|
||||||
|
|
Loading…
Reference in a new issue