New backup 2025-09-02 15:30:03
This commit is contained in:
parent
2fcc845abe
commit
2bbbc1af20
5 changed files with 26 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
(defvar homewidgets_reveal true)
|
(defvar homewidgets_reveal false)
|
||||||
|
|
||||||
(defwidget home []
|
(defwidget home []
|
||||||
(revealer
|
(revealer
|
||||||
|
|
|
@ -12,19 +12,19 @@ $transition-time: 0.3s;
|
||||||
.leftgroup,
|
.leftgroup,
|
||||||
.centergroup,
|
.centergroup,
|
||||||
.rightgroup {
|
.rightgroup {
|
||||||
.revealer-on-hover {
|
// .revealer-on-hover {
|
||||||
border: 2px solid $bar-bg-color;
|
// border: 2px solid $bar-bg-color;
|
||||||
border-radius: $bar-module-border-radius;
|
// border-radius: $bar-module-border-radius;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.revealer-on-hover>widget>box>box>*,
|
// .revealer-on-hover>widget>box>box>*,
|
||||||
.revealer-on-hover>widget>box>box>button {
|
// .revealer-on-hover>widget>box>box>button {
|
||||||
color: $color0;
|
// color: $color0;
|
||||||
background-color: $bar-bg-color;
|
// background-color: $bar-bg-color;
|
||||||
border-radius: $bar-module-border-radius - 4;
|
// border-radius: $bar-module-border-radius - 4;
|
||||||
&:hover {
|
// &:hover {
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
.reveal_children {
|
.reveal_children {
|
||||||
&>*,
|
&>*,
|
||||||
widget>image {
|
widget>image {
|
||||||
|
@ -57,7 +57,7 @@ $transition-time: 0.3s;
|
||||||
&>box>label,
|
&>box>label,
|
||||||
.bar-module>button,
|
.bar-module>button,
|
||||||
.bar-module>label,
|
.bar-module>label,
|
||||||
.revealer-on-hover>widget>box>box>*,
|
// .revealer-on-hover>widget>box>box>*,
|
||||||
.reveal_children>widget>image,
|
.reveal_children>widget>image,
|
||||||
.reveal_children:not(.tray)>* {
|
.reveal_children:not(.tray)>* {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
.bluetooth {
|
.bluetooth {
|
||||||
|
.revealer-preview {
|
||||||
|
background-color:blue;
|
||||||
|
border-radius: $bar-module-border-radius - 4;
|
||||||
|
}
|
||||||
margin: 0px 10px;
|
margin: 0px 10px;
|
||||||
|
@import "./revealer.scss"
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
//background-color: blue;
|
||||||
|
.revealer-on-hover>widget>box>box>* {
|
||||||
|
padding: 0px 5px;
|
||||||
|
min-width: $bar-module-width;
|
||||||
|
transition: all 0.3s;
|
||||||
|
}
|
|
@ -7,3 +7,4 @@ done
|
||||||
while read o;do
|
while read o;do
|
||||||
eww open --screen "${o}" bar --id "${o}"
|
eww open --screen "${o}" bar --id "${o}"
|
||||||
done < <(swaymsg -t get_outputs | jq -r '.[].name')
|
done < <(swaymsg -t get_outputs | jq -r '.[].name')
|
||||||
|
eww open --screen "$(swaymsg -t get_outputs | jq -r '.[0].name')" home;eww update homewidgets_reveal=true
|
||||||
|
|
Loading…
Add table
Reference in a new issue