hyprland appearances fixes and flock

This commit is contained in:
cnst
2024-11-14 18:31:47 +01:00
parent 1629d0bc5c
commit 6b8eaa05c9
4 changed files with 78 additions and 64 deletions

View File

@@ -27,27 +27,37 @@ in {
rounding = 0;
blur = {
enabled = true;
size = 8;
passes = 1;
vibrancy = 0.1696;
brightness = 1.0;
contrast = 1.0;
noise = 0.01;
vibrancy = 0.15;
vibrancy_darkness = 0.5;
passes = 2;
size = 7;
popups = true;
popups_ignorealpha = 0.2;
};
shadow = {
enabled = true;
color = "rgba(00000025)";
ignore_window = true;
offset = "0 5";
range = 45;
render_power = 2;
scale = 0.95;
};
drop_shadow = false;
shadow_range = 4;
shadow_render_power = 3;
# col.shadow = rgba(1a1a1aee)
};
animations = {
enabled = true;
bezier = [
"myBezier,0.05, 0.9, 0.1, 1.05"
"myBezier,0.19, 1, 0.22, 1"
];
animation = [
"windows, 1, 3, myBezier"
"windowsOut, 1, 3, default, popin 80%"
"border, 1, 3, default"
"borderangle, 1, 8, default"
"fade, 1, 7, default"
"workspaces, 1, 3, default"
"border, 1, 2, default"
"workspaces, 1, 2, default, slide"
"specialWorkspace, 1, 2, default, fade"
];
};
dwindle = {

View File

@@ -29,6 +29,15 @@ in {
extraConfig = let
play = sound: "mpv ${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/${sound}.oga";
in ''
max-history=50
max-visible=4
outer-margin=25
icon-location=right
max-icon-size=48
[urgency=high]
border-color=#7DAEA3dd
[urgency=critical]
border-color=#f95f32dd
on-notify=exec ${play "message"}
[app-name=yubikey-touch-detector]
on-notify=exec ${play "service-login"}
@@ -36,11 +45,6 @@ in {
on-notify=exec ${play "dialog-warning"}
[app-name=command_complete summary~=".*"]
on-notify=exec ${play "bell"}
max-history=50
max-visible=4
outer-margin=25
icon-location=right
max-icon-size=48
[mode=do-not-disturb]
invisible=1
'';

View File

@@ -14,11 +14,11 @@ in {
systemd.user.services.polkit-gnome-authentication-agent-1 = {
Unit.Description = "polkit-gnome-authentication-agent-1";
Install = {
WantedBy = ["graphical-session.target"];
Wants = ["graphical-session.target"];
After = ["graphical-session.target"];
};
# Install = {
# WantedBy = ["graphical-session.target"];
# Wants = ["graphical-session.target"];
# After = ["graphical-session.target"];
# };
Service = {
Type = "simple";