Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure only one instance of hyprsunset is running #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ execute_process(
#

include_directories(.)
set(CMAKE_CXX_STANDARD 26)
set(CMAKE_CXX_STANDARD 23)
add_compile_options(
-Wall
-Wextra
Expand Down Expand Up @@ -98,7 +98,7 @@ endfunction()

protocolwayland()

pkg_check_modules(hyprland_protocols_dep REQUIRED IMPORTED_TARGET hyprland-protocols>=0.4.0)
pkg_check_modules(hyprland_protocols_dep REQUIRED IMPORTED_TARGET hyprland-protocols>=0.6.2)
pkg_get_variable(HYPRLAND_PROTOCOLS hyprland-protocols pkgdatadir)
message(STATUS "hyprland-protocols dependency set to ${HYPRLAND_PROTOCOLS}")

Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions src/IPCSemaphore.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions src/IPCSemaphore.hpp

This file was deleted.

138 changes: 0 additions & 138 deletions src/InstanceLock.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions src/InstanceLock.hpp

This file was deleted.

47 changes: 0 additions & 47 deletions src/helpers/GetRuntimeDir.cpp

This file was deleted.

5 changes: 0 additions & 5 deletions src/helpers/GetRuntimeDir.hpp

This file was deleted.

5 changes: 1 addition & 4 deletions src/helpers/Log.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#pragma once

#include <format>
#include <fstream>
#include <string>
#include <iostream>

enum LogLevel {
NONE = -1,
Expand All @@ -30,4 +27,4 @@ namespace Debug {

std::cout << std::vformat(fmt.get(), std::make_format_args(args...)) << std::endl; // flush cuz systemd etc
}
}; // namespace Debug
}; // namespace Debug
Loading
Loading