Add opacity and blur to active/inactive windows
This commit is contained in:
@@ -10,10 +10,6 @@
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
exec-once=waybar
|
|
||||||
'';
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
### MONITOR
|
### MONITOR
|
||||||
monitor = [
|
monitor = [
|
||||||
@@ -32,9 +28,41 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 5; # increase/decrease for more/less round
|
inactive_opacity = 0.8;
|
||||||
|
active_opacity = 0.9;
|
||||||
|
rounding = 5;
|
||||||
|
rounding_power = 2.5;
|
||||||
|
blur = {
|
||||||
|
enabled = true;
|
||||||
|
brightness = 1.0;
|
||||||
|
contrast = 1.0;
|
||||||
|
noise = 0.01;
|
||||||
|
|
||||||
|
vibrancy = 0.2;
|
||||||
|
vibrancy_darkness = 0.5;
|
||||||
|
|
||||||
|
passes = 4;
|
||||||
|
size = 7;
|
||||||
|
|
||||||
|
popups = true;
|
||||||
|
popups_ignorealpha = 0.2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
shadow = {
|
||||||
|
enabled = true;
|
||||||
|
color = "rgba(00000055)";
|
||||||
|
ignore_window = true;
|
||||||
|
offset = "0 15";
|
||||||
|
range = 100;
|
||||||
|
render_power = 2;
|
||||||
|
scale = 0.97;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
exec-once = [
|
||||||
|
"waybar"
|
||||||
|
];
|
||||||
|
|
||||||
### INPUT
|
### INPUT
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
|
|||||||
Reference in New Issue
Block a user