From 4579ebac1d049ec451d4e7c2619dc55ea911a9df Mon Sep 17 00:00:00 2001 From: tcmal Date: Fri, 21 Jun 2024 21:00:25 +0100 Subject: move border colours to config --- src/config.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index c36a313..e6478b3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,11 +1,17 @@ +#![allow(clippy::unreadable_literal)] // Colours are more readable this way imo use std::process::Command; use xcb::x::ModMask; use xkeysym::Keysym; -use crate::keys::{Keybind, Keybinds}; +use crate::{ + conn_info::Colour, + keys::{Keybind, Keybinds}, +}; pub const BORDER_WIDTH: u16 = 3; +pub const BORDER_NORMAL: Colour = Colour::from_hex(0x000000); +pub const BORDER_FOCUSED: Colour = Colour::from_hex(0xff0000); /// The keybinds to use. pub const KEYBINDS: Keybinds = Keybinds(&[Keybind { -- cgit v1.2.3