Workstation: kdeconnect + thunar thumbnails + sidecar + agentpipe (source build)
This commit is contained in:
0
.sidecar/shells.json.lock
Normal file
0
.sidecar/shells.json.lock
Normal file
@@ -7,7 +7,7 @@
|
|||||||
@define-color overlay0 #6e738d;
|
@define-color overlay0 #6e738d;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", sans-serif;
|
font-family: "JetBrainsMono Nerd Font", "Symbols Nerd Font","Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|||||||
@@ -1,36 +1,50 @@
|
|||||||
return {
|
return {
|
||||||
{
|
"nvim-orgmode/orgmode",
|
||||||
"nvim-orgmode/orgmode",
|
dependencies = {
|
||||||
ft = { "org" },
|
"nvim-treesitter/nvim-treesitter",
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
-- Ensure *.org files are treated as "org" filetype
|
|
||||||
vim.filetype.add({
|
|
||||||
extension = {
|
|
||||||
org = "org",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Treesitter grammar for org (required for good highlighting)
|
|
||||||
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
|
|
||||||
if ok then
|
|
||||||
local parser_config = parsers.get_parser_configs()
|
|
||||||
parser_config.org = {
|
|
||||||
install_info = {
|
|
||||||
url = "https://github.com/milisims/tree-sitter-org",
|
|
||||||
revision = "main",
|
|
||||||
files = { "src/parser.c", "src/scanner.c" },
|
|
||||||
},
|
|
||||||
filetype = "org",
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
require("orgmode").setup({
|
|
||||||
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
|
|
||||||
org_default_notes_file = "~/organizer/inbox.org",
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Load at startup so the parser definition exists before you run TSInstall.
|
||||||
|
lazy = false,
|
||||||
|
|
||||||
|
init = function()
|
||||||
|
-- Register the org parser with nvim-treesitter (API-compatible fallback).
|
||||||
|
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
|
||||||
|
if not ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local parser_configs = nil
|
||||||
|
|
||||||
|
if type(parsers.get_parser_configs) == "function" then
|
||||||
|
parser_configs = parsers.get_parser_configs()
|
||||||
|
elseif type(parsers.get_parser_configs) == "table" then
|
||||||
|
parser_configs = parsers.get_parser_configs
|
||||||
|
elseif type(parsers.parser_configs) == "table" then
|
||||||
|
parser_configs = parsers.parser_configs
|
||||||
|
end
|
||||||
|
|
||||||
|
if not parser_configs then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Don’t overwrite if it already exists.
|
||||||
|
if not parser_configs.org then
|
||||||
|
parser_configs.org = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/milisims/tree-sitter-org",
|
||||||
|
revision = "main",
|
||||||
|
files = { "src/parser.c", "src/scanner.c" },
|
||||||
|
},
|
||||||
|
filetype = "org",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
|
||||||
|
config = function()
|
||||||
|
require("orgmode").setup({
|
||||||
|
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
|
||||||
|
org_default_notes_file = "~/organizer/inbox.org",
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,17 @@ buildGoModule rec {
|
|||||||
owner = "kevinelliott";
|
owner = "kevinelliott";
|
||||||
repo = "agentpipe";
|
repo = "agentpipe";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = lib.fakeHash;
|
hash ="sha256-sLnlgXG4Qy1nTbLyx2ci2492kwi8NNaue/4Xpdx7LQw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = lib.fakeHash;
|
vendorHash ="sha256-ZvJ4N2SVVBbxL2qyz/FyXUvrmTGyoojwitf5p1xSUo0=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
# Avoid dynamic linking surprises.
|
# Avoid dynamic linking surprises.
|
||||||
CGO_ENABLED = 0;
|
|
||||||
|
env = {
|
||||||
|
CGO_ENABLED = "0";
|
||||||
|
};
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://github.com/marcus/sidecar/releases/download/v0.71.1/sidecar_0.71.1_linux_amd64.tar.gz";
|
"https://github.com/marcus/sidecar/releases/download/v0.71.1/sidecar_0.71.1_linux_amd64.tar.gz";
|
||||||
sha256 = lib.fakeSha256;
|
sha256 = "sha256-FFisAM3oHZL8lp35/shvYPj/jmfNohoTiTuVrtePeCU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = false;
|
dontUnpack = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user