diff options
author | tcmal <me@aria.rip> | 2024-06-21 22:13:45 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-21 22:13:45 +0100 |
commit | 210ea31e39370336464fec76368aa77bf0411681 (patch) | |
tree | 68288fd85ed0e3da6d4bab8b1b52465ce39ea6f4 /src/config.rs | |
parent | 1c893ed1ff1dc26f4dcc425e756d56f752142ebd (diff) |
documentation cleanup
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index e6478b3..246fe12 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,4 +1,6 @@ +//! User configuration #![allow(clippy::unreadable_literal)] // Colours are more readable this way imo + use std::process::Command; use xcb::x::ModMask; @@ -9,8 +11,13 @@ use crate::{ keys::{Keybind, Keybinds}, }; +/// Width of the border around windows pub const BORDER_WIDTH: u16 = 3; + +/// Default border for windows pub const BORDER_NORMAL: Colour = Colour::from_hex(0x000000); + +/// Border around currently focused window pub const BORDER_FOCUSED: Colour = Colour::from_hex(0xff0000); /// The keybinds to use. |