bemenu
grc
Our great sponsors
bemenu | grc | |
---|---|---|
12 | 11 | |
1,114 | 1,808 | |
- | - | |
8.2 | 0.0 | |
23 days ago | about 1 month ago | |
C | Python | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bemenu
-
Bash Menu
I really like using something like fuzzy search for menus like these. https://github.com/Cloudef/bemenu is pretty cool in that it works both in a terminal, X11 and on Wayland, so if you want to do something graphical later you can easily migrate. There's also fzf and skim, which work similarly but are only for the terminal.
-
Run scripts using keybindings in default settings
I know that dmenu won't work on wayland, hence I installed bemenu as a drop-in replacement. Now I want to configure keybindings for my scripts using the default settings, but they don't seem to work. Running my scripts from the terminal work, but not when running them via keybinding.
-
command line menu / launcher?
bemenu (i. e. bemenu-run) is a simple launcher that has command line interface (set with BEMENU_BACKEND environment variable), also fzf can be useful in this regard but it will most likely require writing additional scripts to work as a launcher.
-
The end of the nice GTK button
I've already highlighted how using environment variables to change themes is a horrible user experience. The bemenu program suffers from the same flaw. Environment Variables should never be used in any way for values that might change inside a running session.
-
How to accept text input in swaynag?
bemenu
-
No_color
Environment variables are fine when used for things that usually don't change once they're set. For example, XDG_CONFIG_HOME or GOPATH. They are, however, absolutely awful when used to configure values that will probably change inside a session. A good example is BEMENU_OPTS from the bemenu program, which is used to change colors, font etc. Should I relogin into my session just to make a program use dark mode colors?
https://github.com/Cloudef/bemenu#environment-variables
In such cases, environment variables lose their intended purpose and they need to be stuffed into wrapper scripts or overridden on the command line before executing a command, which is extremely annoying.
-
Identifying the window of Bemenu
Bemenu - "Dynamic menu library and client program inspired by dmenu"
- Less Than 10% of Firefox Users on Linux Are Running Wayland
-
Windows 11 Officially Shuts Down Firefox’s Default Browser Workaround
Instead of rofi, bemenu[2] is nice too.
[1] https://github.com/dunst-project/dunst/issues/264
[2] https://github.com/Cloudef/bemenu
-
tessen: an interactive menu to autotype and copy password store data on Wayland, like rofi-pass
tessen can use either bemenu, the wayland fork of rofi, or wofi to show password store data. It relies on wtype for autotyping instead of using ydotool because ydotool needs root privileges.
grc
-
Show HN: Tailspin – A Log File Highlighter
Probably not as efficient, but I've been happily using grc [0] for the past several years. It handles simple rules quite well - beyond the basic info/debug/error coloring I use it for QOL such as different colors for even/odd timestamps and highlighting decimal places in large numbers.
[0] https://github.com/garabik/grc
-
Is there a program that formats the output of another programming using custom formatting rules?
A fairly simple program which only colorizes is grc. I wrote acolor in a similar vein, but it uses arbitrary programs/scripts instead of pure regex, and I've only written support for the programs I use, so no tcpdump. Don't use it unless you want to write your own colorizing scripts (if you do, please contribute!)
-
Is there a non-bloated way to get the terminal (xfce) to show colors for things like the prompt, files, folders, variables, and so forth?
You may want to check https://github.com/garabik/grc
- What are some CLI tools that you use that have pretty outputs?
-
Lolcat terminal help.
You'll probably appreciate grc.
-
DNS Esoterica – Why you can't dig Switzerland
There's this, which is a more modern dig, with color output, among other things: https://github.com/ogham/dog
There's also stuff like this, which will postprocess & color output from any command: https://github.com/garabik/grc, or https://github.com/armandino/TxtStyle
-
Format terminal output
I also found grc and wrote my own conf.latexmk:
-
No_color
Conversely if you want to add color to a command, I have found Generic Colorizer to be useful: https://github.com/garabik/grc
-
[Python] Parsing simple config files for a console coloriser (when this post is 30min old)
Last few streams I was working on a re-implementation of grc with more modern Python syntax and updated packaging meta-data.
- Colorized terminal
What are some alternatives?
rofi - Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
no-ansi - A single-function CLI tool to strip escape codes from input
tessen - an interactive menu to autotype and copy pass and gopass data
no_color - Website data for no-color.org
rofi-pass - rofi frontend for pass
pydflatex - Python wrapper around pdflatex
Sway-DE - 🏠 Sway desktop environment dotfile installation for Arch Linux
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
pass-tessen - fuzzy data selection and copy-paste from password store
TxtStyle - Command-line tool for colorizing console output and log files based on regular expressions
password-store-example - Gopass examples
nofun - filter ANSI colors and animations