Coder Social home page Coder Social logo

sharedordaz / shared-awesomeappmenu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from montagdude/awesome-appmenu

1.0 1.0 1.0 303 KB

Tool to create a menu of installed applications for the awesome window manager

License: GNU General Public License v3.0

Python 95.57% Makefile 2.25% Shell 2.18%

shared-awesomeappmenu's Introduction

Shared Awesome App Menu

Shared Awesome App Menu is a tool forked from the unmantained https://github.com/montagdude/awesome-appmenu.

This application is a python script that extract the icons on your system, and creates a sorted categories menu on $HOME/.config/awesome-appmenu/appmenu.lua

Table of Contents

Features:

  • Supports icons
  • Fully configurable search paths for launchers and icons
  • Fully configurable categories
  • Can create a custom Favorites menu
  • Searches recursively for launchers in specified search paths
  • Properly ignores .desktop files with NoDisplay=true, and does not write empty categories
  • Ungrouped launchers are automatically put into a Miscellaneous category
  • Installable as a package on Arch Linux

Installation:

  1. Clone the package
git clone https://github.com/sharedordaz/Shared-AwesomeAppMenu
  1. Make the package
sudo make install

TO ARCH LINUX AND PACMAN BASED SYSTEMS ONLY

Instead of writing the command above, write this:

makepkg -si

This will make appear this package on your pacman packages

  1. Run the initial script
awesome-appmenu
  1. Write the configuration on ~/.config/awesome/rc.lua or where is your rc.lua awesome config file. Write this code at the begginig of the file
~/.config/awesome/rc.lua
------------------------
--Importing appmenu module
local appmenu = require("appmenu")
  1. Copy and paste { "applications", appmenu.Appmenu } to this fragment of the code, so it looks like that
~/.config/awesome/rc.lua
------------------------
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
                                    { "open terminal", terminal },
                                    { "applications", appmenu.Appmenu}

                                  }
                        })
  1. OPTIONAL: Write a command to keep updating the apps you install each session. You can write the flags you want.
~/.config/awesome/rc.lua
------------------------
--Importing appmenu module

awful.spawn.with_shell("awesome-appmenu")

Flags and configuration

Flag Action
--no-icons Do no include icons on the menu
--verbose, -v Print verbose output for debugging
--help, -h Show usage information

To modify the default settings, edit the variables launcherpaths, iconpaths, and categories in $HOME/.config/awesome-appmenu/menurc.py. launcherpaths and iconpaths are searched in the order listed in this file, so list them in order of your preference. Categories will appear in the menu in the order they are listed in the config file. A sample configuration is supplied and installed by default at /usr/share/awesome-appmenu/menurc.py when you run make install.

Screenshot:

alt tag

shared-awesomeappmenu's People

Contributors

montagdude avatar sharedordaz avatar thed4niel avatar

Stargazers

Thomas Leon Highbaugh avatar

Watchers

zenobit avatar

Forkers

osowoso

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.