deine mum
This commit is contained in:
@@ -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
3
include/icons.hpp
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define ICON_HOME "\ue88a"
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user