chore: forgot files *facepalm*
This commit is contained in:
parent
a577400e7a
commit
7ba6b2404f
2 changed files with 73 additions and 0 deletions
30
config/eww/quick-settings/quick-settings.scss
Normal file
30
config/eww/quick-settings/quick-settings.scss
Normal file
|
@ -0,0 +1,30 @@
|
|||
.quick-settings-smol {
|
||||
font-size: 2px;
|
||||
min-height: 60px;
|
||||
min-width: 36px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
background-color: $bg;
|
||||
color: rgba(0,0,0,0);
|
||||
border: 2px solid $contrastbg;
|
||||
border-bottom-color: $bg;
|
||||
border-top-right-radius: 80px;
|
||||
border-top-left-radius: 80px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
.quick-settings-logo {
|
||||
font-size: 24px;
|
||||
min-height: 36px;
|
||||
min-width: 36px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
background-color: rgba(0,0,0,0);
|
||||
color: #CBA6F7;
|
||||
border-radius: 80px;
|
||||
border: 2px solid rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.quick-settings-logo:hover {
|
||||
background-color: rgba(127, 132, 156, 0.4);
|
||||
transition: background-color 0.5s ease-in-out;
|
||||
}
|
43
config/eww/quick-settings/quick-settings.yuck
Normal file
43
config/eww/quick-settings/quick-settings.yuck
Normal file
|
@ -0,0 +1,43 @@
|
|||
(defwidget quick-settings-smol []
|
||||
(box :class "quick-settings-smol"
|
||||
:orientation "h"
|
||||
(label :text " ")
|
||||
)
|
||||
)
|
||||
(defwindow quick-settings-smol
|
||||
:monitor 0
|
||||
:stacking "overlay"
|
||||
:exclusive "ignore"
|
||||
:geometry (geometry :x "5px"
|
||||
:y "10px"
|
||||
:width "0px"
|
||||
:height "0px"
|
||||
:anchor "top right"
|
||||
)
|
||||
(quick-settings-smol)
|
||||
)
|
||||
|
||||
|
||||
(defwidget quick-settings-logo []
|
||||
(eventbox :class "quick-settings-logo"
|
||||
:onclick "eww close quick-settings-smol; eww close quick-settings-logo"
|
||||
:cursor "pointer"
|
||||
|
||||
(box :class "quick-settings-logo"
|
||||
:orientation "h"
|
||||
(label :text " ")
|
||||
)
|
||||
)
|
||||
)
|
||||
(defwindow quick-settings-logo
|
||||
:monitor 0
|
||||
:stacking "overlay"
|
||||
:exclusive "ignore"
|
||||
:geometry (geometry :x "5px"
|
||||
:y "10px"
|
||||
:width "0px"
|
||||
:height "0px"
|
||||
:anchor "top right"
|
||||
)
|
||||
(quick-settings-logo)
|
||||
)
|
Loading…
Reference in a new issue