Skip to content

Commit 92f5eeb

Browse files
committed
Fix no shaders on fresh install
1 parent e94c980 commit 92f5eeb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Configs/.config/hypr/shaders.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# name of the shader
1717
$SCREEN_SHADER = "disable"
1818
# path to the shader
19-
$SCREEN_SHADER_PATH = "$HOME/.config/hypr/shaders/disable.frag"
19+
$SCREEN_SHADER_PATH = "$XDG_CONFIG_HOME/hypr/shaders/disable.frag"
2020
# path to the compiled shader // override this in '../hyde/config.toml'
21-
$SCREEN_SHADER_COMPILED = ./shaders/.compiled.cache.glsl
21+
$SCREEN_SHADER_COMPILED = $XDG_CONFIG_HOME/hypr/shaders/.compiled.cache.glsl
2222

2323

Configs/.local/share/hypr/dynamic.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ source = $XDG_CONFIG_HOME/hypr/shaders.conf # source shader variables
3030
source = $XDG_CONFIG_HOME/hypr/hyde.conf # Fallback if they still use hyde.conf
3131
source = $XDG_STATE_HOME/hyde/hyprland.conf # translated from config.toml // should override everything!
3232

33+
# hyprlang if SCREEN_SHADER_COMPILED
3334
decoration:screen_shader = $SCREEN_SHADER_COMPILED #! This is the compiled shader file, it will be created by the shaders.sh script
35+
# hyprlang endif
36+
3437
# hyprlang noerror false
3538
#! Below this is an immutable part of the configuration file, and should not be modified by the user.
3639

0 commit comments

Comments
 (0)