mpd.rasi (3697B)
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: 3; 13 anchor: 3; 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-radius: 0px; 24 width: 15%; 25 x-offset: -0.8%; 26 y-offset: 5%; 27 } 28 29 prompt { 30 enabled: true; 31 padding: 4px 4px 6px 6px; 32 background-color: @BG; 33 text-color: @FG; 34 } 35 36 textbox-prompt-colon { 37 expand: false; 38 str: ""; 39 background-color: @BG; 40 text-color: @IMG; 41 padding: 2px 0px 0px 8px; 42 font: "feather 10"; 43 } 44 45 inputbar { 46 children: [ textbox-prompt-colon, prompt ]; 47 background-color: @BG; 48 text-color: @FG; 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: 0px 0px 0px 0px; 55 position: center; 56 } 57 58 59 entry { 60 background-color: @BG; 61 text-color: @FG; 62 placeholder-color: @FG; 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: 1; 80 lines: 6; 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: 5px; 91 padding: 5px 5px 5px 5px; 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 }