window.rasi (4218B)
1 configuration { 2 font: "Iosevka 10"; 3 show-icons: true; 4 icon-theme: "Hybrid"; 5 display-window: "Windows :"; 6 window-format: " {w} {n} {t:33}"; 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: 25%; 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 6px; 44 font: "feather 10"; 45 } 46 47 inputbar { 48 children: [ textbox-prompt-colon, prompt, entry ]; 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: "Filter"; 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: 8; 83 spacing: 4px; 84 cycle: false; 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-radius: 0px; 101 padding: 6px 6px 6px 6px; 102 } 103 104 element-icon { 105 size: 16px; 106 border: 0px; 107 } 108 109 element-text { 110 expand: true; 111 horizontal-align: 0; 112 vertical-align: 0; 113 margin: 2px 0px 2px 2px; 114 } 115 116 element normal.urgent, 117 element alternate.urgent { 118 background-color: @urgent; 119 text-color: @foreground; 120 border-radius: 0px; 121 } 122 123 element normal.active, 124 element alternate.active { 125 background-color: @on; 126 text-color: @background; 127 } 128 129 element selected { 130 background-color: @selected; 131 text-color: @background; 132 border: 0px; 133 border-radius: 0px; 134 border-color: @selected; 135 } 136 137 element selected.urgent { 138 background-color: @urgent; 139 text-color: @foreground; 140 } 141 142 element selected.active { 143 background-color: @selected; 144 color: @foreground; 145 }