Skip to content

Commit 47c3591

Browse files
committed
Clean up obsolete config
1 parent 6897c2b commit 47c3591

File tree

1 file changed

+12
-30
lines changed
  • modules/nixos/home-manager/profiles/desktop

1 file changed

+12
-30
lines changed
Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
config,
3-
inputs,
43
lib,
54
pkgs,
65
...
@@ -11,42 +10,25 @@
1110
programs.rofi = {
1211
enable = true;
1312

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-
2713
plugins = with pkgs; [
2814
rofi-calc
2915
rofi-emoji
3016
];
3117

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";
3419

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+
};
4331
};
44-
};
4532
};
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-
'';
5133
};
5234
}

0 commit comments

Comments
 (0)