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