dendrify: comfy-station

This commit is contained in:
2026-03-27 17:49:01 +01:00
parent 5ca75f28db
commit 88b3ff784a
205 changed files with 4036 additions and 1227 deletions

View File

@@ -0,0 +1,80 @@
{
config,
lib,
...
}: let
cfg = config.hive.wlogout;
in {
options.hive.wlogout = {
enable = lib.mkEnableOption "Enable Wlogout";
};
config = lib.mkIf cfg.enable {
programs.wlogout.enable = true;
programs.wlogout.layout = [
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
}
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
keybind = "r";
}
{
label = "logout";
action = "loginctl kill-session $XDG_SESSION_ID";
text = "Logout";
keybind = "e";
}
{
label = "hibernate";
action = "hyprlock --immediate & (sleep 1; systemctl hibernate -i)";
text = "Hibernate";
keybind = "h";
}
{
label = "lock";
action = "hyprlock";
text = "Lock";
keybind = "l";
}
];
programs.wlogout.style = builtins.readFile ./style.css;
xdg.enable = true;
xdg.configFile = {
"wlogout/icons/hibernate.png" = {
source = ./icons/hibernate.png;
};
"wlogout/icons/lock.png" = {
source = ./icons/lock.png;
};
"wlogout/icons/logout.png" = {
source = ./icons/logout.png;
};
"wlogout/icons/power.png" = {
source = ./icons/power.png;
};
"wlogout/icons/restart.png" = {
source = ./icons/restart.png;
};
"wlogout/icons/hibernate-hover.png" = {
source = ./icons/hibernate-hover.png;
};
"wlogout/icons/lock-hover.png" = {
source = ./icons/lock-hover.png;
};
"wlogout/icons/logout-hover.png" = {
source = ./icons/logout-hover.png;
};
"wlogout/icons/power-hover.png" = {
source = ./icons/power-hover.png;
};
"wlogout/icons/restart-hover.png" = {
source = ./icons/restart-hover.png;
};
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -0,0 +1,80 @@
/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */
/* pywal-wlogout */
/* Importing pywal colors */
/*
@import '../../.cache/wal/colors-waybar.css';
*/
window {
font-family: Fira Code Medium;
font-size: 16pt;
/* color: @foreground; */
color: rgba(255, 255, 255, 0.9);
background-color: rgba(24, 27, 32, 0.2);
}
button {
background-repeat: no-repeat;
background-position: center;
background-size: 20%;
background-color: transparent;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s ease-in;
box-shadow: 0 0 10px 2px transparent;
border-radius: 36px;
border-style: none;
margin: 10px;
}
button:focus {
box-shadow: none;
background-size : 20%;
}
button:hover {
background-size: 50%;
box-shadow: 0 0 10px 3px rgba(0,0,0,.4);
/* background-color: @color6;*/
background-color: rgba(24, 27, 32, 0);
color: transparent;
transition: all 0.3s cubic-bezier(.55, 0.0, .28, 1.682), box-shadow 0.5s ease-in;
}
#shutdown {
background-image: image(url("./icons/power.png"));
}
#shutdown:hover {
background-image: image(url("./icons/power-hover.png"));
}
#logout {
background-image: image(url("./icons/logout.png"));
}
#logout:hover {
background-image: image(url("./icons/logout-hover.png"));
}
#reboot {
background-image: image(url("./icons/restart.png"));
}
#reboot:hover {
background-image: image(url("./icons/restart-hover.png"));
}
#lock {
background-image: image(url("./icons/lock.png"));
}
#lock:hover {
background-image: image(url("./icons/lock-hover.png"));
}
#hibernate {
background-image: image(url("./icons/hibernate.png"));
}
#hibernate:hover {
background-image: image(url("./icons/hibernate-hover.png"));
}