eww
This commit is contained in:
parent
db84c2aff6
commit
f549f80b49
9
eww/eww.yuck
Normal file
9
eww/eww.yuck
Normal file
@ -0,0 +1,9 @@
|
||||
(defwidget powermenu []
|
||||
(box :orientation "vertical"
|
||||
:class "menu"
|
||||
(button :label "⏻ Shutdown" :onclick "poweroff")
|
||||
(button :label " Reboot" :onclick "reboot")
|
||||
(button :label " Lock" :onclick "i3lock -c 000000")
|
||||
(button :label " Logout" :onclick "i3-msg exit")
|
||||
)
|
||||
)
|
||||
22
eww/styles.yuck
Normal file
22
eww/styles.yuck
Normal file
@ -0,0 +1,22 @@
|
||||
(style
|
||||
".menu" {
|
||||
background: @ayu-bg;
|
||||
color: @ayu-fg;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border: 2px solid @ayu-accent;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
"button" {
|
||||
background: transparent;
|
||||
padding: 8px 12px;
|
||||
margin: 4px 0;
|
||||
border: none;
|
||||
font-family: "Iosevka SS14";
|
||||
font-size: 14px;
|
||||
}
|
||||
"button:hover" {
|
||||
background: @ayu-dim;
|
||||
color: @ayu-accent;
|
||||
}
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user