fix non posix compliant if statement
This commit is contained in:
parent
228855a246
commit
6d7f0e09e6
1 changed files with 2 additions and 2 deletions
4
.xinitrc
4
.xinitrc
|
@ -32,7 +32,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
unset f
|
unset f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f /usr/bin/prime-offload ]]; then
|
if [ -f /usr/bin/prime-offload ]; then
|
||||||
/usr/bin/prime-offload
|
/usr/bin/prime-offload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ setxkbmap -layout us,pt
|
||||||
setxkbmap -option grp:win_space_toggle
|
setxkbmap -option grp:win_space_toggle
|
||||||
|
|
||||||
gpu_mode=$(/usr/bin/envycontrol -q)
|
gpu_mode=$(/usr/bin/envycontrol -q)
|
||||||
if [[ "$gpu_mode" == "nvidia" ]]; then
|
if [ "$gpu_mode" = "nvidia" ]; then
|
||||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||||
xrandr --auto
|
xrandr --auto
|
||||||
xrandr --output HDMI-0 --above eDP-1-1
|
xrandr --output HDMI-0 --above eDP-1-1
|
||||||
|
|
Loading…
Reference in a new issue