mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-31 01:58:36 +01:00
meta: Use super+bracketleft for rofi
This commit is contained in:
parent
94607665c6
commit
1de8bafa4d
@ -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} },
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user