theme: add bar-position setting
This commit is contained in:
parent
3ea687a5c8
commit
2500c05f70
15 changed files with 178 additions and 32 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue