deine mum

This commit is contained in:
2025-12-12 23:11:55 +01:00
parent e1eeb370da
commit f1c68321a7
7 changed files with 42 additions and 25 deletions

View File

@@ -10,6 +10,7 @@
#include "widgets/tray.hpp"
#include "widgets/webWidget.hpp"
#include "widgets/workspaceIndicator.hpp"
#include "icons.hpp"
class Bar : public Gtk::Window {
public:
@@ -25,7 +26,7 @@ class Bar : public Gtk::Window {
private:
Clock clock;
Date date;
WebWidget homeAssistant {"HA", "Home Assistant",
WebWidget homeAssistant {ICON_HOME, "Home Assistant",
"https://home.rivercry.com"};
TrayService &trayService;
HyprlandService &hyprlandService;

3
include/icons.hpp Normal file
View File

@@ -0,0 +1,3 @@
#pragma once
#define ICON_HOME "\ue88a"

View File

@@ -5,7 +5,7 @@
class WebWidget : public Gtk::Button {
public:
WebWidget(std::string label, std::string title, std::string url);
WebWidget(std::string icon, std::string title, std::string url);
~WebWidget() override;
private: