Created
June 1, 2020 18:39
-
-
Save matheusfaustino/47296f057da07e38bc54c7d0b4fa5da9 to your computer and use it in GitHub Desktop.
pre/post script with some tweaks for running better overwatch on linux using lutris (ubuntu 20.04 - gnome)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#overwatch-pre-script.sh | |
#!/bin/bash | |
xrandr --output HDMI-1 --primary --left-of eDP-1 # change primary display to monitor, instead of the notebook's display | |
gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'flat' # remove mouse acceleration from gnome to respect mouse DPI | |
sleep 3 #just to give "time" for the things | |
##### Other script/file | |
#overwatch-post-script.sh | |
#!/bin/bash | |
xrandr --output eDP-1 --primary --right-of HDMI-1 #reorder default display | |
gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'default' # return mouse acceleration | |
##### mouse tweak (set right DPI for you mouse. Mine is a steelseries rival 100) | |
# install https://github.com/flozz/rivalcfg and set the dpi of your will | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment