mirror of
https://github.com/swaywm/sway.git
synced 2026-05-05 06:46:49 -04:00
Add DPMS and lock handling
This commit is contained in:
parent
d2f7811854
commit
3a327c48c8
12 changed files with 154 additions and 3 deletions
|
|
@ -147,6 +147,9 @@ sway_cmd cmd_unmark;
|
|||
sway_cmd cmd_workspace;
|
||||
sway_cmd cmd_ws_auto_back_and_forth;
|
||||
sway_cmd cmd_workspace_layout;
|
||||
sway_cmd cmd_idle_timeout;
|
||||
sway_cmd cmd_lock_timeout;
|
||||
sway_cmd cmd_swaylock_command;
|
||||
|
||||
sway_cmd bar_cmd_activate_button;
|
||||
sway_cmd bar_cmd_binding_mode_indicator;
|
||||
|
|
|
|||
|
|
@ -296,6 +296,9 @@ struct sway_config {
|
|||
enum sway_container_layout default_layout;
|
||||
char *font;
|
||||
int font_height;
|
||||
uint32_t idle_timeout;
|
||||
uint32_t lock_timeout;
|
||||
char *swaylock_command;
|
||||
|
||||
// Flags
|
||||
bool focus_follows_mouse;
|
||||
|
|
|
|||
6
include/sway/idle.h
Normal file
6
include/sway/idle.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef _SWAY_IDLE_H
|
||||
#define _SWAY_IDLE_H
|
||||
#include <sway/server.h>
|
||||
|
||||
bool idle_init(struct sway_server *server);
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue