File tree Expand file tree Collapse file tree 1 file changed +12
-30
lines changed
modules/nixos/home-manager/profiles/desktop Expand file tree Collapse file tree 1 file changed +12
-30
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
config ,
3
- inputs ,
4
3
lib ,
5
4
pkgs ,
6
5
...
11
10
programs . rofi = {
12
11
enable = true ;
13
12
14
- # Stylix doesn't use correct syntax "<name> <size>"
15
- font =
16
- let
17
- inherit ( config . stylix ) fonts ;
18
- in
19
- lib . mkForce "${ fonts . monospace . name } ${ toString fonts . sizes . desktop } " ;
20
-
21
- # This installs a copy of rofi without plugins but still using
22
- # global config, leading to "missing plugin" startup errors. Work
23
- # around by overriding rofi-pass to use rofi.finalPackage
24
-
25
- # pass.enable = true;
26
-
27
13
plugins = with pkgs ; [
28
14
rofi-calc
29
15
rofi-emoji
30
16
] ;
31
17
32
- # NOTE: can remove "start" subcommand after https://github.com/wez/wezterm/commit/e8886752e87c3240df4148828797459776abfa7f
33
- terminal = "${ pkgs . wezterm } /bin/wezterm start" ;
18
+ terminal = "${ pkgs . wezterm } /bin/wezterm" ;
34
19
35
- theme = {
36
- window = {
37
- width = "33%" ;
38
- border-radius = "6px" ;
39
- } ;
40
- element-icon = {
41
- size = "1em" ;
42
- margin = "0 0.25em 0 0" ;
20
+ theme =
21
+ let
22
+ inherit ( config . lib . formats . rasi ) mkLiteral ;
23
+ in
24
+ {
25
+ window . width = mkLiteral "80ch" ;
26
+
27
+ element-icon = {
28
+ size = mkLiteral "1em" ;
29
+ margin = mkLiteral "0 0.25em 0 0" ;
30
+ } ;
43
31
} ;
44
- } ;
45
32
} ;
46
-
47
- # https://github.com/carnager/rofi-pass/issues/226
48
- xdg . configFile . "rofi-pass/config" . text = ''
49
- help_color="${ config . lib . stylix . colors . withHashtag . base0D } "
50
- '' ;
51
33
} ;
52
34
}
You can’t perform that action at this time.
0 commit comments