From 0620b274695c3c189071ce574b3e2188bafdac0c Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Sat, 25 Jan 2025 00:07:15 -0600 Subject: [PATCH] replace pcmanfm with lf and add spotify_player keybinds --- config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index acdcbf2..fdcdd00 100644 --- a/config.h +++ b/config.h @@ -147,7 +147,8 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "footclient", NULL }; // Terminal static const char *menucmd[] = { "tofi-drun", NULL }; // Application launcher -static const char *fmgrcmd[] = { "pcmanfm-qt", NULL }; // File manager +static const char *fmgrcmd[] = { "footclient", "lf", NULL }; // File manager +static const char *sptfcmd[] = { "footclient", "spotify_player", NULL}; // Spotify client static const char *lockcmd[] = { "swaylock", NULL }; // Launch swaylock static const char *pwmncmd[] = { "powermenu", NULL }; // Launch powermenu static const char *emojcmd[] = { "tofiunicode",NULL }; // Launch emoji menu @@ -158,6 +159,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_r, spawn, {.v = menucmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_e, spawn, {.v = fmgrcmd} }, + { MODKEY, XKB_KEY_s, spawn, {.v = sptfcmd} }, { MODKEY, XKB_KEY_l, spawn, {.v = lockcmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_E, spawn, {.v = emojcmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, spawn, {.v = pwmncmd} }, @@ -252,3 +254,4 @@ static const Button buttons[] = { { ClkTagBar, MODKEY, BTN_LEFT, tag, {0} }, { ClkTagBar, MODKEY, BTN_RIGHT, toggletag, {0} }, }; +