From 86fcbd35b14f20dfb58c1739fcc10a6ebbd1fdbe Mon Sep 17 00:00:00 2001 From: tr1x_em Date: Sun, 3 Aug 2025 15:49:15 +0530 Subject: [PATCH] Added New ICON for bluetooth paired --- .../assets/icons/applets/bluetooth-clear.svg | 7 ++-- .../icons/applets/bluetooth-off-clear.svg | 35 ++++--------------- .../assets/icons/applets/bluetooth-paired.svg | 7 ++++ modules/panel/main.py | 2 +- styles/panel.css | 1 - 5 files changed, 19 insertions(+), 33 deletions(-) mode change 100755 => 100644 config/assets/icons/applets/bluetooth-clear.svg mode change 100755 => 100644 config/assets/icons/applets/bluetooth-off-clear.svg create mode 100644 config/assets/icons/applets/bluetooth-paired.svg diff --git a/config/assets/icons/applets/bluetooth-clear.svg b/config/assets/icons/applets/bluetooth-clear.svg old mode 100755 new mode 100644 index 69e7b25..bf893b0 --- a/config/assets/icons/applets/bluetooth-clear.svg +++ b/config/assets/icons/applets/bluetooth-clear.svg @@ -1,3 +1,6 @@ - - + + + + + diff --git a/config/assets/icons/applets/bluetooth-off-clear.svg b/config/assets/icons/applets/bluetooth-off-clear.svg old mode 100755 new mode 100644 index ecc1ab0..e77c35b --- a/config/assets/icons/applets/bluetooth-off-clear.svg +++ b/config/assets/icons/applets/bluetooth-off-clear.svg @@ -1,30 +1,7 @@ - - - - - - image/svg+xml - - - - - - - + + + + diff --git a/config/assets/icons/applets/bluetooth-paired.svg b/config/assets/icons/applets/bluetooth-paired.svg new file mode 100644 index 0000000..60fe35c --- /dev/null +++ b/config/assets/icons/applets/bluetooth-paired.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/modules/panel/main.py b/modules/panel/main.py index 6f8334a..5872a61 100644 --- a/modules/panel/main.py +++ b/modules/panel/main.py @@ -41,7 +41,7 @@ class Panel(Window): self.imac = Button( name="panel-button", child=Svg( - size=20, + size=21, svg_file=get_relative_path("../../config/assets/icons/misc/logo.svg"), ), on_clicked=lambda *_: self.menubar.show_system_dropdown(self.imac), diff --git a/styles/panel.css b/styles/panel.css index 41b4a35..bd295c9 100644 --- a/styles/panel.css +++ b/styles/panel.css @@ -16,7 +16,6 @@ } #panel-button { - border-radius: 8px; margin: 0 4px 0 4px; min-width: 20px; min-height: 20px;