New backup 2025-07-25 20:15:07

This commit is contained in:
Penelope Gwen 2025-07-25 20:15:07 -07:00
parent 7ce48bc2a9
commit 6e6e2dc632
9 changed files with 24 additions and 9 deletions

View file

@ -1,6 +1,7 @@
(defvar reveal_battery false)
(defwidget battery []
(revealer-on-hover
:class "${reveal_battery}"
:revealvar reveal_battery
:revealvar-name "reveal_battery"
(label

View file

@ -1,6 +1,7 @@
(defvar reveal_bluetooth false)
(defwidget bluetooth []
(revealer-on-hover
:class "${reveal_bluetooth}"
:revealvar reveal_bluetooth
:revealvar-name "reveal_bluetooth"
(button :onclick 'blueman-manager'

View file

@ -1,6 +1,7 @@
(defvar reveal_network false)
(defwidget network []
(revealer-on-hover
:class "${reveal_network}"
:revealvar reveal_network
:revealvar-name "reveal_network"
(button :onclick 'nm-connection-editor'

View file

@ -1,6 +1,7 @@
(defvar reveal_sysdisk false)
(defwidget sysdisk []
(revealer-on-hover
:class "${reveal_sysdisk}"
:revealvar reveal_sysdisk
:revealvar-name "reveal_sysdisk"
(metric :label "󰟒 "

View file

@ -1,6 +1,7 @@
(defvar reveal_sysmem false)
(defwidget sysmem []
(revealer-on-hover
:class "${reveal_sysmem}"
:revealvar reveal_sysmem
:revealvar-name "reveal_sysmem"
(metric :label " "

View file

@ -1,7 +1,7 @@
(defvar reveal_tray false)
(defwidget tray []
(revealer-on-hover
:class "tray ${reveal_tray}"
:class "tray_tab ${reveal_tray}"
:revealvar reveal_tray
:revealvar-name "reveal_tray"
{reveal_tray ? "" : ""}

View file

@ -1,6 +1,7 @@
(defvar reveal_volume false)
(defwidget volume []
(revealer-on-hover
:class "${reveal_volume}"
:revealvar reveal_volume
:revealvar-name "reveal_volume"
(button :onclick 'pavucontrol-qt --tab 3'

View file

@ -1,6 +1,7 @@
(defvar reveal_vpn false)
(defwidget vpn []
(revealer-on-hover
:class "${reveal_vpn}"
:revealvar reveal_vpn
:revealvar-name "reveal_vpn"
(button :onclick 'notify-send "test"'

View file

@ -20,9 +20,10 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
color: $bar-module-fg-color;
border-radius: $bar-module-inner-radius;
margin: 0px 5px;
// padding: 0px 5px;
margin-left: 0px;
padding: 6px 10px;
min-width: $bar-module-width;
padding-right: 5px;
// padding-right: 5px;
// &:first-child {
// margin-left: 0px;
// }
@ -34,6 +35,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
border-radius: $bar-module-inner-radius;
}
.revealer-on-hover>widget>box>box>*,
.reveal_children>widget>image,
.reveal_children:not(.tray)>*,
&>button,
&>label {
@ -42,18 +44,22 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
.revealer-on-hover.true {
background-color: $bar-reveal-children-bg-color;
border-radius: $bar-module-inner-radius;
&>widget>box>box>* {
background-color: $bar-bg-color;
}
}
.reveal_children {
border-radius: 0px $bar-module-inner-radius $bar-module-inner-radius 0px;
}
.reveal_children>* {
.reveal_children>widget>image,
.reveal_children:not(.tray)>* {
margin-left: -6px;
}
}
.workspaces {
color: $bar-module-fg-color;
margin: 0px 5px;
margin: 2px 5px;
revealer {
&.ws-left {
@ -71,6 +77,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
}
button {
min-width: 35px;
padding: 2px 3px;
transition: all 0.3s;
&.left {
// margin-right: -2px;
@ -131,6 +138,7 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
.bar-module>button,
.bar-module>label,
.revealer-on-hover>widget>box>box>*,
.reveal_children>widget>image,
.reveal_children:not(.tray)>* {
padding: 0px 5px;
min-width: $bar-module-width;
@ -142,13 +150,13 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
}
.tray>widget>image,
.scratchpad>button>image {
padding: 3px 4px;
padding: 3px 10px;
min-width: $bar-module-width;
}
.tray>widget,
.scratchpad>button {
image{
opacity: 0.3;
opacity: 0.5;
transition: all 0.3s;
border-radius: $bar-module-inner-radius;
}
@ -168,8 +176,8 @@ $bar-reveal-children-bg-color: rgba($color0, 0.2);
.scratchpad>widget>box>box,
.scratchpad .reveal_children>*:last-child,
.tray>widget>box>box,
.scratchpad .reveal_children>*:last-child {
.tray_tab>widget>box>box,
.tray_tab .reveal_children>widget:last-child>image {
margin-right: -5px;
box-shadow: 0px 0px 0px 0px transparent;
}