Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jgmenu_run appsa and icons not displaying #223

Open
gh0stzk opened this issue Apr 27, 2024 · 2 comments
Open

jgmenu_run appsa and icons not displaying #223

gh0stzk opened this issue Apr 27, 2024 · 2 comments

Comments

@gh0stzk
Copy link

gh0stzk commented Apr 27, 2024

Hello, could you guide me on what I'm doing wrong, since I can't get the icons to display in the menu, here are my files.

menu.txt

@icon,,15,10,18,18,0,left,top,auto,auto,/usr/share/icons/Papirus/32x32/apps/preferences-system-search.svg
@search,,37,3,150,34,2,left,top,auto,auto,Type to search
^sep()

Terminal,OpenApps --floating,/usr/share/icons/Papirus/32x32/apps/terminal.svg
Web Browser,OpenApps --browser,/usr/share/icons/Papirus/32x32/apps/internet-web-browser.svg
File Manager,OpenApps --filemanager,/usr/share/icons/Papirus/32x32/apps/org.xfce.thunar.svg
Apps,^pipe(jgmenu_run apps),/usr/share/icons/Papirus/32x32/apps/tux.svg
^sep()

Themes,^pipe(JgmenuPipes.sh --Rices),/usr/share/icons/Papirus/32x32/apps/colors.svg
Favorites,^checkout(favorites),/usr/share/icons/Papirus/32x32/status/starred.svg
Recently used,^pipe(JgmenuPipes.sh --Recently),/usr/share/icons/Papirus/32x32/apps/preferences-system-time.svg
^sep()

Widgets,^checkout(wg),/usr/share/icons/Papirus/32x32/apps/kmenuedit.svg
BSPWM,^checkout(wm),/usr/share/icons/Papirus/32x32/apps/gnome-windows.svg
Exit,^checkout(exit),/usr/share/icons/Papirus/32x32/apps/system-shutdown.svg

^tag(favorites)
Editor,OpenApps --editor,/usr/share/icons/Papirus/32x32/apps/standard-notes.svg
Neovim,OpenApps --nvim,nvim
Firefox,OpenApps --browser,firefox
Retroarch,retroarch,/usr/share/icons/Papirus/32x32/apps/retroarch.svg

^tag(wg)
User Card,OpenApps --usercard,/usr/share/icons/Papirus/32x32/apps/system-users.svg
Music Player,OpenApps --player,/usr/share/icons/Papirus/32x32/apps/musique.svg
Power Menu,OpenApps --powermenu,/usr/share/icons/Papirus/32x32/status/changes-allow.svg
Calendar,OpenApps --calendar,/usr/share/icons/Papirus/32x32/apps/office-calendar.svg

^tag(wm)
Keybinds,OpenApps --KeyHelp,preferences-desktop-keyboard-shortcuts
Restart WM,bspc wm -r,system-reboot
Logout,bspc quit,system-log-out

^tag(exit)
Block computer,physlock -d,system-lock-screen
Reboot,systemctl reboot,system-reboot
Shutdown,systemctl poweroff,system-shutdown

jgmenurc

position_mode = pointer
stay_alive = 0
tint2_look = 0
terminal_exec = alacritty
terminal_args = -e
menu_width = 180
menu_padding_top = 30
menu_padding_right = 5
menu_padding_bottom = 5
menu_padding_left = 5
menu_radius = 8
menu_border = 0
menu_halign = left
sub_hover_action = 1
item_margin_y = 5
item_height = 30
item_padding_x = 8
item_radius = 6
item_border = 0
sep_height = 2
font = Clarity City Bold 12px
icon_size = 16
icon_theme = Papirus-Dark
arrow_string = 󰄾
color_menu_border = #ffffff 0
color_menu_bg = #1D1F28
color_norm_bg = #ffffff 0
color_norm_fg = #a5b6cf
color_sel_bg = #1F222B
color_sel_fg = #a5b6cf
color_sep_fg = #56687E

I use bspwm, and launch jgmenu with this command in sxhkdrc

# jgmenu
~button3
  xqp 0 $(xdo id -N Bspwm -n root) && jgmenu --csv-file=~/.config/bspwm/scripts/menu.txt --config-file=~/.config/bspwm/jgmenurc

Shot-2024-04-26-234027

Thank you!

@johanmalm
Copy link
Collaborator

Icons are not supported in submenus.

If you use append.csv and prepend.csv you can make "apps" part of the menu with icons. It would be faster that way too!

@gh0stzk
Copy link
Author

gh0stzk commented Apr 29, 2024

Thank you, will try it that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants