layer shell and keybinds

This commit is contained in:
2026-05-16 21:59:36 +07:00
parent 090659d582
commit 62dbb3a54e
12 changed files with 116 additions and 52 deletions
+1
View File
@@ -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}},
+1
View File
@@ -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);
+9
View File
@@ -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
View File
@@ -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 {