layer shell and keybinds
This commit is contained in:
@@ -44,6 +44,7 @@ static const absn_keybind keybinds[] = {
|
||||
{ALT | SHIFT, XKB_KEY_k, swap_focus, {.i = -1}},
|
||||
|
||||
{ALT, XKB_KEY_f, toggle_fullscreen, {0}},
|
||||
{ALT, XKB_KEY_v, toggle_floating, {0}},
|
||||
|
||||
{ALT, XKB_KEY_h, increase_master_count, {.i = +1}},
|
||||
{ALT, XKB_KEY_l, increase_master_count, {.i = -1}},
|
||||
|
||||
@@ -11,6 +11,7 @@ void cycle_focus(absn_server *server, const absn_arg *arg);
|
||||
void swap_focus(absn_server *server, const absn_arg *arg);
|
||||
|
||||
void toggle_fullscreen(absn_server *server, const absn_arg *arg);
|
||||
void toggle_floating(absn_server *server, const absn_arg *arg);
|
||||
|
||||
void increase_master_width(absn_server *server, const absn_arg *arg);
|
||||
void increase_master_count(absn_server *server, const absn_arg *arg);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef __LAYER_ARRANGE_H_
|
||||
#define __LAYER_ARRANGE_H_
|
||||
|
||||
#include "output.h"
|
||||
#include "types.h"
|
||||
|
||||
void layer_arrange(absn_output *output);
|
||||
|
||||
#endif
|
||||
+1
-1
@@ -177,7 +177,7 @@ struct absn_output {
|
||||
struct wl_listener request_state;
|
||||
struct wl_listener destroy;
|
||||
|
||||
struct wl_list layers[4];
|
||||
struct wl_list layer_surfaces;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user