From 5775e80111abde5fbb37a228ed6fd7c2eb8f87ba Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 5 Jun 2017 20:31:32 +0200 Subject: [PATCH] Add dmenu theme --- Makefile.am | 1 + meson.build | 1 + themes/dmenu.rasi | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 themes/dmenu.rasi diff --git a/Makefile.am b/Makefile.am index 1da477c5..6e9f58d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -186,6 +186,7 @@ theme_DATA=\ themes/arthur.rasi\ themes/blue.rasi\ themes/c64.rasi\ + themes/dmenu.rasi\ themes/glue_pro_blue.rasi\ themes/gruvbox-dark-hard.rasi\ themes/gruvbox-dark-soft.rasi\ diff --git a/meson.build b/meson.build index 32847530..09a3992c 100644 --- a/meson.build +++ b/meson.build @@ -229,6 +229,7 @@ install_data( 'themes/arthur.rasi', 'themes/blue.rasi', 'themes/c64.rasi', + 'themes/dmenu.rasi', 'themes/glue_pro_blue.rasi', 'themes/gruvbox-dark-hard.rasi', 'themes/gruvbox-dark-soft.rasi', diff --git a/themes/dmenu.rasi b/themes/dmenu.rasi new file mode 100644 index 00000000..62664008 --- /dev/null +++ b/themes/dmenu.rasi @@ -0,0 +1,44 @@ +* { + background: Black; + foreground: White; + font: "Times New Roman 12"; +} + +configuration { + show-icons: true; + drun-icon-theme: "gnome"; +} + +#window { + anchor: north; + location: north; +} + +#window box { + width: 100%; + padding: 4px; + children: [ horibox ]; +} + +#window horibox box { + orientation: horizontal; + children: [ prompt, entry, listview ]; +} + +#window horibox listview box { + layout: horizontal; + spacing: 5px; + lines: 10; +} + +#window horibox entry { + expand: false; + width: 10em; +} + +#window horibox listview element { + padding: 0px 2px; +} +#window horibox listview element selected { + background: SteelBlue; +}