mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2025-12-20 00:10:02 +01:00
new feature, a flag for notifications -n / --notify. It's using the notify-send command line utility to send desktop notifications. By default I made it compatible with dunst (you will need to enable full markup in the dunst config) but it should work with other notification daemons too.
27 lines
518 B
C++
27 lines
518 B
C++
#pragma once
|
|
|
|
#include "debug/Log.hpp"
|
|
#include "includes.hpp"
|
|
#include "helpers/Monitor.hpp"
|
|
#include "helpers/Color.hpp"
|
|
#include "clipboard/Clipboard.hpp"
|
|
#include "notify/Notify.hpp"
|
|
|
|
// git stuff
|
|
#ifndef GIT_COMMIT_HASH
|
|
#define GIT_COMMIT_HASH "?"
|
|
#endif
|
|
#ifndef GIT_BRANCH
|
|
#define GIT_BRANCH "?"
|
|
#endif
|
|
#ifndef GIT_COMMIT_MESSAGE
|
|
#define GIT_COMMIT_MESSAGE "?"
|
|
#endif
|
|
#ifndef GIT_DIRTY
|
|
#define GIT_DIRTY "?"
|
|
#endif
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <hyprutils/math/Vector2D.hpp>
|
|
using namespace Hyprutils::Math;
|