mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
minor fix
This commit is contained in:
parent
f7d8dc349c
commit
eccae188a8
4 changed files with 25 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ end
|
||||||
|
|
||||||
M.set_buf_keymaps_prefix = function(maps)
|
M.set_buf_keymaps_prefix = function(maps)
|
||||||
local n_prefix = "<leader>m"
|
local n_prefix = "<leader>m"
|
||||||
local i_prefix = "<C-m>"
|
local i_prefix = "<C-;>" -- Using C-M will stuck when <CR>
|
||||||
if not maps then
|
if not maps then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
curlie
|
curlie
|
||||||
duf
|
duf
|
||||||
dust
|
dust
|
||||||
|
ncdu
|
||||||
fd
|
fd
|
||||||
ffmpeg
|
ffmpeg
|
||||||
glow
|
glow
|
||||||
|
|
|
||||||
14
nixcfgs/users/js0ny/programs/antidots.nix
Normal file
14
nixcfgs/users/js0ny/programs/antidots.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{config, ...}: let
|
||||||
|
xdg-data = "${config.xdg.dataHome}";
|
||||||
|
xdg-config = "${config.xdg.configHome}";
|
||||||
|
xdg-cache = "${config.xdg.cacheHome}";
|
||||||
|
in {
|
||||||
|
home.sessionVariables = {
|
||||||
|
CARGO_HOME = "${xdg-data}/cargo";
|
||||||
|
XCOMPOSECACHE = "${xdg-cache}/X11/xcompose";
|
||||||
|
DOCKER_CONFIG = "${xdg-config}/docker";
|
||||||
|
GNUPGHOME = "${xdg-data}/gnupg";
|
||||||
|
GRADLE_USER_HOME = "${xdg-data}/gradle";
|
||||||
|
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot='${xdg-data}/java'";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
./packages/fonts.nix
|
./packages/fonts.nix
|
||||||
./packages/stylix.nix
|
./packages/stylix.nix
|
||||||
|
|
||||||
|
./programs/antidots.nix
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
./programs/shell/bash.nix
|
./programs/shell/bash.nix
|
||||||
./programs/shell/zsh.nix
|
./programs/shell/zsh.nix
|
||||||
|
|
@ -122,4 +124,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.05";
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
|
# File manager(nautilus) / file chooser bookmarks
|
||||||
|
gtk.gtk3.bookmarks = [
|
||||||
|
"file:///home/js0ny/Academia Academia"
|
||||||
|
"file:///home/js0ny/Atelier Atelier"
|
||||||
|
"file:///home/js0ny/Downloads Downloads"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue