[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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue