[][src]Struct penrose::contrib::extensions::dmenu::DMenuConfig

pub struct DMenuConfig {
    pub show_line_numbers: bool,
    pub password_input: bool,
    pub bg_color: Color,
    pub fg_color: Color,
    pub selected_color: Color,
    pub n_lines: usize,
}

Config for running a DMenu selection

Fields

show_line_numbers: bool

Should line numbers be displayed to the user?

Default: false

password_input: bool

Should dmenu treat the input as a password and render characters as '*'?

NOTE

This requires the Password patch in order to work.

Default: false

bg_color: Color

Background color for the rendered window

Default: #282828

fg_color: Color

Foreground color for text

Default: #ebdbb2

selected_color: Color

Selected line background color

Default #458588

n_lines: usize

Number of lines to display at a time

Default: 10

Trait Implementations

impl Clone for DMenuConfig[src]

impl Debug for DMenuConfig[src]

impl Default for DMenuConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.