File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 364364function configure_application_launcher() {
365365 echo " ==> Configure application launcher."
366366
367- mkdir -p " $HOME " /.config/rofy /
367+ mkdir -p " $HOME " /.config/rofi /
368368
369- cat > " $HOME " /.config/rofy/rofy.ini << 'EOF '
369+ cat > " $HOME " /.config/rofi/config.rasi << 'EOF '
370+ configuration {
371+ modi: "drun,run";
372+ show-icons: true;
373+ drun-display-format: "{name}";
374+ }
375+
376+ * {
377+ bg: #002b36;
378+ bg-alt: #073642;
379+ fg: #839496;
380+ fg-alt: #93a1a1;
381+ accent: #268bd2;
382+ urgent: #dc322f;
383+
384+ background-color: transparent;
385+ text-color: @fg;
386+ font: "JetBrainsMono Nerd Font 11";
387+ }
388+
389+ window {
390+ background-color: @bg;
391+ border: 2px;
392+ border-color: @accent;
393+ border-radius: 8px;
394+ width: 40%;
395+ padding: 12px;
396+ }
397+
398+ mainbox {
399+ children: [ inputbar, listview ];
400+ spacing: 8px;
401+ }
402+
403+ inputbar {
404+ background-color: @bg-alt;
405+ text-color: @fg-alt;
406+ padding: 8px;
407+ border-radius: 6px;
408+ spacing: 8px;
409+ children: [ prompt, entry ];
410+ }
411+
412+ prompt {
413+ text-color: @accent;
414+ }
415+
416+ entry {
417+ placeholder: "Search...";
418+ placeholder-color: @fg;
419+ }
420+
421+ listview {
422+ lines: 10;
423+ spacing: 4px;
424+ scrollbar: false;
425+ }
426+
427+ element {
428+ padding: 6px 8px;
429+ border-radius: 6px;
430+ }
431+
432+ element selected {
433+ background-color: @accent;
434+ text-color: @bg;
435+ }
436+
437+ element-icon {
438+ size: 1.1em;
439+ padding: 0 6px 0 0;
440+ }
441+
442+ element-text {
443+ text-color: inherit;
444+ vertical-align: 0.5;
445+ }
370446EOF
371447}
372448
You can’t perform that action at this time.
0 commit comments