#[DWM[Solved]] how do I get rofi to show when I press the start button
47 messages · Page 1 of 1 (latest)
[DWM] how do I get rofi to show when I press the start button?
you
you have to add static const char *rofidruncmd[] = {"rofi", "-show", "drun", "-config", "/home/will/.config/rofi/Paper.rasi", NULL};
and { MODKEY, XK_s, spawn, {.v = rofidruncmd } },
in config.def.h
yeah
also change the config of yours
work?
in dwm default is mod key and left button to get window moved
can you show your config.def.h of your dwm
?
or you can send a screenshot
didn’t you install file manager?
i put my rofi command code just under my tercmd
will that be a problem?
did your rofi command work in your terminal?
weird
theme also installed?
rofi
static const char *rofidruncmd[] = {"rofi", "-show", "drun", "-config", "/home/killertofus/.config/rofi/Paper.rasi", NULL};
you have to install Paper.rasi
have this in your directory
work?
…
add one
then put this theme file into it, then it should work
work?
hey you only have static const char *rofidruncmd[] = {"rofi", "-show", "drun", "-config", ".config/rofi/Paper.rasi", NULL};
/home/killertofus/.config/rofi/THEME.rasi
also did you recompile dwm?
you can have what name you want
but i used Paper.rasi
yeah
then use that name
then should work
correct
i don’t know but i config dwm by config.def.h
then every time when i configured, i ran rm -rf config.h && sudo make clean install
Paper.rasi also in ~/.config/rofi ?
put { MODKEY, XK_s, spawn, {.v = rofidruncmd } },
in front of the { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
i don’t know why yours doesn’t work but mine works good. you can check my code on my github
,
comma
{ MODKEY, XK_s, spawn, {.v = rofidruncmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },