diff options
Diffstat (limited to 'home/.local/bin/display-setup')
| -rwxr-xr-x | home/.local/bin/display-setup | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/home/.local/bin/display-setup b/home/.local/bin/display-setup deleted file mode 100755 index d8e86d8..0000000 --- a/home/.local/bin/display-setup +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env sh - -if [ "$(uname -n)" = "hercules" ]; then - xrandr --setprovideroutputsource modesetting NVIDIA-G0 - nvidia-settings --load-config-only & - nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=1' & -fi -xrandr --auto - -if [ "$(uname -n)" = "hercules" ] && xrandr --query | grep "HDMI-1 connected"; then - xrandr --output eDP-1 --off - xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 144 - # xrandr --output HDMI-1 --primary --mode 1920x1080 - # xrandr --output HDMI-1 --primary --mode 2560x1080 --rate 75 - # xrandr --output HDMI-1 --primary --mode 3840x2160 - # xrandr --output HDMI-1 --mode 1920x1080 --sameas eDP-1 -elif [ "$(uname -n)" = "halley2" ] && xrandr --query | grep "HDMI-2 connected"; then - xrandr --output HDMI-2 --mode 1920x1080 --same-as eDP-1 -fi - -bspc wm -r -launch-polybar |
