Add WM stuff

This commit is contained in:
2026-02-22 20:02:57 +00:00
parent dc5bd5e1c0
commit 1651a0891a
17 changed files with 732 additions and 1 deletions

36
.config/wlogout/layout Normal file
View File

@@ -0,0 +1,36 @@
{
"label" : "lock",
"action" : "swaylock",
"text" : "Lock",
"keybind" : "l",
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h",
}
{
"label" : "logout",
"action" : "sleep 1; hyprctl dispatch exit",
"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",
}

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

@@ -0,0 +1,51 @@
* {
background-image: none;
}
window {
background-color: rgba(36,39,58,0.9)
}
button {
margin: 8px;
color: #cad3f5;
background-color: #363a4f;
border-style: solid;
border-width: 2px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
}
button:active,
button:focus,
button:hover {
color: #8bd5ca;
background-color: #24273a;
outline-style: none;
}
#lock{
/* background-image: image(url("icons/lock.png")); */
}
#logout{
/* background-image: image(url("icons/logout.png")); */
}
#suspend{
/* background-image: image(url("icons/suspend.png")); */
}
#hibernate{
/* background-image: image(url("icons/hibernate.png")); */
}
#shutdown{
/* background-image: image(url("icons/shutdown.png")); */
}
#reboot{
/* background-image: image(url("icons/reboot.png")); */
}