local icondir = os.getenv("HOME") .. "/.config/awesome/icons/15/"
local appicon = icondir .. "application.svg"

accessoriesmenu = {
    { "calculator", "/usr/bin/galculator", "/usr/share/icons/hicolor/48x48/apps/galculator.png" },
    { "calibre", "/usr/bin/calibre", "/usr/share/icons/hicolor/48x48/apps/calibre-gui.png" },
    { "dia", "/usr/bin/dia --integrated", "/usr/share/icons/hicolor/48x48/apps/dia.png" },
    { "epdfview", "/usr/bin/epdfview", "/usr/share/icons/hicolor/48x48/apps/epdfview.png" },
    { "evince", "/usr/bin/evince", "/usr/share/help/C/evince/figures/org.gnome.Evince.svg" },
    { "freemind", "/usr/bin/freemind", "/usr/share/icons/hicolor/32x32/apps/freemind.png" },
    { "gvim", "/usr/bin/gvim", "/usr/share/icons/hicolor/48x48/apps/gvim.png" },
    { "pluma", "/usr/bin/pluma", "/usr/share/icons/gnome/48x48/apps/text-editor.png" },
    { "qpdfview", "/usr/bin/qpdfview", "/usr/share/icons/hicolor/scalable/apps/qpdfview.svg" },
    { "retext", "/usr/bin/retext", "/usr/share/icons/hicolor/48x48/apps/retext.png" },
    { "xpad", "/usr/bin/xpad", "/usr/share/icons/hicolor/scalable/apps/xpad.svg" },
    { "xreader", "/usr/bin/xreader", "/usr/share/icons/hicolor/scalable/apps/xreader.svg" },
}
audiomenu = {
    { "ableton live", "/home/hanez/bin/ableton.sh", "/home/hanez/.config/awesome/icons/live2.png" },
    { "ardour", "/usr/bin/ardour9", "/usr/share/icons/hicolor/48x48/apps/ardour9.png" },
    { "audacity", "/usr/bin/audacity", "/usr/share/icons/hicolor/32x32/audacity.png" },
    { "bitwig studio", "/opt/bitwig-studio/BitwigStudio", "/usr/share/icons/hicolor/scalable/apps/com.bitwig.BitwigStudio.svg" },
    { "fasttracker", "/usr/bin/ft2-clone", "/usr/share/icons/hicolor/512x512/apps/ft2-clone.png" },
    { "qmidictl", "/usr/bin/qmidictl", "/usr/share/icons/hicolor/scalable/apps/org.rncbc.qmidictl.svg" },
    { "qmidinet", "/usr/bin/qmidinet", "/usr/share/icons/hicolor/scalable/apps/org.rncbc.qmidinet.svg" },
    { "qmidiroute", "/usr/bin/qmidiroute", "/usr/share/icons/hicolor/scalable/apps/qmidiroute.svg" },
    { "mixxx", "/usr/bin/mixxx", "/usr/share/icons/hicolor/scalable/apps/mixxx.svg" },
    { "muse", "/usr/bin/muse4", "/usr/share/icons/hicolor/64x64/apps/muse.png" },
    { "musescore", "/usr/bin/mscore", "/usr/share/icons/hicolor/48x48/apps/mscore.png" },
    { "qjackctl", "/usr/bin/qjackctl", "/usr/share/icons/hicolor/scalable/apps/org.rncbc.qjackctl.svg" },
    { "qpwgraph", "/usr/bin/qpwgraph", "/usr/share/icons/hicolor/scalable/apps/org.rncbc.qpwgraph.svg" },
    { "rtcqs", "/usr/bin/rtcqs_gui", "/usr/share/icons/hicolor/scalable/apps/rtcqs.svg" },
    { "vcvrack", "/usr/bin/vcvrack", "/opt/vcvrack/res/icon.png" },
    { "vital", "/usr/bin/Vital", "/home/hanez/.config/awesome/icons/vital.png" },
}
communicationmenu = {
    { "claws mail", "/usr/bin/claws-mail", "/usr/share/icons/hicolor/48x48/apps/claws-mail.png" },
    { "clawsker", "/usr/bin/clawsker", "/usr/share/icons/hicolor/48x48/apps/clawsker.png" },
    { "discord", "/usr/bin/discord", "/usr/share/icons/hicolor/256x256/apps/discord.png" },
    { "linphone", "/usr/bin/linphone", "/usr/share/icons/hicolor/scalable/apps/linphone.svg" },
    { "pidgin", "/usr/bin/pidgin", "/usr/share/icons/hicolor/scalable/apps/pidgin.svg" },
    { "signal", "/usr/bin/signal-desktop-beta", "/usr/share/icons/hicolor/48x48/apps/signal-desktop-beta.png" },
    { "slack", "/usr/bin/slack", "/usr/share/pixmaps/slack.png" },
    { "teams", "/opt/teams-for-linux/teams-for-linux", "/usr/share/icons/hicolor/48x48/apps/teams-for-linux.png" },
    { "telegram", "/usr/bin/Telegram", "/usr/share/icons/hicolor/symbolic/apps/org.telegram.desktop-symbolic.svg" },
    --{ "webex", "/usr/bin/webex", "/opt/Webex/bin/sparklogosmall.png" },
    --{ "whatsapp", "/usr/bin/whatsapp-for-linux", "/usr/share/icons/hicolor/32x32/apps/whatsapp-for-linux.png" },
    { "zapzap", "/usr/bin/zapzap", "/usr/share/icons/hicolor/scalable/apps/com.rtosta.zapzap.svg" },
    { "zoom", "/usr/bin/zoom", "/usr/share/pixmaps/application-x-zoom.png" },
}
databasemenu = {
    { "apache directory studio", "/usr/bin/apachedirectorystudio", "/usr/share/pixmaps/apachedirectorystudio.png" },
    { "dbeaver", "/usr/bin/dbeaver", "/usr/share/icons/hicolor/48x48/apps/dbeaver.png" },
    { "mysql workbench", "/usr/bin/mysql-workbench", "/usr/share/icons/hicolor/48x48/apps/mysql-workbench.png" },
    --{ "resp.app", "/usr/bin/resp", "/usr/share/pixmaps/resp.png" },
    { "sqlitebrowser", "/usr/bin/sqlitebrowser", "/usr/share/icons/hicolor/256x256/apps/sqlitebrowser.png" },
}
developmentmenu = {
    { "android studio", "/home/hanez/bin/studio", "/home/hanez/opt/JetBrains/android-studio/bin/studio.svg" },
    { "bluefish", "/usr/bin/bluefish", "/usr/share/icons/hicolor/scalable/apps/bluefish-icon.svg" },
    { "cambalache", "/usr/bin/cambalache", "/usr/share/icons/hicolor/symbolic/apps/ar.xjuan.Cambalache-symbolic.svg" },
    { "clion", "/home/hanez/bin/clion", "/home/hanez/opt/JetBrains/clion-2022.3.3/bin/clion.svg" },
    { "cmake gui", "/usr/bin/cmake-gui", "/usr/share/icons/hicolor/64x64/apps/cmake.png" },
    { "codeblocks", "/usr/bin/codeblocks", "/usr/share/icons/hicolor/64x64/apps/codeblocks.png" },
    --{ "codelite", "/usr/bin/codelite", "/usr/share/icons/hicolor/32x32/apps/codelite.png" },
    --{ "ddd", "/usr/bin/ddd", appicon },
    { "datagrip", "/home/hanez/bin/datagrip", "/home/hanez/opt/JetBrains/datagrip/bin/datagrip.svg" },
    { "doxywizard", "/usr/bin/doxywizard", appicon },
    { "eclipse", "/usr/bin/eclipse", "/usr/share/icons/hicolor/32x32/apps/eclipse.png" },
    { "fluid", "/usr/bin/fluid", "/usr/share/icons/hicolor/48x48/apps/fluid.png" },
    { "gambas3", "/usr/bin/gambas3 ", "/usr/share/pixmaps/gambas3.png" },
    { "glade", "/usr/bin/glade ", "/usr/share/icons/hicolor/scalable/apps/org.gnome.Glade.svg" },
    { "gnat studio", "/home/hanez/bin/gnatstudio.sh", "/home/hanez/opt/GNAT/2021/share/gnatstudio/icons/hicolor/32x32/apps/gnatstudio_logo.png" },
--    { "gnome builder", "/usr/bin/gnome-builder", "/usr/share/gnome-builder/icons/hicolor/scalable/apps/org.gnome.Builder.svg" },
    { "intellij", "/home/hanez/bin/intellij", "/home/hanez/opt/JetBrains/intellij-idea-community-edition/bin/idea.svg" },
    { "jetbrains toolbox", "/usr/bin/jetbrains-toolbox", "/usr/share/pixmaps/jetbrains-toolbox.svg" },
    { "kdevelop", "/usr/bin/kdevelop", "/usr/share/icons/hicolor/48x48/apps/kdevelop.png" },
    { "lazarus", "/usr/bin/lazarus", "/usr/share/pixmaps/lazarus.png" },
    { "liteide", "/usr/bin/liteide", "/usr/share/pixmaps/liteide.png" },
    { "meld", "/usr/bin/meld", "/usr/share/icons/hicolor/scalable/apps/org.gnome.Meld.svg" },
    { "netbeans", "/usr/bin/netbeans", "/usr/share/icons/hicolor/scalable/apps/netbeans.svg" },
    { "qgit", "/usr/bin/qgit", "/usr/share/icons/hicolor/48x48/apps/qgit.png" },
    { "qtcreator", "/usr/bin/qtcreator", "/usr/share/icons/hicolor/48x48/apps/QtProject-qtcreator.png" },
    { "rider", "/home/hanez/bin/rider", "/home/hanez/opt/JetBrains/rider/bin/rider.svg" },
    { "rstudio", "/usr/lib/rstudio/rstudio", "/usr/share/icons/hicolor/48x48/apps/rstudio.png" },
    { "rustrover", "/home/hanez/bin/rustrover", "/home/hanez/opt/JetBrains/rustrover/bin/rustrover.svg" },
    { "rubymine", "/home/hanez/bin/rubymine", "/home/hanez/opt/JetBrains/rubymine/bin/rubymine.svg" },
    { "sasm", "/usr/bin/sasm", "/usr/share/sasm/sasm.png" },
    { "seergdb", "/usr/bin/seergdb", "/usr/share/icons/hicolor/64x64/apps/seergdb.png" },
    { "smartgit", "/usr/bin/smartgit", "/usr/share/icons/hicolor/48x48/apps/smartgit.png" },
    { "theide", "/usr/bin/theide", "/usr/share/pixmaps/theide.png" },
--    { "thonny", "/usr/bin/thonny", "/usr/share/icons/hicolor/48x48/apps/org.thonny.Thonny.png" },
    { "vscode", "/usr/bin/code", "/usr/share/pixmaps/com.visualstudio.code.oss.png" },
    { "webstorm", "/home/hanez/bin/webstorm", "/home/hanez/opt/JetBrains/webstorm/bin/webstorm.svg" },
    { "wxformbuilder", "/usr/bin/wxformbuilder", "/usr/share/icons/hicolor/48x48/apps/org.wxformbuilder.wxFormBuilder.png" },
    { "wxglade", "/usr/bin/wxglade", "/usr/share/icons/hicolor/32x32/apps/wxGlade.png" },
---    { "zerobrane studio", "/usr/bin/zbstudio", "/usr/share/icons/hicolor/32x32/apps/zbstudio.png" },
}
emulationmenu = {
    { "86box", "/usr/bin/86Box", "/usr/share/icons/hicolor/48x48/apps/net.86box.86Box.png" },
    { "86boxmanager", "/usr/bin/86BoxManager", "/usr/share/icons/hicolor/scalable/apps/86BoxManager.svg" },
    { "boxbuddy-rs", "/usr/bin/boxbuddy-rs", "/usr/share/icons/hicolor/scalable/apps/io.github.dvlv.boxbuddyrs.svg" },
    { "dosbox", "/usr/bin/dosbox", "/usr/share/pixmaps/dosbox.png" },
    { "virt-manager", "/usr/bin/virt-manager", "/usr/share/icons/hicolor/48x48/apps/virt-manager.png" },
    { "virtualbox", "/usr/bin/virtualbox", "/usr/share/pixmaps/VBox.png" },
    { "vmware", "/usr/bin/vmware", "/usr/lib/vmware/share/icons/hicolor/32x32/apps/vmware-workstation.png" },
}
engineeringmenu = {
    { "arduino", "/usr/bin/arduino-ide", "/usr/share/icons/hicolor/512x512/apps/arduino-ide-v2.png" },
    { "eagle", "/home/hanez/bin/eagle.sh", "/usr/share/pixmaps/eagle.png" },
    { "energia", "/usr/bin/energia", "/usr/share/pixmaps/energia.png" },
    { "fritzing", "/usr/bin/Fritzing", "/usr/share/pixmaps/fritzing.png" },
    { "freecad", "/usr/bin/freecad", "/usr/share/icons/hicolor/scalable/apps/org.freecad.FreeCAD.svg" },
    { "kicad", "/usr/bin/kicad", "/usr/share/icons/hicolor/48x48/apps/kicad.png" },
    { "kingstvis", "/opt/kingstvis/KingstVIS", "/usr/share/icons/hicolor/48x48/KingstVIS.png" },
    { "ldcad", "/usr/bin/LDCad", "/usr/share/LDCad/resources/LDCad-128x128.png" },
    { "leocad", "/usr/bin/leocad", "/usr/share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg" },
    { "librecad", "/usr/bin/librecad", "/usr/share/icons/hicolor/scalable/apps/librecad.svg" },
    { "librepcb", "/usr/bin/librepcb", "/usr/share/icons/hicolor/scalable/apps/org.librepcb.LibrePCB.svg" },
    { "openmv ide", "/usr/bin/openmvide", "/usr/share/icons/hicolor/48x48/apps/OpenMV-openmvide.png" },
    { "openscad", "/usr/bin/openscad", "/usr/share/icons/hicolor/48x48/apps/openscad.png" },
    { "processing", "/usr/bin/processing", "/usr/share/icons/hicolor/48x48/mimetypes/processing-pde.png" },
    { "prusa slicer", "/usr/bin/prusa-slicer", "/usr/share/PrusaSlicer/icons/PrusaSlicer.svg" },
    { "pulseview", "/usr/bin/pulseview", "/usr/share/icons/hicolor/scalable/apps/pulseview.svg" },
    { "qcad", "/usr/bin/qcad", "/usr/share/icons/hicolor/scalable/apps/org.qcad.QCAD.svg" },
    { "qtresistors", "/usr/bin/qtResistors", "/usr/share/icons/hicolor/64x64/apps/qtResistors.png" },
    { "simulide", "/usr/bin/simulide", "/usr/share/icons/hicolor/256x256/simulide.png" },
    { "savvycan", "/usr/bin/SavvyCAN", "/usr/share/icons/hicolor/scalable/apps/SavvyCAN.png" },
    { "stm32cubemx", "/usr/bin/stm32cubemx", "/usr/share/pixmaps/stm32cubemx.png" },
    { "superslicer", "/usr/bin/superslicer", "/usr/share/icons/hicolor/32x32/apps/SuperSlicer.png" },
    { "ultimaker cura", "/usr/bin/UltiMaker-Cura", "/usr/share/pixmaps/cura-icon.png" },
    { "upyloader", "/usr/bin/upyloader", "/usr/share/pixmaps/upyloader.svg" },
}
gamesmenu = {
    --{ "0 a.d.", "/usr/bin/0ad", "/usr/share/pixmaps/0ad.png" },
    { "atomix", "/usr/bin/atomix", "/usr/share/icons/hicolor/symbolic/apps/atomix-symbolic.svg" },
    { "citron", "/usr/bin/citron-neo-nightly", "/usr/share/icons/hicolor/scalable/apps/citron-neo.svg" },
    { "factorio (demo)", "/usr/bin/factorio", "/usr/share/factorio/core/graphics/factorio.png" },
    { "godot ide", "/usr/bin/godot", "/usr/share/icons/hicolor/scalable/apps/godot.svg" },
    --{ "flightgear", "/usr/bin/fgfs --launcher", "/usr/share/icons/hicolor/scalable/apps/flightgear.svg" },
    { "kmines", "/usr/bin/kmines", "/usr/share/icons/hicolor/48x48/apps/kmines.png" },
    { "luanti", "/usr/bin/luanti", "/usr/share/icons/hicolor/scalable/apps/luanti.svg" },
    { "lutris", "/usr/bin/lutris", "/usr/share/icons/hicolor/scalable/apps/net.lutris.Lutris.svg" },
    --{ "neverball", "/usr/bin/neverball", "/usr/share/icons/hicolor/48x48/apps/neverball.png" },
    --{ "neverputt", "/usr/bin/neverputt", "/usr/share/icons/hicolor/48x48/apps/neverputt.png" },
    { "red eclipse", "/opt/redeclipse/redeclipse.sh", "/usr/share/pixmaps/redeclipse.png" },
    { "retroarch", "/usr/bin/retroarch", "/usr/share/pixmaps/com.libretro.RetroArch.svg" },
    { "ryujinx", "/usr/bin/ryujinx", "/usr/share/pixmaps/ryujinx.svg" },
    { "supertux", "/usr/bin/supertux2", "/usr/share/icons/hicolor/scalable/apps/supertux2.svg" },
    { "supertux kart", "/usr/bin/supertuxkart", "/usr/share/icons/hicolor/48x48/apps/supertuxkart.png" },
    --"sauerbraten", "/usr/bin/sauerbraten-client", "/usr/share/pixmaps/sauerbraten.png" },
    { "steam", "/home/hanez/bin/steam.sh", "/usr/share/pixmaps/steam.png" },
    --{ "thimbleweed park", "/home/hanez/bin/thimbleweedpark", "/home/hanez/.local/share/Steam/steamapps/common/Thimbleweed Park/Icon32.png" },
    { "warzone 2100", "/usr/bin/warzone2100", "/usr/share/icons/net.wz2100.warzone2100.png" },
    { "widelands", "/usr/bin/widelands", "/usr/share/icons/hicolor/48x48/apps/org.widelands.Widelands.png" },
    { "xgalaga++", "/usr/bin/xgalaga++", "/usr/share/pixmaps/xgalaga++.xpm" },
}
graphicsmenu = {
    { "aseprite", "/usr/bin/aseprite", "/usr/share/icons/hicolor/48x48/apps/aseprite.png" },
    { "blender", "/usr/bin/blender", "/usr/share/icons/hicolor/scalable/apps/blender.svg" },
    { "darktable", "/usr/bin/darktable", "/usr/share/darktable/pixmaps/dt_logo_128x128.png" },
    { "eyedropper", "/usr/bin/eyedropper", "/usr/share/icons/hicolor/scalable/apps/com.github.finefindus.eyedropper.svg" },
    { "font manager", "/usr/bin/font-manager", "/usr/share/icons/gnome/48x48/apps/preferences-desktop-font.png" },
    { "font viewer", "/usr/bin/gnome-font-viewer", "/usr/share/icons/gnome/48x48/apps/preferences-desktop-font.png" },
    { "gimp", "/usr/bin/gimp", "/usr/share/icons/hicolor/48x48/apps/gimp.png" },
    { "gmic", "/usr/bin/gmic_qt", "/usr/share/icons/hicolor/scalable/apps/gmic_qt.svg" },
    { "gpick", "/usr/bin/gpick", "/usr/share/icons/hicolor/48x48/apps/gpick.png" },
    { "inkscape", "/usr/bin/inkscape", "/usr/share/icons/hicolor/48x48/apps/org.inkscape.Inkscape.png" },
    { "karbon", "/usr/bin/karbon", "/usr/share/icons/hicolor/scalable/apps/org.kde.calligra.karbon.svg" },
    { "kcolorchooser", "/usr/bin/kcolorchooser", "/usr/share/icons/hicolor/22x22/apps/kcolorchooser.png" },
    { "krita", "/usr/bin/krita", "/usr/share/icons/hicolor/48x48/apps/krita.png" },
    { "mtpaint", "/usr/bin/mtpaint", "/usr/share/pixmaps/mtpaint.png" },
    { "rawtherapee", "/usr/bin/rawtherapee", "/usr/share/icons/hicolor/scalable/apps/rawtherapee.svg" },
    { "screenshooter", "/usr/bin/xfce4-screenshooter", "/usr/share/icons/hicolor/scalable/apps/org.xfce.screenshooter.svg" },
    { "scribus", "/usr/bin/scribus", "/usr/share/icons/hicolor/32x32/apps/scribus.png" },
    { "viewnior", "/usr/bin/viewnior", "/usr/share/icons/hicolor/48x48/apps/viewnior.png" },
    { "wacom", "/usr/bin/kde_wacom_tabletfinder", appicon },
}
hackingmenu = {
    { "cutter", "/usr/bin/cutter", "/usr/share/icons/hicolor/scalable/apps/cutter.svg" },
    { "ghidra", "/usr/bin/ghidra", "/usr/share/pixmaps/Ghidra_Logo.png" },
    { "ghex", "/usr/bin/ghex ", "/usr/share/icons/hicolor/scalable/apps/org.gnome.GHex.svg" },
    { "iaito", "/usr/bin/iaito ", "/usr/share/icons/hicolor/scalable/apps/org.radare.iaito.svg" },
}
internetmenu = {
    { "brave", "/usr/bin/brave", "/usr/share/icons/hicolor/32x32/apps/brave-desktop.png" },
    { "chrome", "/usr/bin/google-chrome-stable", "/usr/share/icons/hicolor/48x48/apps/google-chrome.png" },
    { "chrome (incognito)", "/usr/bin/google-chrome-stable", "/usr/share/icons/hicolor/48x48/apps/google-chrome.png" },
    { "chromium", "/usr/bin/chromium", "/usr/share/icons/hicolor/48x48/apps/chromium.png" },
    { "chromium (incognito)", "/usr/bin/chromium --incognito", "/usr/share/icons/hicolor/48x48/apps/chromium.png" },
    { "edge", "/usr/bin/microsoft-edge-stable", "/usr/share/icons/hicolor/48x48/apps/microsoft-edge.png" },
    { "edge (private)", "/usr/bin/microsoft-edge-stable --inprivate", "/usr/share/icons/hicolor/48x48/apps/microsoft-edge.png" },
    { "electrum", "/usr/bin/electrum", "/usr/share/pixmaps/electrum.png" },
    { "firefox", "/usr/bin/firefox", "/usr/share/icons/hicolor/48x48/apps/firefox.png" },
    { "firefox (private)", "/usr/bin/firefox --private-window", "/usr/share/icons/hicolor/48x48/apps/firefox.png" },
    { "gftp", "/usr/bin/gftp-gtk", "/usr/share/icons/hicolor/scalable/apps/gftp.svg" },
    { "librewolf", "/usr/bin/librewolf", "/usr/share/icons/hicolor/48x48/apps/librewolf.png" },
    { "liferea", "/usr/bin/liferea", "/usr/share/icons/hicolor/scalable/apps/net.sourceforge.liferea.svg" },
    { "luakit", "/usr/bin/luakit", "/usr/share/pixmaps/luakit.svg" },
    { "mega", "/usr/bin/megasync", "/usr/share/icons/hicolor/48x48/apps/mega.png" },
---    { "nextcloud", "/usr/bin/nextcloud", "/usr/share/icons/hicolor/48x48/apps/Nextcloud.png" },
    { "opera", "/usr/bin/opera", "/usr/share/pixmaps/opera.xpm" },
    { "qutebrowser", "/usr/bin/qutebrowser", "/usr/share/icons/hicolor/scalable/apps/qutebrowser.svg" },
    { "rssguard", "/usr/bin/rssguard", "/usr/share/icons/hicolor/512x512/apps/io.github.martinrotter.rssguard.png" },
---    { "seamonkey", "/usr/bin/seamonkey", "/usr/share/pixmaps/seamonkey.png" },
    { "tor browser", "/usr/bin/tor-browser", "/usr/share/icons/hicolor/scalable/apps/tor-browser.svg" },
    { "transmission", "/usr/bin/transmission-gtk", "/usr/share/icons/hicolor/scalable/apps/transmission-gtk.svg" },
    { "vimb", "/usr/bin/vimb", appicon },
}
multimediamenu = {
    { "acidrip", "/usr/bin/acidrip", "/usr/share/pixmaps/acidrip.png" },
    { "audex", "/usr/bin/audex", "/usr/share/icons/hicolor/scalable/apps/org.kde.audex.svg" },
    { "brasero", "/usr/bin/brasero", "/usr/share/icons/hicolor/48x48/apps/brasero.png" },
    { "demon editor", "/usr/bin/demon-editor", "/usr/share/icons/hicolor/scalable/apps/demon-editor.svg" },
    { "handbrake", "/usr/bin/ghb", "/usr/share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg" },
    { "k3b", "/usr/bin/k3b", "/usr/share/icons/hicolor/48x48/apps/k3b.png" },
    { "kaffeine", "/usr/bin/kaffeine", "/usr/share/icons/hicolor/scalable/apps/kaffeine.svg" },
    { "mediathekview", "/home/hanez/opt/MediathekView/MediathekView", "/home/hanez/opt/MediathekView/MediathekView.svg" },
    { "plex", "/usr/bin/Plex", "/usr/share/icons/hicolor/256x256/apps/tv.plex.PlexDesktop.png" },
    { "shortwave", "/usr/bin/shortwave", "/usr/share/icons/hicolor/scalable/apps/de.haeckerfelix.Shortwave.svg" },
    { "spotiflyer", "/usr/lib/spotiflyer/bin/SpotiFlyer", "/usr/share/pixmaps/spotiflyer.png" },
    { "spotify", "/usr/bin/spotify-tray", "/usr/share/pixmaps/spotify-client.png" },
    { "spotube", "/usr/bin/spotube", "/usr/share/icons/spotube/spotube-logo.png" },
    { "sound juicer", "/usr/bin/sound-juicer", "/usr/share/icons/hicolor/48x48/apps/org.gnome.SoundJuicer.png" },
    { "tvbrowser", "/usr/bin/tvbrowser", "/usr/share/icons/hicolor/48x48/apps/tvbrowser.png" },
    { "vlc", "/usr/bin/vlc", "/usr/share/icons/hicolor/48x48/apps/vlc.png" },
    { "youtube downloader", "/usr/bin/youtube-dl-gui", "/usr/share/icons/hicolor/1024x1024/apps/youtube-dl-gui-bin.png" },
}
networkmenu = {
    { "ettercap", "/usr/bin/ettercap -G", "/usr/share/icons/hicolor/scalable/apps/ettercap.svg" },
    { "fwbuilder", "/usr/bin/fwbuilder", "/usr/share/icons/hicolor/48x48/apps/fwbuilder.png" },
    { "gns3", "/usr/bin/gns3", "/usr/share/pixmaps/gns3.png" },
    { "gufw", "/usr/bin/gufw_fixed", "/usr/share/icons/hicolor/scalable/apps/gufw.svg" },
    { "wireshark", "/usr/bin/wireshark-gtk", "/usr/share/icons/hicolor/48x48/apps/org.wireshark.Wireshark.png" },
    { "zenmap", "/usr/bin/gksu /usr/bin/zenmap", "/usr/share/pixmaps/zenmap.png" },
}
officemenu = {
    --{ "calendar", "/usr/bin/io.elementary.calendar", "/usr/share/icons/elementary/apps/48/office-calendar.svg" },
    { "calligra sheets", "/usr/bin/calligrsheets", "/usr/share/icons/hicolor/scalable/apps/org.kde.calligra.sheets.svg" },
    { "calligra stage", "/usr/bin/calligrastage", "/usr/share/icons/hicolor/scalable/apps/org.kde.calligra.stage.svg" },
    { "calligra words", "/usr/bin/calligrawords", "/usr/share/icons/hicolor/scalable/apps/org.kde.calligra.words.svg" },
    { "gimagereader (ocr)", "/usr/bin/gimagereader-gtk", appicon },
    { "grisbi", "/usr/bin/grisbi", "/usr/share/icons/hicolor/scalable/apps/grisbi.svg" },
    { "gscan2pdf", "/usr/bin/gscan2pdf", "/usr/share/pixmaps/gscan2pdf.svg" },
    { "image scan!", "/usr/bin/iscan", "/usr/share/icons/gnome/48x48/devices/scanner.png" },
    { "libreoffice base", "/usr/bin/libreoffice --base", "/usr/share/icons/hicolor/48x48/apps/libreoffice-base.png" },
    { "libreoffice calc", "/usr/bin/libreoffice --calc", "/usr/share/icons/hicolor/48x48/apps/libreoffice-calc.png" },
    { "libreoffice draw", "/usr/bin/libreoffice --draw", "/usr/share/icons/hicolor/48x48/apps/libreoffice-draw.png" },
    { "libreoffice impress", "/usr/bin/libreoffice --impress", "/usr/share/icons/hicolor/48x48/apps/libreoffice-impress.png" },
    { "libreoffice math", "/usr/bin/libreoffice --math", "/usr/share/icons/hicolor/48x48/apps/libreoffice-math.png" },
    { "libreoffice writer", "/usr/bin/libreoffice --writer", "/usr/share/icons/hicolor/48x48/apps/libreoffice-writer.png" },
    { "openboard", "/usr/bin/openboard", "/usr/share/icons/hicolor/scalable/mimetypes/ch.openboard.application-ubz.svg" },
    { "pdfslicer", "/usr/bin/pdfslicer", "/usr/share/icons/hicolor/scalable/apps/com.github.junrrein.PDFSlicer.svg" },
    { "simple scan", "/usr/bin/simple-scan", "/usr/share/icons/hicolor/scalable/apps/org.gnome.SimpleScan.svg" },
    { "xsane scanning", "/usr/bin/xsane", "/usr/share/icons/nitrux-icon-theme/apps/48/xsane.svg" },
}
privacymenu = {
---    { "ausweisapp 2", "/usr/bin/AusweisApp2", "/usr/share/icons/hicolor/scalable/apps/AusweisApp2.svg" },
    { "cryptomator", "/usr/bin/cryptomator", "/usr/share/icons/hicolor/512x512/apps/org.cryptomator.Cryptomator.svg" },
---    { "gnu privacy agent", "/usr/bin/gpa", "/usr/share/pixmaps/gpa.png" },
    { "keepassxc", "/usr/bin/keepassxc", "/usr/share/icons/hicolor/scalable/apps/keepassxc.svg" },
    { "kleopatra", "/usr/bin/kleopatra", "/usr/share/icons/hicolor/48x48/apps/kleopatra.png" },
---    { "open ecard", "/opt/open-ecard-app/bin/open-ecard-app", "/opt/open-ecard-app/lib/open-ecard-app.png" },
    { "seahorse", "/usr/bin/seahorse", "/usr/share/icons/hicolor/scalable/apps/org.gnome.seahorse.Application.svg" },
    { "tor browser", "/usr/bin/tor-browser", "/usr/share/icons/hicolor/scalable/apps/tor-browser.svg" },
    { "veracrypt", "/usr/bin/veracrypt", "/usr/share/icons/hicolor/scalable/apps/tor-browser.svg" },
---    { "yubikey athenticator", "/usr/bin/yubioath-desktop", "/usr/share/pixmaps/com.yubico.yubioath.svg" },
    { "yubikey manager", "/usr/bin/ykman-gui", "/usr/share/pixmaps/ykman.png" },
    { "yubikey personalization tool", "/usr/bin/yubikey-personalization-gui", "/usr/share/icons/hicolor/48x48/apps/yubikey-personalization-gui.png" },
---    { "yubikey piv manager", "/usr/bin/pivman", "/usr/share/pixmaps/pivman.xpm" },
    { "zulucrypt", "/usr/bin/zuluCrypt-gui", "/usr/share/pixmaps/zuluCrypt.papirus.dark.png" },
}
radiomenu = {
    { "gnuradio", "/usr/bin/gnuradio-companion", icondir .. "radio.svg" },
    { "gpredict", "/usr/bin/gpredict", "/usr/share/icons/hicolor/scalable/apps/gpredict.svg" },
    { "gqrx", "/usr/bin/gqrx", "/usr/share/icons/hicolor/scalable/apps/gqrx.svg" },
    { "urh", "/usr/bin/urh", "/usr/share/pixmaps/urh.png" },
}
sciencemenu = {
    { "epsilon", "/usr/bin/numworks-epsilon", "/usr/share/pixmaps/numworks-epsilon.png" },
    { "firebird nspire", "/usr/bin/firebird-emu", "/usr/local/share/icons/hicolor/512x512/apps/org.firebird-emus.firebird-emu.png" },
    { "google earth", "/usr/bin/google-earth-pro", "/opt/google/earth/pro/product_logo_32.xpm" },
    { "hp 15c", "/usr/bin/hp15c", "/usr/share/icons/hicolor/48x48/apps/hp15c.png" },
    { "stellarium", "/usr/bin/stellarium", "/usr/share/icons/hicolor/48x48/apps/stellarium.png" },
    { "viking", "/usr/bin/viking", "/usr/share/icons/hicolor/48x48/apps/viking.png" },
    { "worldwind", "/usr/bin/worldwind", "/usr/share/worldwind/src/images/32x32-icon-earth.png" },
}
systemmenu = {
    { "baobab", "/usr/bin/baobab", "/usr/share/help/C/baobab/media/org.gnome.baobab.svg" },
---    { "mibbrowser", "/usr/bin/imibrowser", "/usr/share/icons/hicolor/48x48/apps/imibrowser.png" },
    { "gnome disks", "/usr/bin/gnome-disks", "/usr/share/icons/hicolor/scalable/apps/org.gnome.DiskUtility.svg" },
    { "gnome firmware", "/usr/bin/gnome-firmware", "/usr/share/icons/hicolor/scalable/apps/org.gnome.Firmware.svg" },
    { "gparted", "/usr/bin/gparted", "/usr/share/icons/hicolor/48x48/apps/gparted.png" },
    { "gpu viewer", "/usr/bin/gpu-viewer", "/usr/share/icons/hicolor/512x512/apps/io.github.arunsivaramanneo.GPUViewer.png" },
    { "gst", "/usr/bin/gst", "/usr/share/icons/hicolor/32x32@2x/apps/com.leinardi.gst.png" },
    { "hardinfo2", "/usr/bin/hardinfo2", "/usr/share/hardinfo2/pixmaps/hardinfo2.svg" },
    { "nomachine", "/usr/bin/nomachine-client", "/usr/share/NX/share/icons/48x48/NoMachine-desktop.png" },
    { "partition manager", "/usr/bin/partitionmanager", "/usr/share/icons/hicolor/scalable/apps/partitionmanager.svg" },
    --{ "podman desktop", "/usr/bin/podman-desktop", "/usr/share/icons/hicolor/scalable/apps/podman-desktop.svg" },
    { "printer", "/usr/bin/system-config-printer", icondir .. "printer.svg" },
    { "rustdesk", "/usr/bin/rustdesk", "/usr/share/icons/hicolor/scalable/apps/rustdesk.svg" },
    { "systemmonitor", "/usr/bin/plasma-systemmonitor", "/home/hanez/.config/awesome/icons/sysmon.png" },
    { "teamviewer", "/usr/bin/teamviewer", "/usr/share/icons/hicolor/scalable/apps/TeamViewer.svg" },
}
toolsmenu = {
    { "engrampa", "/usr/bin/engrampa", "/usr/share/icons/hicolor/32x32/apps/engrampa.png" },
    { "gscriptor", "/usr/bin/gscriptor", "/usr/share/icons/hicolor/48x48/apps/gcr-smart-card.png" },
    { "regexxer", "/usr/bin/regexxer", "/usr/share/icons/hicolor/48x48/apps/regexxer.png" },
    { "xarchiver", "/usr/bin/xarchiver", "/usr/share/icons/hicolor/48x48/apps/xarchiver.png" },
}
utilitiesmenu = {
    { "arandr", "/usr/bin/arandr", "/usr/share/icons/hicolor/scalable/devices/video-television.svg" },
    { "file search tool", "/usr/bin/gnome-search-tool", icondir .. "search.svg" },
    { "furiusisomount", "/usr/bin/furiusisomount", "/usr/share/furiusisomount/pix/furiusisomount.png" },
    { "grsync", "/usr/bin/grsync", "/usr/share/icons/hicolor/128x128/apps/grsync.png" },
    { "gtk appearance", "/usr/bin/lxappearance", appicon },
    { "qt5 configuration tool", "/usr/bin/qt5ct", appicon },
    { "qt6 configuration tool", "/usr/bin/qt6ct", appicon },
    { "raspberry pi imager", "/usr/bin/rpi-imager", appicon },
}
videomenu = {
    { "obs", "/usr/bin/obs", "/usr/share/icons/hicolor/256x256/apps/com.obsproject.Studio.png" },
    { "shotcut", "/usr/bin/shotcut", "/usr/share/icons/hicolor/64x64/apps/org.shotcut.Shotcut.png" },
}
windowsmenu = {
    { "bottles", "/usr/bin/bottles", "/usr/share/icons/hicolor/scalable/apps/com.usebottles.bottles.svg" },
    { "control panel", "wine /home/hanez/.wine/drive_c/windows/syswow64/control.exe", appicon },
    --{ "playonlinux", "/usr/bin/playonlinux", "/usr/share/pixmaps/playonlinux.png" },
    { "regedit", "/usr/bin/regedit", appicon },
    { "uninstaller pro", "wine '/home/hanez/.wine/drive_c/Program Files/VS Revo Group/Revo Uninstaller Pro/RevoUninPro.exe'", appicon },
    { "wineconsole", "/usr/bin/wineconsole", appicon },
    { "winefile", "/usr/bin/winefile", appicon },
    { "winegui", "/usr/bin/winegui", "/usr/share/icons/hicolor/scalable/apps/winegui.svg" },
    { "winetricks", "/usr/bin/winetricks", "/usr/share/icons/hicolor/scalable/apps/winetricks.svg" },
}
mainmenu = awful.menu({ items = {
    { "accessories >", accessoriesmenu, icondir .. "accessories.svg" },
    { "audio >", audiomenu, icondir .. "synthesizer.svg" },
    { "communication >", communicationmenu, icondir .. "communication.svg" },
    { "database >", databasemenu, icondir .. "database.svg" },
    { "development >", developmentmenu, icondir .. "development.svg" },
    { "emulation >", emulationmenu, icondir .. "emulation.svg" },
    { "engineering >", engineeringmenu, icondir .. "engineering.svg" },
    { "games >", gamesmenu, icondir .. "joystick.svg"},
    { "graphics >", graphicsmenu, icondir .. "graphics.svg" },
    { "hacking >", hackingmenu, icondir .. "hacking.svg" },
    { "internet >", internetmenu, icondir .. "internet.svg" },
    { "network >", networkmenu, icondir .. "network.svg" },
    { "multimedia >", multimediamenu, icondir .. "multimedia.svg" },
    { "office >", officemenu, icondir .. "office.svg" },
    { "privacy >", privacymenu, icondir .. "privacy.svg" },
    { "radio >", radiomenu, icondir .. "radio.svg" },
    { "science >", sciencemenu, icondir .. "science.svg" },
    { "system >", systemmenu, icondir .. "gear.svg" },
    { "tools >", toolsmenu, icondir .. "tools.svg" },
    { "utilities >", utilitiesmenu, icondir .. "utilities.svg" },
    { "video >", videomenu, icondir .. "video.svg" },
    { "windows >", windowsmenu, icondir .. "windows.svg" },
    { "filemanager (nemo)", "/usr/bin/nemo", icondir .. "filemanager.svg" },
    { "filemanager (nemo su)", "/usr/bin/gksuso /usr/bin/nemo", icondir .. "filemanager.svg" },
    { "filemanager (thunar)", "/usr/bin/thunar", icondir .. "filemanager.svg" },
    { "filemanager (thunar su)", "/usr/bin/gksudo /usr/bin/thunar", icondir .. "filemanager.svg" },
    { "terminal (xfce4)", "/usr/bin/xfce4-terminal", icondir .. "terminal.svg" },
    { "terminal (xterm)", terminal, icondir .. "terminal.svg" },
    { "configuration", editor_cmd .. " " .. awesome.conffile, icondir .. "configuration.svg" },
    { "reload", awesome.restart, icondir .. "reload.svg" },
    { "suspend", function () awful.util.spawn("/usr/bin/loginctl suspend") end, icondir .. "suspend.svg"  },
    { "quit", function() awesome.quit() end, icondir .. "quit.svg"  }
  }
})

return mainmenu
