From 2bbbc1af20e53ae2236a96c0845a98add311a8f6 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 2 Sep 2025 15:30:03 -0700 Subject: [PATCH] New backup 2025-09-02 15:30:03 --- de/home/.config/eww/modules/home.yuck | 2 +- de/home/.config/eww/style/bar.scss | 26 +++++++++---------- de/home/.config/eww/style/bar/bluetooth.scss | 5 ++++ de/home/.config/eww/style/bar/revealer.scss | 6 +++++ .../.config/sway/scripts/open-eww-windows.sh | 1 + 5 files changed, 26 insertions(+), 14 deletions(-) diff --git a/de/home/.config/eww/modules/home.yuck b/de/home/.config/eww/modules/home.yuck index 04e8e33..74fe689 100644 --- a/de/home/.config/eww/modules/home.yuck +++ b/de/home/.config/eww/modules/home.yuck @@ -1,4 +1,4 @@ -(defvar homewidgets_reveal true) +(defvar homewidgets_reveal false) (defwidget home [] (revealer diff --git a/de/home/.config/eww/style/bar.scss b/de/home/.config/eww/style/bar.scss index a4aa7b5..5dd8618 100644 --- a/de/home/.config/eww/style/bar.scss +++ b/de/home/.config/eww/style/bar.scss @@ -12,19 +12,19 @@ $transition-time: 0.3s; .leftgroup, .centergroup, .rightgroup { - .revealer-on-hover { - border: 2px solid $bar-bg-color; - border-radius: $bar-module-border-radius; - } +// .revealer-on-hover { +// border: 2px solid $bar-bg-color; +// border-radius: $bar-module-border-radius; +// } - .revealer-on-hover>widget>box>box>*, - .revealer-on-hover>widget>box>box>button { - color: $color0; - background-color: $bar-bg-color; - border-radius: $bar-module-border-radius - 4; - &:hover { - } - } +// .revealer-on-hover>widget>box>box>*, +// .revealer-on-hover>widget>box>box>button { +// color: $color0; +// background-color: $bar-bg-color; +// border-radius: $bar-module-border-radius - 4; +// &:hover { +// } +// } .reveal_children { &>*, widget>image { @@ -57,7 +57,7 @@ $transition-time: 0.3s; &>box>label, .bar-module>button, .bar-module>label, - .revealer-on-hover>widget>box>box>*, +// .revealer-on-hover>widget>box>box>*, .reveal_children>widget>image, .reveal_children:not(.tray)>* { padding: 0px 5px; diff --git a/de/home/.config/eww/style/bar/bluetooth.scss b/de/home/.config/eww/style/bar/bluetooth.scss index 54502f5..15a1f37 100644 --- a/de/home/.config/eww/style/bar/bluetooth.scss +++ b/de/home/.config/eww/style/bar/bluetooth.scss @@ -1,3 +1,8 @@ .bluetooth { + .revealer-preview { + background-color:blue; + border-radius: $bar-module-border-radius - 4; + } margin: 0px 10px; + @import "./revealer.scss" } diff --git a/de/home/.config/eww/style/bar/revealer.scss b/de/home/.config/eww/style/bar/revealer.scss index e69de29..1c8ed0a 100644 --- a/de/home/.config/eww/style/bar/revealer.scss +++ b/de/home/.config/eww/style/bar/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; +} diff --git a/de/home/.config/sway/scripts/open-eww-windows.sh b/de/home/.config/sway/scripts/open-eww-windows.sh index 317f6fc..2a78c81 100755 --- a/de/home/.config/sway/scripts/open-eww-windows.sh +++ b/de/home/.config/sway/scripts/open-eww-windows.sh @@ -7,3 +7,4 @@ done while read o;do eww open --screen "${o}" bar --id "${o}" 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