wlmaker
|
#include <libbase/libbase.h>
#include <libbase/plist.h>
#include <limits.h>
#include <regex.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <wayland-server-core.h>
#include <wlr/util/log.h>
#include "../etc/root_menu.h"
#include "../etc/style.h"
#include "action.h"
#include "backend/backend.h"
#include "background.h"
#include "backtrace.h"
#include "clip.h"
#include "config.h"
#include "dock.h"
#include "root_menu.h"
#include "server.h"
#include "task_list.h"
#include "toolkit/toolkit.h"
Classes | |
struct | wlmaker_workspace_style_t |
Macros | |
#define | _POSIX_C_SOURCE 200112L |
setenv() is a POSIX extension. | |
#define | WLR_USE_UNSTABLE |
Use non-stable features of wlroots. | |
Functions | |
static void | wlr_to_bs_log (enum wlr_log_importance importance, const char *fmt, va_list args) |
bool | start_subprocess (const char *cmdline_ptr) |
bool | create_workspaces (bspl_dict_t *state_dict_ptr, wlmaker_server_t *server_ptr) |
int | main (int argc, const char **argv) |
Variables | |
static char * | wlmaker_arg_config_file_ptr = NULL |
static char * | wlmaker_arg_state_file_ptr = NULL |
static char * | wlmaker_arg_style_file_ptr = NULL |
static char * | wlmaker_arg_root_menu_file_ptr = NULL |
static wlmaker_server_options_t | wlmaker_server_options |
static const bs_arg_enum_table_t | wlmaker_log_levels [] |
static const bs_arg_t | wlmaker_args [] |
static bs_ptr_stack_t | wlmaker_subprocess_stack |
static bs_ptr_stack_t | wlmaker_background_stack |
static regex_t | wlmaker_wlr_log_regex |
static const char * | wlmaker_wlr_log_regex_string |
static const bspl_desc_t | wlmaker_workspace_style_desc [] |
static const char * | _wlmaker_root_menu_fname_ptrs [] |
static const char * | _wlmaker_style_fname_ptrs [] |
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.
bool create_workspaces | ( | bspl_dict_t * | state_dict_ptr, |
wlmaker_server_t * | server_ptr | ||
) |
Creates workspaces as configured in the state dict.
int main | ( | int | argc, |
const char ** | argv | ||
) |
The main program.
bool start_subprocess | ( | const char * | cmdline_ptr | ) |
Launches a sub-process, and keeps it on the subprocess stack.
|
static |
Wraps the wlr_log calls on bs_log.
importance | |
fmt | |
args |
|
static |
Lookup paths for the root menu config file.
|
static |
Lookup paths for the style config file.
|
static |
Will hold the value of –config_file.
|
static |
Will hold the value of –root_menu_file.
|
static |
Will hold the value of –state_file.
|
static |
Will hold the value of –style_file.
|
static |
Definition of commandline arguments.
|
static |
References to the created backgrounds.
|
static |
Log levels.
|
static |
Startup options for the server.
|
static |
References auto-started subprocesses.
|
static |
Compiled regular expression for extracting file & line no. from wlr_log.
|
static |
Regular expression string for extracting file & line no. from wlr_log.
|
static |
Style descriptor for the "Workspace" dict of wlmaker-state.plist.