Home Gen400 @ 2024-11-01-15:22
@ -87,6 +87,7 @@
|
||||
", XF86AudioMicMute, exec, ${pkgs.pulsemixer}/bin/pulsemixer --toggle-mute --id 1"
|
||||
", XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +5%"
|
||||
", XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 5%-"
|
||||
"$mod, 9, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
"$mod, 0, exec, ${pkgs.wlogout}/bin/wlogout"
|
||||
]
|
||||
++ (
|
||||
|
||||
@ -31,4 +31,38 @@
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
BIN
modules/home/wlogout/icons/hibernate-hover.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
modules/home/wlogout/icons/hibernate.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
modules/home/wlogout/icons/lock-hover.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
modules/home/wlogout/icons/lock.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
modules/home/wlogout/icons/logout-hover.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
modules/home/wlogout/icons/logout.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
modules/home/wlogout/icons/power-hover.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
modules/home/wlogout/icons/power.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
modules/home/wlogout/icons/restart-hover.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
modules/home/wlogout/icons/restart.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
modules/home/wlogout/icons/sleep-hover.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
modules/home/wlogout/icons/sleep.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
76
modules/home/wlogout/style.css
Normal file
@ -0,0 +1,76 @@
|
||||
/* ----------- 💫 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; /* text */
|
||||
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;
|
||||
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.4);
|
||||
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"));
|
||||
}
|
||||