Dmenu.rasi (2391B)
1 /** 2 _____ __ _ _____ 3 | __ \ / _(_) | __ \ 4 | |__) |___ | |_ _ | | | |_ __ ___ ___ _ __ _ _ 5 | _ // _ \| _| | | | | | '_ ` _ \ / _ \ '_ \| | | | 6 | | \ \ (_) | | | | | |__| | | | | | | __/ | | | |_| | 7 |_| \_\___/|_| |_| |_____/|_| |_| |_|\___|_| |_|\__,_| 8 9 By ShipWreckt :D 10 Based off Derek Taylor's (DistroTube) https://gitlab.com/dwt1/dotfiles/-/blob/master/.config/rofi/themes/dtos-dmenu.rasi 11 */ 12 13 * { 14 /*====================================================================== 15 Colours 16 ======================================================================*/ 17 background-color: #1f1c22; 18 border-color: #2b1d2b; 19 prompt-background: #7a35bf; 20 prompt-foreground: #c7b1c8; 21 text-color: #9e889b; 22 selected-normal-background: #8b35e8; 23 selected-normal-foreground: #ffffff; 24 /*====================================================================== 25 Misc 26 ======================================================================*/ 27 height: 23px; 28 prompt-padding: 1px; 29 show-icons: true; 30 font: "SauceCodePro Nerd Font Mono 9"; 31 prompt-font: "Ubuntu Bold 9"; 32 } 33 34 /*====================================================================== 35 Window settings 36 ======================================================================*/ 37 #window { 38 anchor: north; 39 location: north; 40 width: 100%; 41 padding: 1px; 42 children: [ horibox ]; 43 } 44 45 #horibox { 46 orientation: horizontal; 47 children: [ prompt, entry, listview ]; 48 } 49 #prompt { 50 padding: @prompt-padding; 51 background-color: @prompt-background; 52 text-color: @prompt-foreground; 53 font: @prompt-font; 54 } 55 #listview { 56 layout: horizontal; 57 lines: 100; 58 } 59 #entry { 60 padding: 2px; 61 expand: false; 62 width: 10em; 63 } 64 #element { 65 padding: 2px 8px; 66 } 67 #element selected { 68 background-color: @selected-normal-background; 69 text-color: @selected-normal-foreground; 70 } 71 72 element-text { 73 background-color: inherit; 74 text-color: inherit; 75 } 76 77 /* Not actually relevant for this configuration, but it might 78 be useful to someone having issues with their icons' background color 79 80 element-icon { 81 background-color: inherit; 82 } 83 */ 84