1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

README: Call run-mode application launcher

This commit is contained in:
Dave Davenport 2017-03-24 09:51:57 +01:00
parent 254aac8dc7
commit 0900b0d925
2 changed files with 9 additions and 8 deletions

View file

@ -7,13 +7,13 @@
[![Coverity](https://scan.coverity.com/projects/3850/badge.svg)](https://scan.coverity.com/projects/davedavenport-rofi) [![Coverity](https://scan.coverity.com/projects/3850/badge.svg)](https://scan.coverity.com/projects/davedavenport-rofi)
[![Forum](https://img.shields.io/badge/forum-online-green.svg)](https://forum.qtools.org) [![Forum](https://img.shields.io/badge/forum-online-green.svg)](https://forum.qtools.org)
# A window switcher, run dialog and dmenu replacement # A window switcher, Application launcher and dmenu replacement
**Rofi** started as clone of simpleswitcher, written by [Sean Pringle](http://github.com/seanpringle/simpleswitcher) a **Rofi** started as clone of simpleswitcher, written by [Sean Pringle](http://github.com/seanpringle/simpleswitcher) a
popup window switcher roughly based on [superswitcher](http://code.google.com/p/superswitcher/). popup window switcher roughly based on [superswitcher](http://code.google.com/p/superswitcher/).
Simpleswitcher laid the foundations and therefor Sean Pringle deserves most of the credit for this tool. **Rofi**, Simpleswitcher laid the foundations and therefor Sean Pringle deserves most of the credit for this tool. **Rofi**,
renamed as it lost the *simple* property, has been extended with extra features, like a run-dialog, ssh-launcher and renamed as it lost the *simple* property, has been extended with extra features, like a application launcher,
can act as a drop-in dmenu replacement, making it a very versatile tool. ssh-launcher and can act as a drop-in dmenu replacement, making it a very versatile tool.
**Rofi**, like dmenu, will provide the user with a textual list of options where one or more can be selected. **Rofi**, like dmenu, will provide the user with a textual list of options where one or more can be selected.
This can either be, running an application, selecting a window or options provided by an external script. This can either be, running an application, selecting a window or options provided by an external script.
@ -33,8 +33,8 @@ It main features are:
* Build in modes: * Build in modes:
- Window switcher mode. - Window switcher mode.
- EWMH compatible WM. - EWMH compatible WM.
- Run mode. - Application launcher.
- Desktop File Run mode. - Desktop File Application launcher.
- SSH launcher mode. - SSH launcher mode.
- Combi mode, allow several modes to be merged into one list. - Combi mode, allow several modes to be merged into one list.
* History based ordering last 25 choices are ordered on top based on use. (optional) * History based ordering last 25 choices are ordered on top based on use. (optional)
@ -65,7 +65,7 @@ Window mode features:
- Custom command by `Shift-Return` - Custom command by `Shift-Return`
## Run mode ## Application launcher
![run mode](https://davedavenport.github.io/rofi/images/rofi/run-dialog.png) ![run mode](https://davedavenport.github.io/rofi/images/rofi/run-dialog.png)
@ -78,7 +78,7 @@ Run mode features:
- Execute command to add custom entries, like aliases. - Execute command to add custom entries, like aliases.
## DRun mode ## Desktop File Application launcher
The desktop run mode allows users to quickly search and launch an application from the *freedesktop.org* Desktop The desktop run mode allows users to quickly search and launch an application from the *freedesktop.org* Desktop
Entries. These are used by most common Desktop Environments to populate launchers and menus. Entries. These are used by most common Desktop Environments to populate launchers and menus.

View file

@ -881,6 +881,7 @@ xcb_window_t xcb_stuff_get_root_window ( xcb_stuff *xcb )
void xcb_stuff_wipe ( xcb_stuff *xcb ) void xcb_stuff_wipe ( xcb_stuff *xcb )
{ {
if ( xcb->connection != NULL ) { if ( xcb->connection != NULL ) {
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Cleaning up XCB and XKB" );
if ( xcb->sncontext != NULL ) { if ( xcb->sncontext != NULL ) {
sn_launchee_context_unref ( xcb->sncontext ); sn_launchee_context_unref ( xcb->sncontext );
xcb->sncontext = NULL; xcb->sncontext = NULL;