✨ feat(wlogout): add pywal color support, add extra styling
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
{
|
||||||
|
"label" : "lock",
|
||||||
|
"action" : "hyprlock",
|
||||||
|
"text" : "Lock",
|
||||||
|
"keybind" : "l"
|
||||||
|
}
|
||||||
{
|
{
|
||||||
"label" : "shutdown",
|
"label" : "shutdown",
|
||||||
"action" : "systemctl poweroff",
|
"action" : "systemctl poweroff",
|
||||||
|
|||||||
+23
-5
@@ -13,28 +13,46 @@ window {
|
|||||||
background-color: alpha(shade(@background, .6), .6);
|
background-color: alpha(shade(@background, .6), .6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window > * > * {
|
||||||
|
border: 2px solid @color2;
|
||||||
|
border-radius: 18.8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:first-child {
|
||||||
|
border-radius: 16px 0 0 16px;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
border-radius: 16px;
|
border-radius: 0;
|
||||||
border: 1px solid @color2;
|
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: 30%;
|
background-size: 40%;
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
transition: 150ms linear;
|
transition: 150ms linear;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:last-child {
|
||||||
|
border-radius: 0 16px 16px 0;
|
||||||
|
}
|
||||||
|
|
||||||
button:focus, button:hover {
|
button:focus, button:hover {
|
||||||
background-color: shade(@color1, .75);
|
background-color: shade(@color1, .75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button:focus:hover {
|
||||||
|
background-color: @color3;
|
||||||
|
}
|
||||||
|
|
||||||
button:active {
|
button:active {
|
||||||
background-color: @color1;
|
background-color: @color1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#lock {
|
||||||
|
background-image: image(url("/usr/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
||||||
|
}
|
||||||
|
|
||||||
#logout {
|
#logout {
|
||||||
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
|
background-image: image(url("/usr/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user