Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(config): rofi

+165
+155
config/rofi/config.rasi
··· 1 + // Config // 2 + configuration { 3 + modi: "drun,filebrowser,window"; 4 + show-icons: true; 5 + display-drun: " "; 6 + display-run: " "; 7 + display-filebrowser: " "; 8 + display-window: " "; 9 + drun-display-format: "{name}"; 10 + window-format: "{w}{t}"; 11 + font: "JetBrainsMono 10"; 12 + icon-theme: "custom"; 13 + } 14 + 15 + @theme "~/.config/rofi/theme.rasi" 16 + 17 + // Main // 18 + window { 19 + height: 12em; 20 + width: 38em; 21 + transparency: "screenshot"; 22 + fullscreen: false; 23 + enabled: true; 24 + cursor: "default"; 25 + spacing: 0em; 26 + padding: 0em; 27 + border-color: @main-br; 28 + background-color: @main-bg; 29 + } 30 + mainbox { 31 + enabled: true; 32 + spacing: 0em; 33 + padding: 0em; 34 + orientation: vertical; 35 + children: [ "listbox" , "inputmode" ]; 36 + background-color: transparent; 37 + } 38 + 39 + // Lists // 40 + listbox { 41 + padding: 0em; 42 + spacing: 0em; 43 + orientation: horizontal; 44 + children: [ "listview" ]; 45 + background-color: transparent; 46 + } 47 + listview { 48 + padding: 0.5em; 49 + spacing: 0.2em; 50 + enabled: true; 51 + columns: 5; 52 + cycle: true; 53 + dynamic: true; 54 + scrollbar: false; 55 + reverse: false; 56 + fixed-height: true; 57 + fixed-columns: true; 58 + cursor: "default"; 59 + background-color: @main-bg; 60 + text-color: @main-fg; 61 + } 62 + 63 + 64 + // Inputs // 65 + inputmode { 66 + padding: 0em; 67 + spacing: 0em; 68 + orientation: horizontal; 69 + children: [ "inputbar" , "mode-switcher" ]; 70 + background-color: transparent; 71 + } 72 + inputbar { 73 + enabled: true; 74 + width: 24em; 75 + padding: 0em; 76 + spacing: 0em; 77 + padding: 1.5em 1em 1.5em 2.5em; 78 + children: [ "entry" ]; 79 + background-color: transparent; 80 + } 81 + entry { 82 + vertical-align: 0.5; 83 + border-radius: 3em; 84 + enabled: true; 85 + spacing: 0em; 86 + padding: 1em; 87 + text-color: @main-fg; 88 + background-color: @main-bg; 89 + } 90 + 91 + 92 + // Modes // 93 + mode-switcher { 94 + width: 13em; 95 + orientation: horizontal; 96 + enabled: true; 97 + padding: 1.5em 2.5em 1.5em 0em; 98 + spacing: 1em; 99 + background-color: transparent; 100 + } 101 + button { 102 + cursor: pointer; 103 + padding: 0em; 104 + border-radius: 3em; 105 + background-color: @main-bg; 106 + text-color: @main-fg; 107 + } 108 + button selected { 109 + background-color: @main-fg; 110 + text-color: @main-bg; 111 + } 112 + 113 + 114 + // Elements // 115 + element { 116 + orientation: vertical; 117 + enabled: true; 118 + spacing: 0.2em; 119 + padding: 0.5em; 120 + cursor: pointer; 121 + background-color: transparent; 122 + text-color: @main-fg; 123 + } 124 + element selected.normal { 125 + background-color: @select-bg; 126 + text-color: @select-fg; 127 + } 128 + element-icon { 129 + size: 2.5em; 130 + cursor: inherit; 131 + background-color: transparent; 132 + text-color: inherit; 133 + } 134 + element-text { 135 + vertical-align: 0.5; 136 + horizontal-align: 0.5; 137 + cursor: inherit; 138 + background-color: transparent; 139 + text-color: inherit; 140 + } 141 + 142 + // Error message // 143 + error-message { 144 + text-color: @main-fg; 145 + background-color: @main-bg; 146 + text-transform: capitalize; 147 + children: [ "textbox" ]; 148 + } 149 + 150 + textbox { 151 + text-color: inherit; 152 + background-color: inherit; 153 + vertical-align: 0.5; 154 + horizontal-align: 0.5; 155 + }
+10
config/rofi/theme.rasi
··· 1 + * { 2 + main-bg: #2F3E46; 3 + main-fg: #CAD2C5; 4 + main-br: #cba6f7ff; 5 + main-ex: #f5e0dcff; 6 + select-bg: #84A98C; 7 + select-fg: #11111bff; 8 + separatorcolor: transparent; 9 + border-color: transparent; 10 + }