diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-02-18 12:20:03 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-02-18 12:20:03 +0000 |
commit | 256ff4c43c4617fda4289150c6614a334650c491 (patch) | |
tree | df0a5107c22dd09c4c6c8d61be9f266de05c1507 /bin | |
parent | feb5408d59348b46ae45f18742f88d365c99b91e (diff) |
...
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 | ||