New backup 2025-07-24 14:45:02
This commit is contained in:
parent
9a38b9b60c
commit
b2aeebc96f
9 changed files with 31 additions and 10 deletions
|
@ -95,7 +95,7 @@ progressbar>trough>progress {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
transition: box-shadow 0.3s;
|
transition: box-shadow 0.3s;
|
||||||
}*/
|
}
|
||||||
|
|
||||||
scale trough highlight:hover {
|
scale trough highlight:hover {
|
||||||
box-shadow: 0px 0px 0px 2px $color2;
|
box-shadow: 0px 0px 0px 2px $color2;
|
||||||
|
@ -110,8 +110,10 @@ circular-progress {
|
||||||
.revealer-on-hover {
|
.revealer-on-hover {
|
||||||
color: $bar-module-fg-color;
|
color: $bar-module-fg-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,
|
||||||
.revealer-on-hover>widget>box>revealer>box>box>*,
|
.revealer-on-hover>widget>box>revealer>box>box>*,
|
||||||
.reveal_children>*,
|
.reveal_children>*,
|
||||||
|
@ -125,7 +127,7 @@ circular-progress {
|
||||||
// background-color: rgba($color1,0.5);
|
// background-color: rgba($color1,0.5);
|
||||||
// border: 1px solid $bar-module-fg-color;
|
// border: 1px solid $bar-module-fg-color;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.reveal_children>button {
|
.reveal_children>button {
|
||||||
image {
|
image {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:revealvar reveal_battery
|
:revealvar reveal_battery
|
||||||
:revealvar-name "reveal_battery"
|
:revealvar-name "reveal_battery"
|
||||||
(label
|
(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?')}%"
|
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
||||||
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${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)}%"}`)
|
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:revealvar reveal_bluetooth
|
:revealvar reveal_bluetooth
|
||||||
:revealvar-name "reveal_bluetooth"
|
:revealvar-name "reveal_bluetooth"
|
||||||
(button :onclick 'blueman-manager'
|
(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)))
|
(bluetooth_children :array bluetooth_status)))
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:revealvar reveal_network
|
:revealvar reveal_network
|
||||||
:revealvar-name "reveal_network"
|
:revealvar-name "reveal_network"
|
||||||
(button :onclick 'nm-connection-editor'
|
(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)))
|
(network_children)))
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
:revealvar reveal_sysdisk
|
:revealvar reveal_sysdisk
|
||||||
:revealvar-name "reveal_sysdisk"
|
:revealvar-name "reveal_sysdisk"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
|
:class "revealer-preview"
|
||||||
:tooltip "home"
|
:tooltip "home"
|
||||||
:value {EWW_DISK["/home"].used_perc})
|
:value {EWW_DISK["/home"].used_perc})
|
||||||
(sysdisk_children)))
|
(sysdisk_children)))
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
:revealvar reveal_sysmem
|
:revealvar reveal_sysmem
|
||||||
:revealvar-name "reveal_sysmem"
|
:revealvar-name "reveal_sysmem"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
|
:class "revealer-preview"
|
||||||
:value {EWW_RAM.used_mem_perc})
|
:value {EWW_RAM.used_mem_perc})
|
||||||
(sysmem_children)))
|
(sysmem_children)))
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:revealvar reveal_volume
|
:revealvar reveal_volume
|
||||||
:revealvar-name "reveal_volume"
|
:revealvar-name "reveal_volume"
|
||||||
(button :onclick 'pavucontrol-qt --tab 3'
|
(button :onclick 'pavucontrol-qt --tab 3'
|
||||||
:class {(volume == 0) ? "" : "active"}
|
:class "revealer-preview ${(volume == 0) ? '' : 'active'}"
|
||||||
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
||||||
(volume_children)))
|
(volume_children)))
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
:revealvar reveal_vpn
|
:revealvar reveal_vpn
|
||||||
:revealvar-name "reveal_vpn"
|
:revealvar-name "reveal_vpn"
|
||||||
(button :onclick 'notify-send "test"'
|
(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 ? "" : ""})
|
{network_status.proton || network_status.homevpn ? "" : ""})
|
||||||
(vpn_children)))
|
(vpn_children)))
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scale trought,
|
scale trough,
|
||||||
progressbar>trough {
|
progressbar>trough {
|
||||||
background-color: $color9;
|
background-color: $color9;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
|
@ -73,5 +73,22 @@
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
transition: box-shadow 0.3s;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue