use hyprland command socket instead of spawning a hyprctl process
This commit is contained in:
@@ -66,7 +66,7 @@ std::unique_ptr<Gtk::CenterBox> SpotifyNotification::createButtonBox(MprisPlayer
|
||||
backButton->signal_clicked().connect([this, mpris]() {
|
||||
if (mpris.previous) {
|
||||
mpris.previous();
|
||||
this->signal_close.emit(this->notificationId);
|
||||
this->getSignalClose().emit(this->getNotificationId());
|
||||
}
|
||||
});
|
||||
|
||||
@@ -93,7 +93,7 @@ std::unique_ptr<Gtk::CenterBox> SpotifyNotification::createButtonBox(MprisPlayer
|
||||
nextButton->signal_clicked().connect([this, mpris]() {
|
||||
if (mpris.next) {
|
||||
mpris.next();
|
||||
this->signal_close.emit(this->notificationId);
|
||||
this->getSignalClose().emit(this->getNotificationId());
|
||||
}
|
||||
});
|
||||
buttonBox->set_start_widget(*backButton);
|
||||
|
||||
Reference in New Issue
Block a user