meta: use keybind to open yazi

Seems faster, cooler, and more useful than having desktop icons.
This commit is contained in:
Donovan Glover 2024-10-10 09:04:53 -04:00
parent 8de544e718
commit 315a87e8d2
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 3 additions and 0 deletions

View File

@ -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} },

View File

@ -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}"