Code Monkey home page Code Monkey logo

dmenu-mac's People

Contributors

core-code avatar jackwakefield avatar luisholanda avatar onaips avatar rayment avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dmenu-mac's Issues

Application quits after fufilling querying or pressing 't'.

Dmenu seems to quit after fufilling a querying or pressing 't'.
I have to reopen dmenu to perform another query.
I'm on Catalina btw.
Running binary in terminal and pressing 't' outputs this.
tom.lister@MacBook-Air MacOS % ./dmenu-mac Fatal error: Can't form a Character from an empty String zsh: illegal hardware instruction ./dmenu-mac

Always on top

Hi,

Is there any way to set dmenu-mac to be always on top? My dock is on the left side of my screen and because I do have (perhaps) many apps in the dock, dmenu-mac's search box is under the finder icon.

Screen Shot 2021-11-16 at 14 31 41

Thanks in advance.

Move dmenu to bottom or other positions

Hi. Currently the dmenu GUI defaults to showing the bar at the top of the screen. Can this be changed to utilise other positions, e.g. bottom of the screen?

(thanks for the app!)

System Pref. Panes access

Please add the ability to open system pref panes, it would give instant access to the pref. panes.

Oh and please make the font larger, or make an option or us to do so. I find it hard to read at 2880x1800 on a 15" MBP.

Add favourites/bookmarks

Really needs to save frequently used apps function, its a giant pain-in-the-ass to have to scroll though the list time after time for a often used app rather then dmenu "completing" in the entry with the most used.

Some more options would be nice ie. transparency, font type and sizes (perhaps even color).

Shortcuts doesn't work

Default shortcut and remaped shortcut doesn't work. Maybe I should make some configuration before?

dmenu doesn't exit after selecting an application

First off, thanks for writing this! So much better than running an XQuartz port of dmenu.

Anyway, I've found that when running dmenu-mac without any arguments (as an application launcher), the process doesn't exit after launching the selected application. I did some digging after opening my activity monitor showed ~100 dmenu-mac processes.

bug
(It's a little difficult to see but, if you look at the terminal you can see it blocking after selecting "Activity Monitor" on the second run)

I'm assuming this isn't the intended behavior as when piping options to dmenu, it exits as soon as something is selected.


EDIT: after reading this code in the SearchViewController, I see that hiding the application instead of exiting is intended? You can consider this issue a "feature request" for a flag that closes after a selection is made. I'll put a PR up 😄

dmenu-mac is killed instantly

Hi,

I've just installed dmenu-mac (v0.7.2) with brew, as suggested, but it does not seem to be working on my box (macOS Big Sur v11.5.2, intel cpu) as it is killed instantly

$ dmenu-mac
[1]    54962 killed     dmenu-mac

Is there any flag I could use to get some debug information? Am I missing anything here?

Best, Jose

Macos switches to some random desktop after hitting the dmenu shortcut

After updating to the latest macos I started having the following issue: at some point after running dmenu my shortcut for summoning dmenu starts to switch to some specific desktop instead of spawning dmenu. If I hit the shortcut key combination at that desktop it works fine, but on any other desktop it switches to that one specific desktop and doesn't spawn dmenu until I hit it again. It makes it very difficult to use because I want to spawn it on any desktop.
I can only fix it by killing dmenu and starting it up again.
I'm running Ventura 13.3.1.

Is anyone else having this issue? Any tips for debugging it?

Apple Silicon

Great project! dmenu is all I've ever really wanted from a fuzzy application finder on macOS.

Would it be possible to produce aarch64/Apple Silicon releases?

Using Python2

Please upgrade to using python3.
It is easily done by changing the following line from "scripts/dmenu-mac":

function realpath() { python -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }

to

function realpath() { python3 -c "import os,sys; print(os.path.realpath(sys.argv[1]))" "$0"; }

(Only change: python -> python3)

As far as I can tell it directly works.

Index Other Locations for Applications?

I install my applications to a folder named "Applications" in my home directory (i.e. /Users/heywoodlh/Applications).

Is there a way to configure dmenu-mac to look in that folder for applications? Spotlight indexes that folder automatically.

disable default shortcut

After install the cmd+space started automaticly to show dmenu-mac, is there a way to disable that? I use this shortcut to chnage input languge.

Render issue / yabai compatibility

I'm using yabai and the integrated status bar that comes bundled with it.

I'm trying to add dmenu-mac to my setup but it does not offset with regards to yabai's status bar height, and the dmenu panel is rendered behind the status bar:
Skärmavbild 2019-08-06 kl  12 54 42

Is it possible to configure dmenu-mac and specify an offset or margin/padding, or any other way to force it to render above the status bar?

custom entries via pipe

Would be nice if there was a way to provide custom entries instead of applications so that I can used this for pass as a front-end for auto typing passwords.

Can't find some default apps on Catalina

A lot of the default apps on Catalina (e.g. System Preferences, Activity Monitor, Music) are unfindable. Other default installed apps (e.g. Garage Band) can be found. It seems all the apps that can be found, are listed in ls /Applications/, but some of the default applications seem to have some special status and can't even be found with ls /Applications/.

I've been using dmenu-mac for a few years on Mojave and older without issues, but only just stumbled upon this on my new Macbook with Catalina installed.

Workaround

This can be worked around by creating an alias in Finder with Cmd + Ctrl + A, and making sure it ends with .app. The alias can then be found by dmenu-mac, and you can launch the application that way.

Better handling of arrow keys

I saw on the readme there was a todo for this, what exactly is needed?

While I was building it for my OS version, I made some changes, it basically wraps around the list wen going to the end

 if commandSelector == #selector(moveLeft(_:)) {
            if resultsText.selectedAppIndex > 0 {
                resultsText.selectedAppIndex -= 1
            }
            else {
                resultsText.selectedAppIndex = resultsText.list.count - 1
            }
            resultsText.updateWidth()
            return true
        } else if commandSelector == #selector(moveRight(_:)) {
            if resultsText.selectedAppIndex < resultsText.list.count - 1 {
                resultsText.selectedAppIndex += 1
            }
            else {
                resultsText.selectedAppIndex = 0
            }
            resultsText.updateWidth()
            return true

I've also changed the tab keypress to mimic the right key, but that's another issue...(I think tab and shift tab should mimic the arrow keys, key up should go to last, key down should go to first, and the "starts with" feature of the tab key should be replaced with the regex text, if the search string starts with ^)

Homebrew?

Thanks for this. Any chance you could upload to Homebrew? Would be create to add this to my configuration files.

Mojave version

hello, I would really like to try it, but my mac is managed my the company and it doesn't support 10.5 yet, could you target a build for 10.4, or make a readme file with the build steps?

No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

Hey, I just want to thank you for putting in the effort to make maintain this project, having a dmenu-like interface is the ideal for custom launcher scripts (I'm going to use it for a script to launch projects from my project directory in PyCharm). I'm having a problem running this program though.

Here's all of the relevant info:

❯ dmenu-mac
2021-09-22 11:19:31.451 dmenu-mac[60055:1929984] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

❯ brew info dmenu-mac
dmenu-mac: 0.7.1
https://github.com/oNaiPs/dmenu-mac
/usr/local/Caskroom/dmenu-mac/0.7.1 (123B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/dmenu-mac.rb
==> Name
dmenu-mac
==> Description
Keyboard-only application launcher
==> Artifacts
dmenu-mac.app (App)
/Applications/dmenu-mac.app/Contents/MacOS/dmenu-mac (Binary)
==> Analytics
install: 54 (30 days), 178 (90 days), 447 (365 days)

❯ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.7
BuildVersion:   19H1323

Dead?

Hello.

Is this project dead?
I noticed the last commit was over a year ago.
And, many issues were not resolved.

Thanks

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.