summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-02-18 12:20:03 +0000
committerShubham Saini <shubham6405@gmail.com>2020-02-18 12:20:03 +0000
commit256ff4c43c4617fda4289150c6614a334650c491 (patch)
treedf0a5107c22dd09c4c6c8d61be9f266de05c1507 /bin
parentfeb5408d59348b46ae45f18742f88d365c99b91e (diff)
...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/prime-run2
-rwxr-xr-xbin/.local/bin/unblock2
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
4printf "\033[0;35mSetting wlo1 down....\033[0m\n" 4printf "\033[0;35mSetting wlo1 down....\033[0m\n"
5sudo ip link set wlo1 down 5sudo ip link set wlo1 down
6printf "\033[0;36mChanging MAC address....\033[0m\n" 6printf "\033[0;36mChanging MAC address....\033[0m\n"
7sudo macchanger -a wlo1 7sudo macchanger --mac=04:B1:A1:6A:4E:A1 wlo1
8printf "\033[0;32mEnjoy....\033[0m\n" 8printf "\033[0;32mEnjoy....\033[0m\n"
9 9