diff --git a/README.md b/README.md new file mode 100644 index 0000000..3870554 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# scripts/snippets for linux (maybe MacOS?) + +NOTE: these are either scripts I wrote or found on the internet and are here for convenience, use them at your own risk! +### List of items & explanations: + - **ScrnTearFix** - fixes screen tearing in DEs such as plasma and gnome + - **screenlayout** - sets my screen layout (1920x1080 & 768x1366 to the right) + - **FAH** - start Folding@Home \ No newline at end of file diff --git a/ScrnTearFix.sh b/ScrnTearFix.sh new file mode 100755 index 0000000..5b74173 --- /dev/null +++ b/ScrnTearFix.sh @@ -0,0 +1 @@ +nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" diff --git a/screenlayout.sh b/screenlayout.sh new file mode 100755 index 0000000..5bf3c0a --- /dev/null +++ b/screenlayout.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output DVI-D-0 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x143 --rotate normal --output DP-0 --mode 1366x768 --pos 1920x0 --rotate right --output DP-1 --off