remove client-side decorations

This commit is contained in:
2026-01-04 18:07:28 +07:00
parent a36e205e08
commit 8995db6e1c
12 changed files with 163 additions and 30 deletions
+11
View File
@@ -1,4 +1,5 @@
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server-core.h>
#include <xkbcommon/xkbcommon.h>
@@ -19,6 +20,16 @@ static bool keyboard_handle_keybind(struct absinthe_server *server, xkb_keysym_t
case XKB_KEY_Escape:
wl_display_terminate(server->display);
break;
case XKB_KEY_Q:
if (fork() == 0) {
execl("/bin/sh", "sh", "-c", "wofi --show drun", NULL);
}
break;
case XKB_KEY_Return:
if (fork() == 0) {
execl("/bin/sh", "sh", "-c", "alacritty", NULL);
}
break;
default:
return false;
}