Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Cool dmenu-driven script ideas?
2 points by ducktective on Feb 26, 2021 | hide | past | favorite | 1 comment
dmenu [1] is a suckless utility which is often used as a "front-end" for bash scripts in keyboard-driven workflows.

Example use cases are launching applications [2], `kill -9`ing processes [3], and even inserting emojis [4].

What interesting scripts or ideas have the HN community integrated dmenu with?

[1]: https://tools.suckless.org/dmenu/

[2]: https://github.com/enkore/j4-dmenu-desktop

[3]: https://github.com/debxp/dmenu-scripts/blob/master/dmenu-kill-process

[4]: https://github.com/porras/dmenu-emoji/blob/master/dmenu-emoji.sh




cmd+esc -> execute this "escape" script

The options passed to dmenu/rofi: (lock exit-i3 poweroff reboot suspend)

Shoutout to Oliver Kraitschy (http://okraits.de) who originally wrote the script.

The script: https://github.com/carlosneves0/dotfiles/blob/main/.bin/esca...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: