New backup 2025-07-24 14:45:02

This commit is contained in:
Penelope Gwen 2025-07-24 14:45:02 -07:00
parent 9a38b9b60c
commit b2aeebc96f
9 changed files with 31 additions and 10 deletions

View file

@ -95,7 +95,7 @@ progressbar>trough>progress {
border-radius: 4px;
min-height: 10px;
transition: box-shadow 0.3s;
}*/
}
scale trough highlight:hover {
box-shadow: 0px 0px 0px 2px $color2;
@ -110,8 +110,10 @@ circular-progress {
.revealer-on-hover {
color: $bar-module-fg-color;
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>revealer>box>box>*,
.reveal_children>*,
@ -125,7 +127,7 @@ circular-progress {
// background-color: rgba($color1,0.5);
// border: 1px solid $bar-module-fg-color;
}
}
}*/
.reveal_children>button {
image {

View file

@ -4,7 +4,7 @@
:revealvar reveal_battery
:revealvar-name "reveal_battery"
(label
:class {(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "active" : "" }
:class "revealer-preview {(EWW_BATTERY == '' || jq(EWW_BATTERY,'.[].status?','r') == 'Charging') ? 'active' : '' }"
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : "󰁹 "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)

View file

@ -4,7 +4,7 @@
:revealvar reveal_bluetooth
:revealvar-name "reveal_bluetooth"
(button :onclick 'blueman-manager'
:class {matches(jq(bluetooth_status,'.[].connected'),'yes') ? "active" : "inactive"}
:class "revealer-preview {matches(jq(bluetooth_status,'.[].connected'),'yes') ? 'active' : 'inactive'}"
"")
(bluetooth_children :array bluetooth_status)))

View file

@ -4,7 +4,7 @@
:revealvar reveal_network
:revealvar-name "reveal_network"
(button :onclick 'nm-connection-editor'
:class {network_status.wifi || network_status.wired ? "active" : "inactive"}
:class "revealer-preview ${network_status.wifi || network_status.wired ? 'active' : 'inactive'}"
"󰇧")
(network_children)))

View file

@ -4,6 +4,7 @@
:revealvar reveal_sysdisk
:revealvar-name "reveal_sysdisk"
(metric :label "󰟒 "
:class "revealer-preview"
:tooltip "home"
:value {EWW_DISK["/home"].used_perc})
(sysdisk_children)))

View file

@ -4,6 +4,7 @@
:revealvar reveal_sysmem
:revealvar-name "reveal_sysmem"
(metric :label " "
:class "revealer-preview"
:value {EWW_RAM.used_mem_perc})
(sysmem_children)))

View file

@ -4,7 +4,7 @@
:revealvar reveal_volume
:revealvar-name "reveal_volume"
(button :onclick 'pavucontrol-qt --tab 3'
:class {(volume == 0) ? "" : "active"}
:class "revealer-preview ${(volume == 0) ? '' : 'active'}"
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
(volume_children)))

View file

@ -4,7 +4,7 @@
:revealvar reveal_vpn
:revealvar-name "reveal_vpn"
(button :onclick 'notify-send "test"'
:class {network_status.proton || network_status.homevpn ? "active" : "inactive"}
:class "revealer-preview ${network_status.proton || network_status.homevpn ? 'active' : 'inactive'}"
{network_status.proton || network_status.homevpn ? "" : ""})
(vpn_children)))

View file

@ -60,7 +60,7 @@
}
}
}
scale trought,
scale trough,
progressbar>trough {
background-color: $color9;
min-width: 50px;
@ -73,5 +73,22 @@
border-radius: 4px;
min-height: 10px;
transition: box-shadow 0.3s;
&:hover{
box-shadow: 0px 0px 0px 2px $color2;
}
}
//value graphs
circular-progress {
color: $color9;
background-color: $color2;
}
// .revealer-on-hover>widget>
.revealer-preview {
padding: 3px 4px;
min-width: $bar-module-width;
transition: all 0.3s;
&:hover {
text-shadow: $bar-module-hover-shadow;
}
}
}