Compare commits
4 commits
36754109b6
...
b59c352f73
Author | SHA1 | Date | |
---|---|---|---|
b59c352f73 |
|||
b624ea249d |
|||
841c7192ec |
|||
e0b8e2dfff |
4 changed files with 14 additions and 16 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1739866667,
|
||||
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
|
||||
"lastModified": 1741246872,
|
||||
"narHash": "sha256-Q6pMP4a9ed636qilcYX8XUguvKl/0/LGXhHcRI91p0U=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
|
||||
"rev": "10069ef4cf863633f57238f179a0297de84bd8d3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -13,12 +13,13 @@
|
|||
calc
|
||||
# calibre
|
||||
cbonsai
|
||||
cinny-desktop
|
||||
cmus
|
||||
difftastic
|
||||
element
|
||||
element-desktop
|
||||
emacs30-pgtk
|
||||
# evince
|
||||
evince
|
||||
eza
|
||||
firefox
|
||||
fftw
|
||||
|
@ -68,7 +69,6 @@
|
|||
ripgrep
|
||||
rmpc
|
||||
signal-desktop
|
||||
sioyek
|
||||
smartmontools
|
||||
taskwarrior3
|
||||
taskwarrior-tui
|
||||
|
|
|
@ -138,12 +138,10 @@ in {
|
|||
# Substituters to pull from.
|
||||
substituters = [
|
||||
"https://cache.nixos.org" # funny binary cache
|
||||
"https://helix.cachix.org" # a chache for helix
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
--- a/src/path.cpp
|
||||
+++ b/src/path.cpp
|
||||
@@ -384,7 +384,7 @@ static const base_directory_t &get_data_directory() {
|
||||
}
|
||||
|
||||
static const base_directory_t &get_config_directory() {
|
||||
- static base_directory_t s_dir = make_base_directory(L"XDG_CONFIG_HOME", L"/.config/fish");
|
||||
+ static base_directory_t s_dir = make_base_directory(L"XDG_RUNTIME_DIR", L"/.config/fish");
|
||||
return s_dir;
|
||||
--- a/src/path.rs
|
||||
+++ b/src/path.rs
|
||||
@@ -781,7 +781,7 @@ fn get_cache_directory() -> &'static BaseDirectory {
|
||||
|
||||
fn get_config_directory() -> &'static BaseDirectory {
|
||||
static DIR: Lazy<BaseDirectory> =
|
||||
- Lazy::new(|| make_base_directory(L!("XDG_CONFIG_HOME"), L!("/.config/fish")));
|
||||
+ Lazy::new(|| make_base_directory(L!("XDG_RUNTIME_DIR"), L!("/.config/fish")));
|
||||
&DIR
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue