Questions tagged [dmenu]

12 questions
1
vote
1 answer

How do I change dmenu font and size?

How do I change the size as well as font on dmenu? Dmenu is a software launcher. It it possible to do /usr/bin/dmenu_run -fn 'FireCode-16', but that changes the whole dmenu bar size, not just the font. I want the bar to be thicker, but I want to be…
1
vote
0 answers

How can I cycle through an array in bash while also passing an argument to the script?

I have the following bash script I want to use as my "standard browser" with xdg-open. It should prompt dmenu for me to choose the browser to open the url in. Now xdg-open passes the url as an argument to the program (I suppose) and as I'm cycling…
1
vote
4 answers

How to get first word of every line and pipe it into dmenu script

I have a text file like this: first state second state third state Getting the first word from every line isn't difficult, but the problem comes when adding the extra \n required to separate every word (selection) in dmenu, per its syntax: echo -e…
0
votes
1 answer

Display passwords from pass (the standard unix password manager) in dmenu-mac, by executing a shell script

I'd like to have all the passwords, that are stored in gnu-pass (the standard unix password manager), to be displayed in dmenu-mac via a shell script. The shell script is working, only for the Directory/file…
gachikuku
  • 3
  • 4
0
votes
1 answer

ValueError: embedded null byte while using os.popen().read()

i'm trying to pipe some lines with icons to rofi but i'm getting this errror and i don't understand why def show_podcasts(f): podcasts_list = "" with open(f,"r") as podcasts: for line in podcasts: episode_title = "…
javi3y
  • 13
  • 2
0
votes
1 answer

In XMonad, Mod-p (dmenu_run) displays an empty menu

When I hit MOD-p in XMonad, I used to get a list of commands. Now I just get an empty menu. If I type the name of an executable on my path and hit the carriage return, the command executes as expected. But why aren't any programs listed in the menu?…
mhwombat
  • 8,026
  • 28
  • 53
0
votes
1 answer

ls ~ / | rofi -show -dmenu does not work with shortcuts in ubuntu

I am trying to run the ls ~ / | rofi -show -dmenu in a shortcut but it doesn't work, if I run it in terminal it works fine
0
votes
0 answers

dmenu hide part of string

I have this on a file: github - https://github.com/search?q= google - https://www.google.com/search?q= pixabay - https://www.pixabay.com//es/images/search/ map - https://www.google.com/maps/place/ giff - https://giphy.com/search/ I want to get the…
testoflow
  • 17
  • 7
0
votes
1 answer

using dmenu to define variables

i'm trying to write a simple script to cut a segment of an audio file, set it to an image and render it to a video. i want to use dmenu as a clean way of displaying my prompts for inputting variables. all works well except it seems dmenu expects…
0
votes
1 answer

Launching a process from dmenu blocks XMonad

I have an issue with a function I took from XMonad.Util.Dmenu, namely dmenuXinerama (see below). It seems like this is happening: These functions block xmonad's event loop until dmenu exits; this means that programs will not be able to open new…
adder
  • 3,512
  • 1
  • 16
  • 28
0
votes
1 answer

How can I run a .jar program directly from /bin?

Whenever I need to open the logisim-evolution.jar file, I need to type the command: java -jar logisim-evolution.jar I would like to add an entry for that program in /bin to be able to open it through the dmenu. How can I do that?
0
votes
1 answer

How can dmenu show input as soon as there is input from pipe?

TL;DR Here is the default behavior. find ~/ -name *.git 2>/dev/null | dmenu # Searches everything in home directory and shows output Time taken about 1-2 sec What I want: find ~/ -name *.git 2>/dev/null | less # Show as soon as it finds result. How…