From 5f752ecf4c46de7c279171cc04a9067a27ae8056 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 28 Dec 2021 22:44:18 +0530 Subject: remove rofi keybindings --- patches/2bwm/nerd-patch.diff | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'patches/2bwm') diff --git a/patches/2bwm/nerd-patch.diff b/patches/2bwm/nerd-patch.diff index a47cc14..b0642e5 100644 --- a/patches/2bwm/nerd-patch.diff +++ b/patches/2bwm/nerd-patch.diff @@ -1,32 +1,28 @@ diff --git a/config.h b/config.h -index 0985d2e..baa77f8 100644 +index 0985d2e..4dce13d 100644 --- a/config.h +++ b/config.h -@@ -40,7 +40,10 @@ static const uint8_t borders[] = {3,5,5,4}; +@@ -40,7 +40,8 @@ static const uint8_t borders[] = {3,5,5,4}; #define LOOK_INTO "WM_NAME" static const char *ignore_names[] = {"bar", "xclock"}; ///--Menus and Programs---/// -static const char *menucmd[] = { "", NULL }; +// static const char *menucmd[] = { "", NULL }; +static const char *terminal[] = { "st", NULL }; -+static const char *rofi_run[] = { "rofi", "-show", "run" }; -+static const char *rofi_window[] = { "rofi", "-show", "window" }; ///--Custom foo---/// static void halfandcentered(const Arg *arg) { -@@ -193,7 +196,10 @@ static key keys[] = { +@@ -193,7 +194,8 @@ static key keys[] = { { MOD |SHIFT, XK_Right, cursor_move, {.i=TWOBWM_CURSOR_RIGHT}}, { MOD |SHIFT, XK_Left, cursor_move, {.i=TWOBWM_CURSOR_LEFT}}, // Start programs - { MOD , XK_w, start, {.com = menucmd}}, + //{ MOD , XK_w, start, {.com = menucmd}}, + { MOD , XK_Return, start, {.com = terminal}}, -+ { MOD , XK_d, start, {.com = rofi_run}}, -+ { MOD , XK_i, start, {.com = rofi_window}}, // Exit or restart 2bwm { MOD |CONTROL, XK_q, twobwm_exit, {.i=0}}, { MOD |CONTROL, XK_r, twobwm_restart, {.i=0}}, -@@ -215,7 +221,7 @@ static key keys[] = { +@@ -215,7 +217,7 @@ static key keys[] = { static Button buttons[] = { { MOD ,XCB_BUTTON_INDEX_1, mousemotion, {.i=TWOBWM_MOVE}, false}, { MOD ,XCB_BUTTON_INDEX_3, mousemotion, {.i=TWOBWM_RESIZE}, false}, -- cgit v1.2.3