From 98d80f4a06c8fd3dbc798b22bbfce51ee9e12aa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Av=C3=A9?= <email@thomasave.be>
Date: Sat, 6 Jul 2024 23:50:25 +0200
Subject: [PATCH] Sat  6 Jul 23:50:25 CEST 2024

---
 flake.lock               | 20 ++++++++++----------
 home/ags/files/config.js |  2 +-
 home/ags/files/style.css |  2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/flake.lock b/flake.lock
index 7bf6253..4df922d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -25,11 +25,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1720045378,
-        "narHash": "sha256-lmE7B+QXw7lWdBu5GQlUABSpzPk3YBb9VbV+IYK5djk=",
+        "lastModified": 1720289319,
+        "narHash": "sha256-E3CjSsXNDWYqoNjrKQLPdEZDLR+mVI9HMa+jY//FjBY=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "0a30138c694ab3b048ac300794c2eb599dc40266",
+        "rev": "10486e6b311b3c5ae1c3477fee058704cea7cb4a",
         "type": "github"
       },
       "original": {
@@ -78,11 +78,11 @@
         "xdph": "xdph"
       },
       "locked": {
-        "lastModified": 1720092067,
-        "narHash": "sha256-ebMlTz4wm+Md5BkCk6uGcRUvOvyjtc4bENvVSO5jrBI=",
+        "lastModified": 1720213509,
+        "narHash": "sha256-aPYf8Jnu1fMgMYMgQnH433/Fcqfky1Z5ZuzCkNKcR1U=",
         "ref": "refs/heads/main",
-        "rev": "0a6e83005f1910b5c1ec78476fcffc05af47833a",
-        "revCount": 4906,
+        "rev": "cc98594c3aed0b542e03818371a4636f549f80e1",
+        "revCount": 4908,
         "submodules": true,
         "type": "git",
         "url": "https://github.com/hyprwm/Hyprland"
@@ -264,11 +264,11 @@
     },
     "nur": {
       "locked": {
-        "lastModified": 1720122287,
-        "narHash": "sha256-yIG/3GoJ1iNAmeRbWCoziKS3ZwKnUA92PmwqWPxVb3s=",
+        "lastModified": 1720295364,
+        "narHash": "sha256-clwkx3bqmlWPbAtywxJoqw0K7pEVUvQj5BArCqZxcUQ=",
         "owner": "nix-community",
         "repo": "NUR",
-        "rev": "cbe0c14a99ad25bf7f4242830be11ede98f46617",
+        "rev": "196f75d02c4a5662ac22763c1be690f91e21ef7b",
         "type": "github"
       },
       "original": {
diff --git a/home/ags/files/config.js b/home/ags/files/config.js
index f3d4863..0e32c1a 100644
--- a/home/ags/files/config.js
+++ b/home/ags/files/config.js
@@ -208,7 +208,7 @@ function Right() {
         label: Variable("", {
           poll: [5000, 'sensors', out => out.split('\n')
             .find(line => line.includes('Tctl') || line.includes('Package'))
-            .split(/\s+/)[1].replace("+", "")],
+            .match(/[0-9.]*°C/)[0]],
         }).bind(),
       }),
       Widget.Button({
diff --git a/home/ags/files/style.css b/home/ags/files/style.css
index 936107f..0deb67f 100644
--- a/home/ags/files/style.css
+++ b/home/ags/files/style.css
@@ -24,8 +24,8 @@ window.bar {
 .battery-item {
     padding-left: 0.6em;
     padding-right: 0.6em;
-    margin-right: 0.6em;
     border-radius: 0.3em;
+    background: #1f2430;
 }
 
 .item, .clients box {