New backup 2025-09-03 12:45:02
This commit is contained in:
parent
8ddfb2977d
commit
723a01af4a
6 changed files with 13 additions and 8 deletions
|
@ -5,12 +5,12 @@
|
||||||
: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)))
|
||||||
|
|
||||||
(defwidget network_children []
|
(defwidget network_children []
|
||||||
(box :class "reveal_children"
|
(box :class "reveal-children"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
: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.vpn ? "" : ""})
|
{network_status.vpn ? "" : ""})
|
||||||
(vpn_children)))
|
(vpn_children)))
|
||||||
|
|
||||||
(defwidget vpn_children []
|
(defwidget vpn_children []
|
||||||
(box :class "reveal_children"
|
(box :class "reveal-children"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.bluetooth {
|
.bluetooth {
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: $color4;
|
$module-color: mix($color4,$color0,75%);
|
||||||
@import "./revealer.scss";
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
.networks {
|
.networks {
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: darker($color5);
|
$module-color: mix($color14,$color0,75%);
|
||||||
@import "./revealer.scss";
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
||||||
.vpn {
|
.vpn {
|
||||||
margin: 0px 10px;
|
margin: 0px 5px;
|
||||||
|
$module-color: mix($color6,$color0,75%);
|
||||||
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
}
|
}
|
||||||
.reveal-children>* {
|
.reveal-children>* {
|
||||||
border-left: 2px solid $module-color;
|
border-left: 2px solid $module-color;
|
||||||
|
&.active {
|
||||||
|
background-color: rgba($module-color,0.5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//.revealer-on-hover>widget>box>box>* {
|
//.revealer-on-hover>widget>box>box>* {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.volume {
|
.volume {
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: darker($color3);
|
$module-color: mix($color9, $color0, 75%);
|
||||||
@import "./revealer.scss";
|
@import "./revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue