1
0
Fork 0
forked from wry/wry

theme: add bar-position setting

This commit is contained in:
Stipe Kotarac 2025-11-28 21:26:15 +01:00
parent 3ea687a5c8
commit 2500c05f70
15 changed files with 178 additions and 32 deletions

View file

@ -9,7 +9,7 @@ use {
},
keyboard::{Keymap, mods::Modifiers, syms::KeySym},
logging::LogLevel,
theme::{Color, colors::Colorable, sized::Resizable},
theme::{BarPosition, Color, colors::Colorable, sized::Resizable},
timer::Timer,
video::{
BlendSpace, ColorSpace, Connector, DrmDevice, Eotf, Format, GfxApi, TearingMode,
@ -812,6 +812,10 @@ pub enum ClientMessage<'a> {
connector: Connector,
direction: Direction,
},
SetBarPosition {
position: BarPosition,
},
GetBarPosition,
}
#[derive(Serialize, Deserialize, Debug)]
@ -1056,6 +1060,9 @@ pub enum Response {
GetConnectorInDirection {
connector: Connector,
},
GetBarPosition {
position: BarPosition,
},
}
#[derive(Serialize, Deserialize, Debug)]