rice the wlogout

This commit is contained in:
2025-07-02 00:12:05 +03:00
parent 66b3fb9d37
commit 95b5b35be7
10 changed files with 118 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

36
config/wlogout/layout Normal file
View File

@@ -0,0 +1,36 @@
{
"label" : "lock",
"action" : "loginctl lock-session",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}

69
config/wlogout/style.css Normal file
View File

@@ -0,0 +1,69 @@
* {
background-image: none;
box-shadow: none;
}
window {
background-color: rgba(24, 24, 37, 0.9);
}
button {
border-radius: 0;
border-color: #89b4fa;
text-decoration-color: #89b4fa;
color: #89b4fa;
background-color: #1e1e2e;
border-style: solid;
border-width: 1px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
padding: 10px;
margin: 10px;
border-radius: 8px;
border-width: 3px;
}
button:focus,
button:active,
button:hover {
background-color: #181825;
outline-style: none;
border-color: #f38ba8;
}
#lock {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/lock.png")
);
}
#logout {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/logout.png")
);
}
#suspend {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/suspend.png")
);
}
#hibernate {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/hibernate.png")
);
}
#shutdown {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/shutdown.png")
);
}
#reboot {
background-image: image(
url("/home/ocbwoy3/config/config/wlogout/assets/reboot.png")
);
}

View File

@@ -277,6 +277,11 @@
recursive = true;
};
home.file.".config/wlogout" = {
source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/wlogout";
recursive = true;
};
home.file.".config/qt5ct" = {
source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/qt5ct";
recursive = true;

View File

@@ -19,7 +19,15 @@
environment.variables.LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
# surely they should add programs.discord!!
environment.systemPackages = with pkgs; [
(discord-ptb.override {
withMoonlight = true;
# enable = true;
# version = pkgs.discord-ptb;
# disableBreakingUpdates = true;
})
inputs.hyprsysteminfo.packages.${pkgs.stdenv.hostPlatform.system}.hyprsysteminfo
# minecraft
qemu