diff --git a/home/dwm.nix b/home/dwm.nix index 37855c7e..2668d4f6 100644 --- a/home/dwm.nix +++ b/home/dwm.nix @@ -90,6 +90,7 @@ in static const char *dmenucmd[] = { "rofi", "-show", NULL }; static const char *quitcmd[] = { "kill", "xinit", NULL }; static const char *termcmd[] = { "kitty", NULL }; + static const char *explorercmd[] = { "kitty", "yazi", NULL }; static const char *brighter[] = { "${dunst-scripts}/bin/mb-up", NULL }; static const char *dimmer[] = { "${dunst-scripts}/bin/mb-down", NULL }; static const char *print[] = { "scrot", NULL }; @@ -108,6 +109,7 @@ in { 0, XF86XK_MonBrightnessUp, spawn, {.v = brighter } }, { 0, XK_Print, spawn, {.v = print } }, { MODKEY, XK_bracketleft, spawn, {.v = dmenucmd } }, + { MODKEY, XK_bracketright, spawn, {.v = explorercmd } }, { 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 bf84ca2d..a7f50151 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -192,6 +192,7 @@ in "${super}, P, exec, grimblast --notify save screen" ", Print, exec, grimblast --freeze copy area" "${super}, bracketleft, exec, killall rofi || rofi -show" + "${super}, bracketright, exec, kitty yazi" "${super}_ALT, delete, exit" "${super}, V, togglefloating" "${super}, U, exec, ~/.config/${gapsScript}"