diff --git a/home/dwm.nix b/home/dwm.nix index e3ebb435..52cd42bf 100644 --- a/home/dwm.nix +++ b/home/dwm.nix @@ -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} }, diff --git a/home/hyprland.nix b/home/hyprland.nix index 462de232..31e36f08 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -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" ]; };