diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/common.nix | 6 | ||||
| -rw-r--r-- | modules/home/imhex-refresh-callback.patch | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix index 56cc186..b42b2b3 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -87,6 +87,12 @@ vimAlias = true; }; + xdg.portal = { + enable = true; + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + config.common.default = "gtk"; + }; + virtualisation.docker.enable = true; programs.nix-index.enable = false; diff --git a/modules/home/imhex-refresh-callback.patch b/modules/home/imhex-refresh-callback.patch new file mode 100644 index 0000000..eef0251 --- /dev/null +++ b/modules/home/imhex-refresh-callback.patch @@ -0,0 +1,12 @@ +diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp +index e0469cb..114a0e9 100644 +--- a/main/gui/source/window/window.cpp ++++ b/main/gui/source/window/window.cpp +@@ -1099,6 +1099,7 @@ namespace hex { + glfwSetCursorPosCallback(m_window, unlockFrameRate); + glfwSetMouseButtonCallback(m_window, unlockFrameRate); + glfwSetScrollCallback(m_window, unlockFrameRate); ++ glfwSetWindowRefreshCallback(m_window, unlockFrameRate); + + glfwSetWindowFocusCallback(m_window, [](GLFWwindow *window, int focused) { + unlockFrameRate(window); |
