refactor(src/window/panel/notch): move icons to notch/ path and adjust sizes
Update icon paths to use notch/ prefix and increase size of charging indicator to 24px.
This commit is contained in:
2 files changed
+7
-7
No files matched your search
@@ -28,7 +28,7 @@ class KeyboardLayoutIndicator(Box):
|
||||
self._kbd = KeyboardLayout.get_initial()
|
||||
|
||||
self._icon = svg_file(
|
||||
"misc/keyboard-layout.svg",
|
||||
"notch/keyboard-layout.svg",
|
||||
size=16,
|
||||
name="notch-indicator-icon",
|
||||
v_align="center",
|
||||
@@ -95,7 +95,7 @@ class CapsLockIndicator(Box):
|
||||
self._caps = CapsLock.get_initial()
|
||||
|
||||
self._icon = svg_file(
|
||||
"misc/caps-lock.svg",
|
||||
"notch/caps-lock.svg",
|
||||
size=16,
|
||||
name="notch-indicator-icon",
|
||||
v_align="center",
|
||||
@@ -160,7 +160,7 @@ class NumLockIndicator(Box):
|
||||
self._num = NumLock.get_initial()
|
||||
|
||||
self._icon = svg_file(
|
||||
"misc/num-lock.svg",
|
||||
"notch/num-lock.svg",
|
||||
size=16,
|
||||
name="notch-indicator-icon",
|
||||
v_align="center",
|
||||
@@ -232,7 +232,7 @@ class ChargingIndicator(Box):
|
||||
)
|
||||
self._icon = svg_file(
|
||||
"notch/charing.svg",
|
||||
size=18,
|
||||
size=24,
|
||||
name="notch-indicator-icon",
|
||||
v_align="center",
|
||||
)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from fabric.utils import GLib, time
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.widgets.button import Button
|
||||
from fabric.widgets.centerbox import CenterBox
|
||||
from fabric.widgets.label import Label
|
||||
from fabric.widgets.box import Box
|
||||
from services.screencapture import screen_capture_service
|
||||
|
||||
from services.screencapture import screen_capture_service
|
||||
from utils.utils import setup_cursor_hover, svg_file
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class RecordingIndicator(Box):
|
||||
self.recording_start_time = None
|
||||
self.timer_timeout_id = None
|
||||
|
||||
self.recording_icon = svg_file("misc/media-record.svg", size=24)
|
||||
self.recording_icon = svg_file("notch/media-record.svg", size=24)
|
||||
|
||||
self.recording_button = Button(
|
||||
name="panel-button",
|
||||
|
||||
Reference in new issue
Block a user