meta: Use super+bracketleft for rofi

This commit is contained in:
Donovan Glover 2024-09-05 20:15:48 -04:00
parent 94607665c6
commit 1de8bafa4d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ in
#define MODKEY Mod4Mask
static char dmenumon[2] = "0";
static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL };
static const char *rofi[] = { "rofi", "-show", "drun", NULL };
static const char *quitcmd[] = { "kill", "xinit", NULL };
static const char *termcmd[] = { "kitty", NULL };
static const char *brighter[] = { "mb-up", NULL };
@ -93,7 +93,7 @@ in
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = dimmer } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brighter } },
{ 0, XK_Print, spawn, {.v = print } },
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_bracketleft, spawn, {.v = rofi } },
{ MODKEY, XK_o, togglebar, {0} },
{ MODKEY, XK_f, togglefullscr, {0} },
{ MODKEY, XK_v, togglefloating, {0} },

View File

@ -186,6 +186,7 @@ in
"${super}_SHIFT, W, exec, ~/.config/${swapBackgroundScript}"
"${super}, P, exec, grimblast --notify save screen"
", Print, exec, grimblast --freeze copy area"
"${super}, bracketleft, exec, killall rofi || rofi -show drun"
"${super}_ALT, delete, exit"
"${super}, V, togglefloating"
"${super}, U, exec, ~/.config/${gapsScript}"
@ -237,7 +238,6 @@ in
", XF86MonBrightnessUp, exec, mb-up"
", XF86Display, exec, ~/.config/${monitorScript}"
", XF86Messenger, togglespecialworkspace"
", XF86Favorites, exec, killall rofi || rofi -show drun"
];
};