Skip to content

Simple dmenu launcher for passwords, docs, notes and application shortcuts.

License

Notifications You must be signed in to change notification settings

silveiralexf/dmenu-launch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dmenu-launch

Simple and customizable dmenu launcher for quicly accessing gpg encrypted passwords with pass, application shortcuts, notes and documents in general.

Requirements

Following utils are required:

Usage

usage: dmenu_launch.py [-h] [--pass | --apps | --notes | --search]

Simple dmenu launcher for passwords, docs, notes and application shortcuts.

optional arguments:
  -h, --help  show this help message and exit
  --pass      Copy password from password store.
  --apps      Quick launches a desktop application with exo-open.
  --notes     Opens a text/markdown note from a given directory with exo-open.
  --search    Quick search and launch from a given directory with exo-open.

(Optional) OpenBox Keybindings

OpenBox users just need to add the following to ~/.config/openbox/rc.xml for the suggested keybindings:

   <keybind key="W-A">
    <action name="Execute">
      <command>/usr/bin/dmenu-launch --pass</command>
    </action>
   </keybind>
   <keybind key="W-Q">
    <action name="Execute">
      <command>/usr/bin/dmenu-launch --notes</command>
    </action>
   </keybind>
   <keybind key="W-O">
    <action name="Execute">
      <command>/usr/bin/dmenu-launch --apps</command>
    </action>
   </keybind>
   <keybind key="W-F">
    <action name="Execute">
      <command>/usr/bin/dmenu-launch --search</command>
    </action>
   </keybind>

(Optional) i3wm Keybindings

i3wm users just need to add the following to ~/.config/i3/config for the suggested keybindings:

# Lauch dmenu custom wrappers (github.com/fsilveir/dmenu-launch)
bindsym $mod+a exec /usr/bin/dmenu-launch --pass
bindsym $mod+q exec /usr/bin/dmenu-launch --notes
bindsym $mod+o exec /usr/bin/dmenu-launch --search
bindsym $mod+d exec /usr/bin/dmenu-launch --apps

Contact

Create an issue if you want to report a problem or ask for a new functionality any feedback is highly appreciated.