Dmenu Scripts - Desktop Customization & Workflow
Users browsing this thread: 2 Guest(s)
|
|||
While I acknowledge the following threads exist:
I still think there is a need for a dedicated thread for dmenu scripts. dmenu is so widely used and is so versatile, resulting in an endless list of scripting possibilities, it would be nice to have them all in one place here on nixers.net.
Cyr4x3 had a few cool looking scripts in their recent workflow video which sparked my interest. Feel free to drop in some helpful scripts to extend dmenu's capabilities in this thread. The one I'm interested in at the moment is a screenshot script that also allows for editing and uploading of screenshots. I am however looking for some help to replace fb with xero's pb or just simply use curl to upload to 0x0. The thing I like most about this script is that, in addition to using xclip to copy the url to the clipboard, the upload option also sends the url through notify-send which (in gnome at least) is a clickable link. I hope some of you have more scripts to share. One of my most used is passmenu which is now baked into pass itself. You've also got old mate dt over here with his bunch of scripts. debxp and I-LeCorbeau also have a few. I don't have anything of my own to offer up, this is purely a selfish script trawling mission. Also feel free to mention/promote any dmenu alternatives or replacements (Philbush I'm looking at you - xmenu looks awesome), just keep any scripts in this thread dmenu specific to avoid confusion.
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival) |
|||
|
|||
(09-06-2021, 03:38 AM)Ramiferous Wrote: Philbush I'm looking at you - xmenu looks awesomexmenu is more a desktop menu à la fvwm right-click menu, it's not a dmenu alternative. For dmenu, I have my own alternative called xprompt. The main problem with dmenu are nested instances. Suppose you have bound Alt+space to a general run-commands dmenu script. It will open dmenu and you can select, for example, "man" to open a manual. Selecting it will in turn open a new dmenu instance prompting for the manual to open. With xprompt, you can have sub-menus in the same xprompt instance. This video illustrates what I'm trying to say. Xprompt can even do file completion (at the final of the video, when I use the "open" command on SICP.pdf) |
|||
|
|||
Hi,
very nice idea. Indeed, dmenu is extremely useful. Here are a few scripts I use almost daily. Some are quite old, and kinda ugly when I read them now. ## Appearance First, make sure they all share the same look : Code: $ cat $HOME/.dmenurc ## daddbmk/dloadbmk Browser independent bookmarking: Code: #!/bin/sh ## search engine Code: #!/bin/sh Code: #!/bin/sh ## music player daemon Code: #!/bin/sh ## ssh quick start Code: #!/bin/sh ## manpage finder Written at first by eol. A little modified. This one is sick. Code: #!/bin/sh ## file search Code: #!/bin/sh ## waybackmachine Code: #!/bin/sh I also use wall setter, scrot'n'upload, note manager, but far less good as the previous mentioned. edit : a few more explanation here (in french, sorry) : gemini://si3t.ch/Logiciel-libre/Suckless/dmenu.gmi |
|||
|
|||
(09-06-2021, 09:35 AM)phillbush Wrote: xmenu is more a desktop menu à la fvwm right-click menu, it's not a dmenu alternative. My bad, I meant to say xprompt (09-06-2021, 09:42 AM)prx* Wrote: I also use wall setter, scrot'n'upload, I'd love to see these too if you wouldn't mind? Thanks for sharing those others too!
_____________________________________________________________________________________________
“Maybe you have some bird ideas... Maybe that's the best you can do.” - Terry A. Davis (R.I.P Terry & Percival) |
|||
|
|||
okay, here you go, but there's not much to see. :)
## dwall Code: #!/bin/sh ## setwall The previous script use setwall. Code: #!/bin/sh ## dshot Take a screenshot: * Whole screen * after 5 sec * selection * selection and copy in clipboard to paste image * selection and upload using 'pixup' (curl to 0x0 or other providers if it fails) Code: #!/bin/sh -e |
|||
|
|||
I have a couple of dmenu scripts I've made: dmenuwireless, which uses the perl script 'wireless' to connect me to a wireless network, and todmenu, which lets me add/remove things to/from my todo list.
|
|||
|
|||
So I have recently been updating my dmenu scripts, and the one I referenced in the OP, the link to it is broken, but Its a heavily modified version of cry4x3's dmenu-scrot script:
(07-06-2021, 12:58 PM)cyr4x3 Wrote:(06-06-2021, 10:35 PM)Ramiferous Wrote: Hey Cyr4x3, would you mind sharing your sxiv/dmenu script to set the wallpaper and also your dmenu screenshot script? Here is what I use: **[please, someone help me make this POSIX >> #!/bin/sh]** PHP Code: #!/usr/bin/env bash My version of the pb script is pretty stripped down now: PHP Code: #!/bin/sh I also still use nsxiv/key-handler for setting my wallpaper. While not a dmenu script, I just remembered that I stole this from cry4x3 around the same time so here is mine now: PHP Code: #!/bin/sh |
|||