optimize
This commit is contained in:
3
.scripts/fetch-weather.sh
Executable file
3
.scripts/fetch-weather.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
$HOME/.config/eww/Main/scripts/weather --getdata
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/env bash
|
||||
|
||||
if [ -n "$(eww active-windows | grep -i "player")" ]; then
|
||||
eww close player
|
||||
elif [ -n "$(pgrep -i "spotify")" ]; then
|
||||
eww open player
|
||||
fi
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
unset __NV_PRIME_RENDER_OFFLOAD
|
||||
|
||||
Reference in New Issue
Block a user