added wlogout
This commit is contained in:
parent
37cfd5f216
commit
070c4110d0
BIN
wlogout/.config/wlogout/icons/hibernate.png
Normal file
BIN
wlogout/.config/wlogout/icons/hibernate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 816 B |
BIN
wlogout/.config/wlogout/icons/lock.png
Normal file
BIN
wlogout/.config/wlogout/icons/lock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 736 B |
BIN
wlogout/.config/wlogout/icons/logout.png
Normal file
BIN
wlogout/.config/wlogout/icons/logout.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 264 B |
BIN
wlogout/.config/wlogout/icons/reboot.png
Normal file
BIN
wlogout/.config/wlogout/icons/reboot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 952 B |
BIN
wlogout/.config/wlogout/icons/shutdown.png
Normal file
BIN
wlogout/.config/wlogout/icons/shutdown.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1014 B |
BIN
wlogout/.config/wlogout/icons/suspend.png
Normal file
BIN
wlogout/.config/wlogout/icons/suspend.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 974 B |
35
wlogout/.config/wlogout/layout
Normal file
35
wlogout/.config/wlogout/layout
Normal 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"
|
||||||
|
}
|
52
wlogout/.config/wlogout/style.css
Normal file
52
wlogout/.config/wlogout/style.css
Normal 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"));
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user