From 64c41fa2c8853aefc8f62bf9492043a6c25b8c8f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 7 Jan 2024 09:07:22 +0400 Subject: Move config into a separate crate Get miette and knuffel deps contained within. --- src/niri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/niri.rs') diff --git a/src/niri.rs b/src/niri.rs index 52cb41fa..3080fbe1 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -10,6 +10,7 @@ use std::{env, mem, thread}; use _server_decoration::server::org_kde_kwin_server_decoration_manager::Mode as KdeDecorationsMode; use anyhow::Context; +use niri_config::{Config, TrackLayout}; use smithay::backend::allocator::Fourcc; use smithay::backend::renderer::element::solid::{SolidColorBuffer, SolidColorRenderElement}; use smithay::backend::renderer::element::surface::{ @@ -86,7 +87,6 @@ use smithay::wayland::virtual_keyboard::VirtualKeyboardManagerState; use crate::animation; use crate::backend::tty::{SurfaceDmabufFeedback, TtyFrame, TtyRenderer, TtyRendererError}; use crate::backend::{Backend, RenderResult, Tty, Winit}; -use crate::config::{Config, TrackLayout}; use crate::cursor::{CursorManager, CursorTextureCache, RenderCursor, XCursor}; #[cfg(feature = "dbus")] use crate::dbus::gnome_shell_screenshot::{NiriToScreenshot, ScreenshotToNiri}; -- cgit