networkmenu.rasi (3995B)
1 configuration { 2 show-icons: false; 3 icon-theme: "Hybrid"; 4 display-drun: "Search:"; 5 drun-display-format: "{Icon} {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: 4px; 26 width: 25%; 27 x-offset: -15%; 28 y-offset: -7.5%; 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: 4px 0px 0px 8px; 44 font: "feather 12"; 45 } 46 47 inputbar { 48 children: [ textbox-prompt-colon, prompt, entry ]; 49 background-color: @BGA; 50 text-color: @FG; 51 expand: false; 52 border: 0px; 53 border-radius: 4px; 54 border-color: @SEL; 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: ""; 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: 7; 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 normal.urgent, 117 element alternate.urgent { 118 background-color: @UGT; 119 text-color: @FG; 120 border-radius: 9px; 121 } 122 123 element normal.active, 124 element alternate.active { 125 background-color: @BGA; 126 text-color: @FG; 127 } 128 129 element selected { 130 background-color: @SEL; 131 text-color: @BG; 132 border: 0px; 133 border-radius: 4px; 134 border-color: @SEL; 135 } 136 137 element selected.urgent { 138 background-color: @UGT; 139 text-color: @FG; 140 } 141 142 element selected.active { 143 background-color: @BGA; 144 color: @FG; 145 }