fix(waybar): align www widget
This commit is contained in:
parent
dd4d9894b7
commit
d5a6763585
1 changed files with 7 additions and 2 deletions
|
|
@ -352,7 +352,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."eww/eww.yuck".text = ''
|
xdg.configFile."eww/eww.yuck".text = ''
|
||||||
(deflisten audio :initial '{"sv":0,"sm":false,"iv":0,"im":false}' "''${EWW_CONFIG_DIR}/scripts/audio")
|
(deflisten audio :initial '{"sv":0,"sm":false,"iv":0,"im":false}' "${config.xdg.configHome}/eww/scripts/audio")
|
||||||
|
|
||||||
(defwidget volume-popup []
|
(defwidget volume-popup []
|
||||||
(box :class "volume-popup" :orientation "v" :space-evenly false :spacing 12
|
(box :class "volume-popup" :orientation "v" :space-evenly false :spacing 12
|
||||||
|
|
@ -369,7 +369,7 @@ in
|
||||||
|
|
||||||
(defwindow volume
|
(defwindow volume
|
||||||
:monitor 0
|
:monitor 0
|
||||||
:geometry (geometry :x "-16px" :y "8px" :width "280px" :anchor "top right")
|
:geometry (geometry :x "-16px" :y "42px" :width "280px" :anchor "top right")
|
||||||
:stacking "overlay"
|
:stacking "overlay"
|
||||||
:exclusive false
|
:exclusive false
|
||||||
:focusable false
|
:focusable false
|
||||||
|
|
@ -379,9 +379,14 @@ in
|
||||||
xdg.configFile."eww/eww.scss".text = ''
|
xdg.configFile."eww/eww.scss".text = ''
|
||||||
@import "themes/theme";
|
@import "themes/theme";
|
||||||
|
|
||||||
|
window {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.volume-popup {
|
.volume-popup {
|
||||||
background: $bg;
|
background: $bg;
|
||||||
border: 2px solid $border;
|
border: 2px solid $border;
|
||||||
|
border-radius: 0;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue