summaryrefslogtreecommitdiffstats
path: root/source/rofi.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-03 08:31:38 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-03 08:31:38 +0100
commit6f404ddc8e59c3ca3aa20d1bb0b40a0904df1747 (patch)
treef61a624fe2a41028b6fc5a13968f1a844858aabc /source/rofi.c
parentd01afc53032b52c07bdf33330f77701534305eea (diff)
Initial import desktop file runner.
Diffstat (limited to 'source/rofi.c')
-rw-r--r--source/rofi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/rofi.c b/source/rofi.c
index 2765f1e9..fde01d92 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1839,6 +1839,10 @@ static void setup_switchers ( void )
switchers[num_switchers].sw = &run_mode;
num_switchers++;
}
+ else if ( strcasecmp ( token, "drun" ) == 0 ) {
+ switchers[num_switchers].sw = &drun_mode;
+ num_switchers++;
+ }
// combi dialog
else if ( strcasecmp ( token, "combi" ) == 0 ) {
switchers[num_switchers].sw = &combi_mode;