network.rasi (4079B)
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: 226px; 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 12"; 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: 4; 83 spacing: 5px; 84 cycle: true; 85 dynamic: true; 86 layout: horizontal; 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 font: "feather 10"; 101 border: 1px; 102 border-radius: 0px; 103 border-color: @selected; 104 padding: 15px 15px 15px 15px; 105 } 106 107 element-icon { 108 size: 24px; 109 border: 0px; 110 } 111 112 element-text { 113 font: "feather 12"; 114 expand: true; 115 horizontal-align: 0; 116 vertical-align: 0; 117 margin: 2px 0px 2px 2px; 118 } 119 120 element selected { 121 background-color: @selected; 122 text-color: @background; 123 border: 0px; 124 border-radius: 0px; 125 border-color: @selected; 126 } 127 128 element.active, 129 element.selected.urgent { 130 background-color: @on; 131 text-color: @background; 132 border-color: @on; 133 } 134 135 element.selected.urgent { 136 border-color: @urgent; 137 } 138 139 element.urgent, 140 element.selected.active { 141 background-color: @off; 142 text-color: @background; 143 border-color: @off; 144 } 145 146 element.selected.active { 147 border-color: @selected; 148 }