feat: align workspace navigation with relocated projects
Use ~/yookr/projects for company repositories and ~/projects for personal groups. Add the company-root Walker entry, apply work Git identity below ~/yookr, and remove Bruno synchronization. Filesystem relocation was previously completed on Zenith only; other hosts require their own relocation before adopting these shared paths.
This commit is contained in:
1 parent
d81a59b9cb
commit
5dd1d2b296
4 files changed
+19
-16
No files matched your search
@@ -24,14 +24,19 @@
|
||||
}:
|
||||
let
|
||||
homeDir = config.home.homeDirectory;
|
||||
projectRoots =
|
||||
projectRoots = [
|
||||
{
|
||||
scope = "work";
|
||||
path = "${homeDir}/yookr/projects";
|
||||
}
|
||||
]
|
||||
++
|
||||
map
|
||||
(scope: {
|
||||
inherit scope;
|
||||
path = "${homeDir}/dev/${scope}";
|
||||
path = "${config.xdg.userDirs.projects}/${scope}";
|
||||
})
|
||||
[
|
||||
"work"
|
||||
"own"
|
||||
"ext"
|
||||
"forks"
|
||||
@@ -67,7 +72,7 @@
|
||||
xdg.configFile."elephant/menus/projects.lua".text = ''
|
||||
Name = "projects"
|
||||
NamePretty = "Projects"
|
||||
Description = "Git repositories"
|
||||
Description = "Projects and workspaces"
|
||||
Icon = "folder"
|
||||
Action = "${lib.getExe openProject}"
|
||||
SearchName = true
|
||||
@@ -90,7 +95,14 @@
|
||||
end
|
||||
|
||||
function GetEntries()
|
||||
local entries = {}
|
||||
local entries = {
|
||||
{
|
||||
Text = "Yookr",
|
||||
Subtext = "Company workspace",
|
||||
Value = "${homeDir}/yookr",
|
||||
Keywords = { "work", "company", "workbench" },
|
||||
},
|
||||
}
|
||||
|
||||
for _, root in ipairs(roots) do
|
||||
local handle = repositories(root.path)
|
||||
|
||||
Reference in new issue
Block a user