wlmaker
Loading...
Searching...
No Matches
config.c File Reference
#include "config.h"
#include <wlr/types/wlr_keyboard.h>
Include dependency graph for config.c:

Variables

const int32_t config_keyboard_repeat_rate = 25
 
const int32_t config_keyboard_repeat_delay = 300
 
static const struct xkb_rule_names xkb_de
 
const struct xkb_rule_names * config_keyboard_rule_names = NULL
 
const char * config_xcursor_theme_name = NULL
 
const uint32_t config_xcursor_theme_size = 24
 
const float config_output_scale = 1.0
 
const wlmaker_config_decoration_t config_decoration
 
const uint64_t wlmaker_config_double_click_wait_msec = 250ull
 
const uint32_t wlmaker_config_window_drag_modifiers
 
const wlmaker_config_workspace_t wlmaker_config_workspaces []
 
const wlmaker_config_theme_t wlmaker_config_theme
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Configurables for wlmaker. Currently, this file lists hardcoded entities, and mainly serves as a catalog about which entities should be dynamically configurable.

Variable Documentation

◆ config_decoration

const wlmaker_config_decoration_t config_decoration
Initial value:
=
@ WLMAKER_CONFIG_DECORATION_SUGGEST_SERVER
Definition config.h:40

Whether to always request server-side decorations.

◆ config_keyboard_repeat_delay

const int32_t config_keyboard_repeat_delay = 300

Repeat delay, in ms.

◆ config_keyboard_repeat_rate

const int32_t config_keyboard_repeat_rate = 25

Repeat rate, per second.

◆ config_keyboard_rule_names

const struct xkb_rule_names* config_keyboard_rule_names = NULL

XKB Keymap to use. NULL identifies the default ('us').

◆ config_output_scale

const float config_output_scale = 1.0

Overall scale of output.

◆ config_xcursor_theme_name

const char* config_xcursor_theme_name = NULL

Name of the xcursor theme. NULL picks the default.

◆ config_xcursor_theme_size

const uint32_t config_xcursor_theme_size = 24

Base size for the xcursor theme (when scale==1.0).

◆ wlmaker_config_double_click_wait_msec

const uint64_t wlmaker_config_double_click_wait_msec = 250ull

Time interval within two clicks need to happen to count as double-click.

◆ wlmaker_config_theme

const wlmaker_config_theme_t wlmaker_config_theme

Visual theme.

◆ wlmaker_config_window_drag_modifiers

const uint32_t wlmaker_config_window_drag_modifiers
Initial value:
=
WLR_MODIFIER_ALT | WLR_MODIFIER_LOGO

Modifiers for moving the window with the cursor.

◆ wlmaker_config_workspaces

const wlmaker_config_workspace_t wlmaker_config_workspaces[]
Initial value:
= {
{ .name_ptr = "Main", .color = 0xff402020 },
{ .name_ptr = "Other", .color = 0xff182060 },
{ .name_ptr = "Last", .color = 0xff186020 },
{ .name_ptr = NULL }
}

Workspaces to configure. So far: Just the titles.

◆ xkb_de

const struct xkb_rule_names xkb_de
static
Initial value:
= {
.rules = "evdev",
.model = "pc105",
.layout = "ch",
.variant = "de_nodeadkeys",
.options = ""
}

See man xkeyboard-config(7) for available options.