All Projects → moustacheful → myrmidon

moustacheful / myrmidon

Licence: MIT license
A rofi task / command executor

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to myrmidon

dotfiles
My dotfiles
Stars: ✭ 16 (-80.49%)
Mutual labels:  i3, rofi
dotfiles
A total nord dotfiles used by me. Forever work in progress.
Stars: ✭ 35 (-57.32%)
Mutual labels:  i3, rofi
Rofimoji
An emoji and character picker for rofi 😁
Stars: ✭ 319 (+289.02%)
Mutual labels:  i3, rofi
dotfiles
Config files for i3, polybar, rofi, mpv, Xresources, kitty and some bash-things...
Stars: ✭ 52 (-36.59%)
Mutual labels:  i3, rofi
dotfiles
My personal set of dotfiles (Managed with Stow)
Stars: ✭ 34 (-58.54%)
Mutual labels:  i3, rofi
rofi-todo
📓 Minimal todo client for the rofi launcher
Stars: ✭ 20 (-75.61%)
Mutual labels:  i3, rofi
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+1101.22%)
Mutual labels:  i3, rofi
rofi
Rofi: A window switcher, application launcher and dmenu replacement
Stars: ✭ 9,231 (+11157.32%)
Mutual labels:  i3, rofi
Dotfiles
Collection of i3-gaps Dotfiles
Stars: ✭ 143 (+74.39%)
Mutual labels:  i3, rofi
I3 Quickterm
A small drop-down terminal for i3 and sway
Stars: ✭ 76 (-7.32%)
Mutual labels:  i3, rofi
dotfiles
There is no place like ~/
Stars: ✭ 19 (-76.83%)
Mutual labels:  i3, rofi
kpmenu
Dmenu/rofi interface for KeePass
Stars: ✭ 21 (-74.39%)
Mutual labels:  i3, rofi
dotfiles
collection (and a backup) of my config files
Stars: ✭ 49 (-40.24%)
Mutual labels:  i3, rofi
no-mans-sky-rice-i3wm
i3WM rice themed using No Man's Sky's colors
Stars: ✭ 34 (-58.54%)
Mutual labels:  i3, rofi
todofi.sh
Handle your todo-txt tasks directly from Rofi
Stars: ✭ 46 (-43.9%)
Mutual labels:  i3, rofi
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+784.15%)
Mutual labels:  i3, rofi
dmenu-hotkeys
View for your hotkeys in rofi/dmenu style
Stars: ✭ 51 (-37.8%)
Mutual labels:  i3, rofi
dotfiles
dotfiles repository
Stars: ✭ 15 (-81.71%)
Mutual labels:  i3, rofi
Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (-52.44%)
Mutual labels:  i3, rofi
dotfiles
dotfiles of simonvic daily used enviroment
Stars: ✭ 75 (-8.54%)
Mutual labels:  i3, rofi

Myrmidon

A dead-simple, tiny task executor for Rofi.

What

Myrmidon executes tasks for you, displaying something similar to modern text editor's command palette. You define the task names and commands, and let myrmidon make a fuzzy search list to select and execute tasks.

demo

Why

I've been looking for something like this for a while since I started using i3. Sometimes not everything merits yet another keybinding to remember, nor a bunch of shell files laying around.

Requirements

Myrmidon currently depends on:

Installation / defining tasks

Copy both shell scripts in the same directory (e.g: ~/bin)

Define your tasks in a json file. The default location of the json file will be $HOME/.myrmidon-tasks.json, but you can pass an optional argument as a custom path for the configuration file (e.g: ./myrmidon.sh ~/my-custom-path/tasks.json).

Each task is comprised of a name, command and whether or not it needs a confirmation screen (confirm):

Example:

[
  {
    "name": "Area screenshot",
    "command": "gnome-screenshot -a"
  },
  {
    "name": "Window screenshot",
    "command": "gnome-screenshot -w"
  },
  {
    "name": "Power off",
    "confirm": true,
    "command": "systemctl poweroff"
  },
  {
    "name": "Reboot",
    "confirm": true,
    "command": "systemctl reboot"
  },
  {
    "name": "Suspend",
    "confirm": true,
    "command": "systemctl suspend"
  }
]

After configuring your tasks file, you would have to set up a keybinding, if needed, to make it work.

For example, in i3:

bindsym $mod+p exec --no-startup-id ~/bin/myrmidon.sh

Multiple config files

As it is possible to provide an optional location of the config file, you can keep multiple keys for different task "categories", for example:

bindsym $mod+p exec --no-startup-id ~/bin/myrmidon.sh ~/common-tasks.json
bindsym $mod+Esc exec --no-startup-id ~/bin/myrmidon.sh ~/power-tasks.json
bindsym $mod+Print exec --no-startup-id ~/bin/myrmidon.sh ~/screenshot-tasks.json

This way, for example, $mod+Esc will now only show tasks related to power (Power off, restart, suspend, etc), as to not pollute the task pool.

Contribute

If you feel there's any missing feature you'd like to see in Myrmidon, feel free to propose it or open a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].