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

@ -1,44 +0,0 @@
/**
* Layout for the horizontal top bar
* dmenu we all know and love
*
*/
@import "../settings.rasi"
* {
background-color: @background;
border-color: @accent;
text-color: @foreground;
font: @text-font;
}
#window {
anchor: north;
location: north;
width: 100%;
padding: 4px;
children: [ horizbox ];
}
#horizbox {
orientation: horizontal;
children: [ prompt, entry, listview ];
}
#listview {
layout: horizontal;
spacing: 5px;
lines: 100;
}
#entry {
expand: false;
width: 10em;
}
#element {
padding: 0px 2px;
}
#element selected {
background-color: @background-focus;
}

View file

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