network.rasi (3777B)
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: 5; 13 anchor: 5; 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: 0px; 24 border-color: @SEL; 25 border-radius: 0px; 26 width: 20%; 27 x-offset: -1%; 28 y-offset: -7%; 29 } 30 31 prompt { 32 enabled: true; 33 padding: 4px 4px 6px 6px; 34 background-color: @BGA; 35 text-color: @FG; 36 } 37 38 textbox-prompt-colon { 39 expand: false; 40 str: ""; 41 background-color: @BGA; 42 text-color: @FG; 43 padding: 6px 0px 0px 8px; 44 font: "feather 10"; 45 } 46 47 inputbar { 48 children: [ textbox-prompt-colon, prompt ]; 49 background-color: @BGA; 50 text-color: @FG; 51 expand: false; 52 border: 0px 0px 1px 0px; 53 border-radius: 0px; 54 border-color: @BDR; 55 margin: 0px 0px 0px 0px; 56 padding: 4px 0px 0px 0px; 57 position: center; 58 } 59 60 61 entry { 62 background-color: @BGA; 63 text-color: @FG; 64 placeholder-color: @FG; 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: @BG; 74 text-color: @FG; 75 spacing: 0; 76 } 77 78 79 listview { 80 background-color: @BG; 81 columns: 1; 82 lines: 4; 83 spacing: 4px; 84 cycle: true; 85 dynamic: true; 86 layout: vertical; 87 } 88 89 mainbox { 90 background-color: @BG; 91 children: [ inputbar, listview ]; 92 spacing: 6px; 93 padding: 6px 6px 6px 6px; 94 } 95 96 element { 97 background-color: @BG; 98 text-color: @FG; 99 orientation: horizontal; 100 border-radius: 0px; 101 padding: 6px 6px 6px 6px; 102 } 103 104 element-icon { 105 size: 24px; 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 selected { 117 background-color: @SEL; 118 text-color: @BG; 119 border: 0px; 120 border-radius: 0px; 121 border-color: @BDR; 122 } 123 124 element.active, 125 element.selected.urgent { 126 background-color: @ON; 127 text-color: @BG; 128 border-color: @ON; 129 } 130 131 element.selected.urgent { 132 border-color: @BDR; 133 } 134 135 element.urgent, 136 element.selected.active { 137 background-color: @OFF; 138 text-color: @BG; 139 border-color: @OFF; 140 } 141 142 element.selected.active { 143 border-color: @BDR; 144 }