Add dmenu-like application selector

This commit is contained in:
Marty Oehme 2019-09-05 21:15:50 +02:00
parent b28a98c4e4
commit 8b7de007e9
3 changed files with 6 additions and 15 deletions

View file

@ -4,7 +4,7 @@
* *
*/ */
@import "../settings.rasi" @import "layouts/list-horizontal.rasi"
* { * {
background-color: @background; background-color: @background;
border-color: @accent; border-color: @accent;
@ -17,16 +17,9 @@
location: north; location: north;
width: 100%; width: 100%;
padding: 4px; padding: 4px;
children: [ horizbox ];
}
#horizbox {
orientation: horizontal;
children: [ prompt, entry, listview ];
} }
#listview { #listview {
layout: horizontal;
spacing: 5px; spacing: 5px;
lines: 100; lines: 100;
} }
@ -39,6 +32,3 @@
#element { #element {
padding: 0px 2px; padding: 0px 2px;
} }
#element selected {
background-color: @background-focus;
}

View file

@ -9,10 +9,11 @@
font: @text-font; font: @text-font;
} }
#window { #window {
children: [ horibox ]; children: [ horizbox ];
} }
#horibox { #horizbox {
children: [ listview ]; orientation: horizontal;
children: [ prompt, entry, listview ];
} }
#listview { #listview {
layout: horizontal; layout: horizontal;

View file

@ -6,7 +6,7 @@ super + Return
# open quick start menu # open quick start menu
super + space super + space
exec i3-dmenu-desktop exec rofi -show drun -theme /themes/dmenu
# System functionality # System functionality