From 894bb92fe32665f694b49f9b9327dc98077da299 Mon Sep 17 00:00:00 2001
From: Penelope Gwen <support@pogmom.me>
Date: Mon, 3 Mar 2025 22:30:02 -0800
Subject: [PATCH] New backup 2025-03-03 22:30:02

---
 de/home/.config/eww/eww.scss |  5 +----
 de/home/.config/eww/eww.yuck | 28 ++++++++++++++++++++++++----
 2 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss
index b4357bf..5939924 100644
--- a/de/home/.config/eww/eww.scss
+++ b/de/home/.config/eww/eww.scss
@@ -53,15 +53,12 @@ circular-progress {
   border-left: 2px solid $color1;
 }
 .rightgroup>label,
+.rightgroup>button,
 .systray {
   background-color: $color9;
   border: 2px solid $color1;
   color: $color0;
-  margin: 0px 0px;
   padding: 2px;
-}
-.rightgroup>label,
-.systray {
   border-radius: 8px;
   margin: 0px 2px;
 }
diff --git a/de/home/.config/eww/eww.yuck b/de/home/.config/eww/eww.yuck
index c9a5933..f2970a1 100644
--- a/de/home/.config/eww/eww.yuck
+++ b/de/home/.config/eww/eww.yuck
@@ -6,10 +6,10 @@
 
 (defwidget rightgroup []
   (box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
-    "  "
-    "🖧 "
-    " "
-    " "
+    (idleinhibit)
+    (network)
+    (vpn)
+    (bluetooth)
     (sysdisk)
     (sysmem)
     {formattime(EWW_TIME,"%b %d, %Y   %H:%M")}
@@ -29,6 +29,26 @@
         :class {entry.focused ? "focused" : ""}
    `${replace(entry.name,".*:","")}`))))
 
+(defwidget network []
+  (button :onclick 'nm-connection-editor'
+    "🖧"))
+
+(defwidget bluetooth []
+  (button :onclick 'blueman-manager'
+    ""))
+
+(defvar inhibit_active false)
+(defwidget idleinhibit []
+  (button :onclick 'notify-send "test"'
+    :class {inhibit_active ? "active" : ""}
+    {inhibit_active ? "" : ""}))
+
+(defvar vpn_active false)
+(defwidget vpn []
+  (button :onclick 'notify-send "test"'
+    :class {vpn_active ? "active" : ""}
+    {vpn_active ? "" : ""}))
+
 (defwidget systemtray []
   (systray
        :class "systray"