Compare commits
2 Commits
77b8578379
...
0c679290c5
| Author | SHA1 | Date | |
|---|---|---|---|
|
0c679290c5
|
|||
|
4685f31aa1
|
@@ -76,28 +76,6 @@
|
||||
scale = 1.25;
|
||||
};
|
||||
};
|
||||
spawn-at-startup = [
|
||||
{
|
||||
command = [
|
||||
"sh"
|
||||
"-c"
|
||||
"sleep 3; echo 'Xft.dpi: 120' | ${lib.getExe pkgs.xorg.xrdb} -merge"
|
||||
];
|
||||
}
|
||||
{
|
||||
command = [
|
||||
(toString (
|
||||
pkgs.writeShellScript "xsettingsd" ''
|
||||
pgrep xsettingsd && exit
|
||||
while :
|
||||
do
|
||||
${lib.getExe pkgs.xsettingsd} -c ${pkgs.writeText "xsettingsd.conf" "Xft/DPI 122880\n"}
|
||||
done
|
||||
''
|
||||
))
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -128,7 +106,7 @@
|
||||
{
|
||||
"inode/directory" = [ "nemo.desktop" ];
|
||||
|
||||
"application/pdf" = [ "evince.desktop" ];
|
||||
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||
|
||||
"text/*" = editor;
|
||||
"application/json" = editor;
|
||||
|
||||
@@ -11,6 +11,7 @@ lib.my.makeSwitch {
|
||||
my.coding.editor = {
|
||||
neovim.enable = true;
|
||||
vscode.enable = true;
|
||||
zed.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
20
modules/coding/editor/zed/default.nix
Normal file
20
modules/coding/editor/zed/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
lib.my.makeHomeProgramConfig {
|
||||
inherit config;
|
||||
programName = "zed-editor";
|
||||
optionPath = [
|
||||
"coding"
|
||||
"editor"
|
||||
"zed"
|
||||
];
|
||||
extraConfig = {
|
||||
my.persist.homeDirs = [
|
||||
".config/zed"
|
||||
".local/share/zed"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user