Git Product home page Git Product logo

dmenu-mac's Introduction

This is a fork from git://git.suckless.org/dmenu
------------
Get dmenu up and running on macos.


Additional Installation
------------

Install [XQuartz](https://www.xquartz.org):

```
brew install --cask xquartz
```

**`config.mk` changes are already made in this repo**

Credits:

- reddit.com/r/unixporn/comments/xpnwf0/comment/iq4vjcz
- reddit.com/r/suckless/comments/nu8by3/comment/i1vity6

Edit the `config.mk` file:

```
X11INC = /opt/X11/include
X11LIB = /opt/X11/lib

FREETYPEINC = /opt/homebrew/include/freetype2
```

THEN FOLLOW NORMAL BUILD INSTRUCTIONS (e.g. `make clean install`)

**Note** that we must set the shell environment variable `DISPLAY=:0`
where dmenu is launched, which tells dmenu that it should open in XQuartz.

An example keybind in [skhd](https://github.com/koekeishiya/skhd) is:

```
cmd + shift - return : open -a "Xquartz" && export DISPLAY=:0 && cd /Applications; ls -d *.app | dmenu | xargs -I {} open "{}"
```

as per [my comment](https://www.reddit.com/r/unixporn/comments/xpnwf0/comment/keb3j04)


dmenu - dynamic menu
====================
dmenu is an efficient dynamic menu for X.


Requirements
------------
In order to build dmenu you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (dmenu is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install dmenu
(if necessary as root):

    make clean install


Running dmenu
-------------
See the man page for details.

dmenu-mac's People

Contributors

cls avatar garbeam avatar hiltjo avatar n-r-k avatar svdijk avatar frign avatar athas avatar tosch42 avatar atomgardner avatar skeletony007 avatar s-gilles avatar sardemff7 avatar osandov avatar mil avatar schachmat avatar phillbush avatar lvuotto avatar guijan avatar ericpruitt avatar funkyass avatar markand avatar andrewgregory avatar

Watchers

 avatar

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.