init
30
wlogout/.config/wlogout/layout
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"label" : "lock",
|
||||
"action" : "swaylock --screenshot --clock --indicator --indicator-radius 200 --indicator-thickness 7 --effect-blur 7x5 --fade-in 0.2",
|
||||
"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" : "swaymsg exit || hyprctl dispatch exit",
|
||||
"text" : "Logout",
|
||||
"keybind" : "e"
|
||||
}
|
||||
{
|
||||
"label" : "suspend",
|
||||
"action" : "systemctl suspend",
|
||||
"text" : "Suspend",
|
||||
"keybind" : "u"
|
||||
}
|
BIN
wlogout/.config/wlogout/lock-hover.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
wlogout/.config/wlogout/lock.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
wlogout/.config/wlogout/logout-hover.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
wlogout/.config/wlogout/logout.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
wlogout/.config/wlogout/power-hover.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
wlogout/.config/wlogout/power.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
wlogout/.config/wlogout/restart-hover.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
wlogout/.config/wlogout/restart.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
wlogout/.config/wlogout/sleep-hover.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
wlogout/.config/wlogout/sleep.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
60
wlogout/.config/wlogout/style.css
Normal file
|
@ -0,0 +1,60 @@
|
|||
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;
|
||||
}
|
||||
|
||||
#lock {
|
||||
background-image: image(url("./lock.png"));
|
||||
}
|
||||
#lock:focus {
|
||||
background-image: image(url("./lock-hover.png"));
|
||||
}
|
||||
|
||||
#logout {
|
||||
background-image: image(url("./logout.png"));
|
||||
}
|
||||
#logout:focus {
|
||||
background-image: image(url("./logout-hover.png"));
|
||||
}
|
||||
|
||||
#suspend {
|
||||
background-image: image(url("./sleep.png"));
|
||||
}
|
||||
#suspend:focus {
|
||||
background-image: image(url("./sleep-hover.png"));
|
||||
}
|
||||
|
||||
#shutdown {
|
||||
background-image: image(url("./power.png"));
|
||||
}
|
||||
#shutdown:focus {
|
||||
background-image: image(url("./power-hover.png"));
|
||||
}
|
||||
|
||||
#reboot {
|
||||
background-image: image(url("./restart.png"));
|
||||
}
|
||||
#reboot:focus {
|
||||
background-image: image(url("./restart-hover.png"));
|
||||
}
|