设置快捷键

This commit is contained in:
2025-11-22 22:22:54 +08:00
parent 76f9e15130
commit e5927094d1
9 changed files with 93 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <X11/keysym.h>
#include <stdint.h>
#include "action.h"
@@ -23,3 +24,9 @@ static const char *const active_tag_color = "#eeeeee";
static const button_t button_list[] = {
{click_tag, modifier_none, button_left, select_tag_of_current_monitor, {0}},
};
static const char launcher[] =
"rofi -show combi -modes window,drun,run,ssh,combi,windowcd";
static const keyboard_t key_list[] = {
{modifier_super, XK_p, spawn, {.ptr = launcher}},
};