summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-21 21:00:25 +0100
committertcmal <me@aria.rip>2024-06-21 21:00:25 +0100
commit4579ebac1d049ec451d4e7c2619dc55ea911a9df (patch)
tree4573f2e87e6b48bc1749c387fcc10921f0d5c330 /src/config.rs
parent8d3bb2a4b5a3058b51ade1df41378077d5afc691 (diff)
move border colours to config
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs8
1 files changed, 7 insertions, 1 deletions
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 {