chore: added rofi config 3a5531db
Steve · 2026-10-12 14:10 3 file(s) · +149 −0
home.scm +3 −0
64 64
               ("kitty/kitty.conf" ,(local-file "kitty/kitty.conf"))
65 65
               ("sway/config" ,(local-file "sway/config"))
66 66
               ("qtile/config.py" ,(local-file "qtile/config.py"))
67 +
               ("rofi/config.rasi" ,(local-file "rofi/config.rasi"))
68 +
               ("rofi/darkmatter.rasi" ,(local-file "rofi/darkmatter.rasi"))
69 +
               ("tmux/tmux.conf" ,(local-file "tmux/tmux.conf"))
67 70
               ("gdb/gdbinit" ,%default-gdbinit)
68 71
               ("nano/nanorc" ,%default-nanorc)))
69 72
rofi/config.rasi (added) +41 −0
1 +
/* rofi settings. The look lives in the theme file; this is behaviour only. */
2 +
configuration {
3 +
    /* Modes reachable with `rofi -show <name>`. drun is the launcher (it
4 +
       reads .desktop files, so entries get icons and their real names), run
5 +
       is bare executables on PATH, window switches to something already
6 +
       open, and combi searches drun + run + window at once. */
7 +
    modes:      "drun,run,window,combi,filebrowser,ssh,keys";
8 +
    combi-modes: "drun,run,window";
9 +
10 +
    /* Fuzzy matching with sorting: "fx" finds "firefox", and the closest
11 +
       match still comes first. Set matching to "normal" for plain substring
12 +
       search if fuzzy ever feels too loose. */
13 +
    matching:   "fuzzy";
14 +
    sort:       true;
15 +
16 +
    show-icons: true;
17 +
    icon-theme: "Adwaita";
18 +
19 +
    /* ssh mode and "run in terminal" open this; matches $term in sway. */
20 +
    terminal:   "kitty";
21 +
22 +
    drun-display-format:    "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
23 +
    drun-match-fields:      "name,generic,exec,categories,keywords";
24 +
    /* Right-click actions from the .desktop file (new window, private
25 +
       window, and so on) become their own entries. */
26 +
    drun-show-actions:      true;
27 +
28 +
    window-format:          "{w}  {c}  {t}";
29 +
30 +
    display-drun:        "apps";
31 +
    display-run:         "run";
32 +
    display-window:      "windows";
33 +
    display-combi:       "all";
34 +
    display-filebrowser: "files";
35 +
    display-ssh:         "ssh";
36 +
    display-keys:        "keys";
37 +
    display-clipboard:   "clipboard";
38 +
    display-calc:        "calc";
39 +
}
40 +
41 +
@theme "darkmatter"
rofi/darkmatter.rasi (added) +105 −0
1 +
/* ROFI VERTICAL THEME USING THE DARKMATTER PALETTE */
2 +
/* Same layout as Nordic/Nord community themes; palette matches sway, kitty, and emacs */
3 +
4 +
* {
5 +
    font:   "BerkeleyMono Nerd Font Mono 13";
6 +
7 +
    dm-shadow:      #060506;
8 +
    dm-dark:        #121113;
9 +
    dm-bg:          #121113;
10 +
    dm-sidebar:     #171618;
11 +
    dm-base:        #1c1b1d;
12 +
    dm-hover:       #222222;
13 +
    dm-border:      #2b2b2b;
14 +
    dm-border-hi:   #333333;
15 +
16 +
    dm-dim:         #888888;
17 +
    dm-muted:       #999999;
18 +
    dm-soft:        #aaaaaa;
19 +
    dm-subtle:      #c1c1c1;
20 +
    dm-fg:          #ffffff;
21 +
22 +
    dm-teal:        #5f8787;
23 +
    dm-cream:       #fbcb97;
24 +
    dm-orange:      #e78a53;
25 +
    dm-red:         #e75353;
26 +
27 +
    background-color:   transparent;
28 +
    text-color:         @dm-subtle;
29 +
    accent-color:       @dm-orange;
30 +
31 +
    margin:     0px;
32 +
    padding:    0px;
33 +
    spacing:    0px;
34 +
}
35 +
36 +
window {
37 +
    background-color:   @dm-bg;
38 +
    border-color:       @accent-color;
39 +
40 +
    location:   center;
41 +
    width:      480px;
42 +
    border:     1px;
43 +
}
44 +
45 +
inputbar {
46 +
    padding:    8px 12px;
47 +
    spacing:    12px;
48 +
    children:   [ prompt, entry ];
49 +
}
50 +
51 +
prompt, entry, element-text, element-icon {
52 +
    vertical-align: 0.5;
53 +
}
54 +
55 +
prompt {
56 +
    text-color: @accent-color;
57 +
}
58 +
59 +
listview {
60 +
    lines:      8;
61 +
    columns:    1;
62 +
63 +
    fixed-height:   false;
64 +
}
65 +
66 +
element {
67 +
    padding:    8px;
68 +
    spacing:    8px;
69 +
}
70 +
71 +
element normal urgent {
72 +
    text-color: @dm-cream;
73 +
}
74 +
75 +
element normal active {
76 +
    text-color: @accent-color;
77 +
}
78 +
79 +
element alternate active {
80 +
    text-color: @accent-color;
81 +
}
82 +
83 +
element selected {
84 +
    text-color: @dm-bg;
85 +
}
86 +
87 +
element selected normal {
88 +
    background-color:   @accent-color;
89 +
}
90 +
91 +
element selected urgent {
92 +
    background-color:   @dm-cream;
93 +
}
94 +
95 +
element selected active {
96 +
    background-color:   @accent-color;
97 +
}
98 +
99 +
element-icon {
100 +
    size:   0.75em;
101 +
}
102 +
103 +
element-text {
104 +
    text-color: inherit;
105 +
}