diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/prime-run | 2 | ||||
-rwxr-xr-x | bin/.local/bin/unblock | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/.local/bin/prime-run b/bin/.local/bin/prime-run new file mode 100755 index 0000000..ee073fa --- /dev/null +++ b/bin/.local/bin/prime-run | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only "$@" | ||
diff --git a/bin/.local/bin/unblock b/bin/.local/bin/unblock index 1d0ea7f..0b4b99b 100755 --- a/bin/.local/bin/unblock +++ b/bin/.local/bin/unblock | |||
@@ -4,6 +4,6 @@ set -e | |||
4 | printf "\033[0;35mSetting wlo1 down....\033[0m\n" | 4 | printf "\033[0;35mSetting wlo1 down....\033[0m\n" |
5 | sudo ip link set wlo1 down | 5 | sudo ip link set wlo1 down |
6 | printf "\033[0;36mChanging MAC address....\033[0m\n" | 6 | printf "\033[0;36mChanging MAC address....\033[0m\n" |
7 | sudo macchanger -a wlo1 | 7 | sudo macchanger --mac=04:B1:A1:6A:4E:A1 wlo1 |
8 | printf "\033[0;32mEnjoy....\033[0m\n" | 8 | printf "\033[0;32mEnjoy....\033[0m\n" |
9 | 9 | ||