added wlogout

This commit is contained in:
minhtrannhat 2021-09-27 12:06:04 -04:00
parent 37cfd5f216
commit 070c4110d0
No known key found for this signature in database
GPG Key ID: 894C6A5801E01CA9
8 changed files with 87 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

View File

@ -0,0 +1,35 @@
{
"label" : "lock",
"action" : "swaylock -i ~/Downloads/william-moreland-W61Rp5RouCA-unsplash.png .s fill",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "hibernate",
"action" : "loginctl suspend",
"text" : "Hibernate",
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "loginctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "suspend",
"action" : "loginctl suspend",
"text" : "Suspend",
"keybind" : "u"
}
{
"label" : "reboot",
"action" : "loginctl reboot",
"text" : "Reboot",
"keybind" : "r"
}

View File

@ -0,0 +1,52 @@
* {
background-image: none;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
window {
background-color: rgba(46,52,64, 0.9);
font-size: 26px;
font-family: Product Sans;
animation: fadeIn;
animation-duration: 0.5s;
}
button {
color: #eceff4;
background-color: #4c566a;
border-style: solid;
margin: 20px;
border: 3px solid #3b4252;
background-repeat: no-repeat;
background-position: center;
}
button:focus, button:active, button:hover {
background-color: #5e81ac;
outline-style: none;
}
#lock {
background-image: image(url("/home/minhradz/.config/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
}
#logout {
background-image: image(url("/home/minhradz/.config/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
}
#suspend {
background-image: image(url("/home/minhradz/.config/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
}
#hibernate {
background-image: image(url("/home/minhradz/.config/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
}
#shutdown {
background-image: image(url("/home/minhradz/.config/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
}
#reboot {
background-image: image(url("/home/minhradz/.config/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}