themes.rasi (4017B)
1 configuration { 2 font: "Iosevka 10"; 3 show-icons: false; 4 icon-theme: "Papirus"; 5 display-drun: ":"; 6 drun-display-format: "{name}"; 7 threads: 0; 8 scroll-method: 0; 9 disable-history: false; 10 fullscreen: false; 11 hide-scrollbar: true; 12 sidebar-mode: false; 13 } 14 15 @import "colors.rasi" 16 17 window { 18 transparency: "real"; 19 background-color: @background; 20 text-color: @foreground; 21 border: 1px; 22 border-radius: 0px; 23 border-color: @selected; 24 width: 15%; 25 location: center; 26 anchor: center; 27 x-offset: 0; 28 y-offset: 0; 29 } 30 31 prompt { 32 enabled: true; 33 padding: 4px 4px 6px 6px; 34 background-color: @background; 35 text-color: @foreground; 36 } 37 38 textbox-prompt-colon { 39 expand: false; 40 str: ""; 41 background-color: @background; 42 text-color: @urgent; 43 padding: 5px 0px 0px 4px; 44 font: "feather 10"; 45 } 46 47 inputbar { 48 children: [ textbox-prompt-colon, prompt ]; 49 background-color: @background; 50 text-color: @foreground; 51 expand: false; 52 border: 0px 0px 1px 0px; 53 border-radius: 0px; 54 border-color: @selected; 55 margin: 0px 0px 0px 0px; 56 padding: 0px 0px 0px 0px; 57 position: center; 58 } 59 60 61 entry { 62 background-color: @background; 63 text-color: @foreground; 64 placeholder-color: @foreground; 65 expand: true; 66 horizontal-align: 0; 67 placeholder: "Search"; 68 blink: true; 69 padding: 4px 0px 0px 0px; 70 } 71 72 case-indicator { 73 background-color: @background; 74 text-color: @foreground; 75 spacing: 0; 76 } 77 78 79 listview { 80 background-color: @background; 81 columns: 1; 82 lines: 6; 83 spacing: 5px; 84 cycle: true; 85 dynamic: true; 86 layout: vertical; 87 } 88 89 mainbox { 90 background-color: @background; 91 children: [ inputbar, listview ]; 92 spacing: 5px; 93 padding: 5px 5px 5px 5px; 94 } 95 96 element { 97 background-color: @background; 98 text-color: @foreground; 99 orientation: horizontal; 100 border: 0px; 101 border-radius: 0px; 102 border-color: @selected; 103 padding: 5px 5px 5px 5px; 104 } 105 106 element-icon { 107 size: 24px; 108 border: 0px; 109 } 110 111 element-text { 112 expand: true; 113 horizontal-align: 0; 114 vertical-align: 0; 115 margin: 2px 0px 2px 2px; 116 } 117 118 element selected { 119 background-color: @selected; 120 text-color: @background; 121 border: 0px; 122 border-radius: 0px; 123 border-color: @selected; 124 } 125 126 element.active, 127 element.selected.urgent { 128 background-color: @on; 129 text-color: @background; 130 border-color: @on; 131 } 132 133 element.selected.urgent { 134 border-color: @urgent; 135 } 136 137 element.urgent, 138 element.selected.active { 139 background-color: @off; 140 text-color: @background; 141 border-color: @off; 142 } 143 144 element.selected.active { 145 border-color: @selected; 146 }