- Notifications
You must be signed in to change notification settings - Fork14
minimalistic command launcher in rust
License
buster/rrun
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Note: Apart from the occasional fix, this project is not actively developed anymore. rrun works fine and should run/compile for the time being on rust stable. Alternatives to rrun are gmrun and rofi.Feel free to fork, request ownership or commit pull requests.
rrun is a minimalistic command launcher in rust similar to gmrun.It started as a playground to learn Rust, but since i use it all day for months now, it's probably useful for others as well.It replaced gmrun and gnome-do on my laptop.rrun has few features, it can do bash completion and run commands and that's it.It will also append the commands being run to your bash history.
GTK3.10+
You have several options:
- download a Debian package fromhttps://github.com/buster/rrun/releases
- install from crates.io with "cargo install rrun"
- compile yourself with "cargo build"
- enter a command and press Return to execute it
- press TAB for tab completion of available commands
- Press Ctrl + Return to display the command output in the text field
I have mapped the unused, needless CapsLock key to some other key and set up Gnome or whatever (i3wm in my case) to launch rrun on keypress.
My ~/.Xmodmap:
remove Lock = Caps_Lockkeysym Caps_Lock = XF86HomePage
Don't forget to run "xmodmap ~/.Xmodmap" after login.
The relevant parts of ~/.i3/config:
bindsym XF86HomePage exec rrunfor_window [title="rrun"] floating enableexec --no-startup-id xmodmap ~/.Xmodmap
The build process needs pbuilder/cowbuilder installed in debian (apt-get install cowbuilder pbuilder).A Debian testing buid image can be created with:
sudo cowbuilder --create --distribution testing
Install eatmydata (on build machine and in the image) to speeding up dpkg (fromhttps://wiki.debian.org/cowbuilder ):
On the build machine:
apt-get install eatmydata
In the build image:
sudo cowbuilder --login --saveapt-get install eatmydata
For eatmydata (>=82-2), add this /etc/pbuilderrc (on the build machine):
if [ -z "$LD_PRELOAD" ]; then LD_PRELOAD=libeatmydata.soelse LD_PRELOAD="$LD_PRELOAD":libeatmydata.sofiexport LD_PRELOAD
The debian package can be built with the following commands:
- make deb just creates the .deb file without touching the changelog
- make snapshot creates a snapshot .deb without incrementing the version number (but updating the changelog)
- make release creates a new release and bumps the minor version number
@nightscape@tshepang
About
minimalistic command launcher in rust
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.