fix: grayscale shader;
refactor: hyprlock; refactor: played around with blur a little bit
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
#version 320 es
|
||||
|
||||
precision mediump float;
|
||||
varying vec2 v_texcoord;
|
||||
in vec2 v_texcoord; // Use 'in' instead of 'varying'
|
||||
uniform sampler2D tex;
|
||||
|
||||
out vec4 fragColor; // Use 'out' instead of 'gl_FragColor'
|
||||
|
||||
void main() {
|
||||
vec4 this_colour = texture2D( tex, v_texcoord );
|
||||
vec4 this_colour = texture(tex, v_texcoord);
|
||||
float new_colour = (this_colour.r + this_colour.g + this_colour.b) / 3.0;
|
||||
gl_FragColor = vec4(new_colour,new_colour,new_colour,1.0);
|
||||
fragColor = vec4(new_colour, new_colour, new_colour, 1.0);
|
||||
}
|
||||
|
||||
|
||||
@@ -114,8 +114,6 @@ decoration {
|
||||
rounding = 10
|
||||
rounding_power = 2
|
||||
|
||||
dim_around = 1
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
@@ -130,10 +128,14 @@ decoration {
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
size = 5
|
||||
passes = 2
|
||||
ignore_opacity = true
|
||||
|
||||
vibrancy = 0.1696
|
||||
new_optimizations = true
|
||||
vibrancy = 0
|
||||
noise = 0
|
||||
contrast = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +177,7 @@ animations {
|
||||
animation = border, 1, 5.39, easeOutQuint
|
||||
animation = windows, 1, 4.79, easeOutQuint
|
||||
animation = windowsIn, 1, 5, easeOutQuint, popin 0%
|
||||
animation = windowsOut, 1, 5, linear, popin 0%
|
||||
animation = windowsOut, 1, 10, linear, popin 0%
|
||||
animation = fadeIn, 1, 1.73, almostLinear
|
||||
animation = fadeOut, 1, 1.46, almostLinear
|
||||
animation = fade, 1, 3.03, quick
|
||||
@@ -673,6 +675,7 @@ plugin {
|
||||
|
||||
debug {
|
||||
disable_logs = false
|
||||
overlay = false
|
||||
}
|
||||
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
|
||||
@@ -42,13 +42,13 @@ background {
|
||||
|
||||
image {
|
||||
# TODO: store there images somewhere in the config dir
|
||||
path = /home/greg/Pictures/Things/lavey5.jpg
|
||||
path = /home/greg/Pictures/Things/niko.jpg
|
||||
position = 0, 40
|
||||
halign = center
|
||||
valign = center
|
||||
size = 100, 100
|
||||
rounding = -1
|
||||
border_color = rgba(E96375ff) rgba(EB75DDff) 45deg
|
||||
border_color = rgba(9E223800)
|
||||
shadow_passes = 1
|
||||
shadow_size = 3
|
||||
shadow_color = rgb(aaaaaa)
|
||||
@@ -58,10 +58,10 @@ input-field {
|
||||
monitor =
|
||||
size = 15%, 5%
|
||||
outline_thickness = 3
|
||||
inner_color = rgba(0, 0, 0, 0.2) # no fill
|
||||
inner_color = rgba(0, 0, 0, 0.5) # no fill
|
||||
|
||||
outer_color = rgba(E96375ff) rgba(EB75DDff) 45deg
|
||||
check_color = rgba(EB75DDff) rgba(E96375ff) 120deg
|
||||
outer_color = rgba(9E223800)
|
||||
check_color = rgba(ffff00ff) rgba(E96375ff) 120deg
|
||||
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
|
||||
|
||||
font_color = rgb(255,255,255)
|
||||
|
||||
Reference in New Issue
Block a user