Init
BIN
.config/wlogout/imgs/lock-hover.png
Executable file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
.config/wlogout/imgs/lock.png
Executable file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
.config/wlogout/imgs/logout-hover.png
Executable file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
.config/wlogout/imgs/logout.png
Executable file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
.config/wlogout/imgs/power-hover.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
BIN
.config/wlogout/imgs/power.png
Executable file
|
After Width: | Height: | Size: 10 KiB |
BIN
.config/wlogout/imgs/restart-hover.png
Executable file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
.config/wlogout/imgs/restart.png
Executable file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
.config/wlogout/imgs/sleep-hover.png
Executable file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
.config/wlogout/imgs/sleep.png
Executable file
|
After Width: | Height: | Size: 5.6 KiB |
36
.config/wlogout/layout
Executable file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"label" : "lock",
|
||||
"action" : "~/.config/hypr/scripts/lock.sh",
|
||||
"text" : "Lock",
|
||||
"keybind" : "l"
|
||||
}
|
||||
{
|
||||
"label" : "reboot",
|
||||
"action" : "systemctl reboot",
|
||||
"text" : "Reboot",
|
||||
"keybind" : "r"
|
||||
}
|
||||
{
|
||||
"label" : "shutdown",
|
||||
"action" : "systemctl poweroff",
|
||||
"text" : "Shutdown",
|
||||
"keybind" : "s"
|
||||
}
|
||||
{
|
||||
"label" : "logout",
|
||||
"action" : "hyprctl dispatch exit 0",
|
||||
"text" : "Logout",
|
||||
"keybind" : "e"
|
||||
}
|
||||
{
|
||||
"label" : "suspend",
|
||||
"action" : "systemctl suspend",
|
||||
"text" : "Suspend",
|
||||
"keybind" : "u"
|
||||
}
|
||||
{
|
||||
"label" : "suspend",
|
||||
"action" : "systemctl hibernate",
|
||||
"text" : "Hibernate",
|
||||
"keybind" : "h"
|
||||
}
|
||||
61
.config/wlogout/style.css
Executable file
@@ -0,0 +1,61 @@
|
||||
window {
|
||||
font-family: monospace;
|
||||
font-size: 14pt;
|
||||
color: #cdd6f4; /* text */
|
||||
background-color: rgba(30, 30, 46, 0.5);
|
||||
}
|
||||
|
||||
button {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 25%;
|
||||
border: none;
|
||||
background-color: rgba(30, 30, 46, 0);
|
||||
margin: 5px;
|
||||
transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgba(49, 50, 68, 0.1);
|
||||
}
|
||||
|
||||
button:focus {
|
||||
background-color: #cba6f7;
|
||||
color: #1e1e2e;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#lock {
|
||||
background-image: image(url("./imgs/lock.png"));
|
||||
}
|
||||
#lock:focus {
|
||||
background-image: image(url("./imgs/lock-hover.png"));
|
||||
}
|
||||
|
||||
#logout {
|
||||
background-image: image(url("./imgs/logout.png"));
|
||||
}
|
||||
#logout:focus {
|
||||
background-image: image(url("./imgs/logout-hover.png"));
|
||||
}
|
||||
|
||||
#suspend {
|
||||
background-image: image(url("./imgs/sleep.png"));
|
||||
}
|
||||
#suspend:focus {
|
||||
background-image: image(url("./imgs/sleep-hover.png"));
|
||||
}
|
||||
|
||||
#shutdown {
|
||||
background-image: image(url("./imgs/power.png"));
|
||||
}
|
||||
#shutdown:focus {
|
||||
background-image: image(url("./imgs/power-hover.png"));
|
||||
}
|
||||
|
||||
#reboot {
|
||||
background-image: image(url("./imgs/restart.png"));
|
||||
}
|
||||
#reboot:focus {
|
||||
background-image: image(url("./imgs/restart-hover.png"));
|
||||
}
|
||||