Compare commits

..

1 commit

Author SHA1 Message Date
d06333397c
Ditch tmux for ghostty tabs + a more stateless living
nix update
2025-01-01 18:12:44 +01:00
3 changed files with 9 additions and 14 deletions

View file

@ -53,7 +53,7 @@
description = "Open a file in already running nvim";
argumentNames = [ "file" ];
body = ''
nvim --server "$XDG_RUNTIME_DIR/nvim-persistent.sock" --remote (readlink -f "$file")
nvim --server "$XDG_RUNTIME_DIR/nvim-persistent.sock" --remote (readlink -f "$file") >>/dev/null
'';
};

View file

@ -33,6 +33,7 @@
unfocused-split-opacity = 1.0;
shell-integration = "fish";
initial-command = ''nvim --listen "$XDG_RUNTIME_DIR/nvim-persistent.sock"'';
window-decoration = true;
gtk-single-instance = true;
@ -112,7 +113,9 @@
"System"
"TerminalEmulator"
];
exec = ''ghostty --class=com.mitchellh.ghostty-nemo --command="ssh -t nemo"'';
exec = ''
ghostty --class=com.mitchellh.ghostty-nemo --command="ssh -t nemo" --initial-command="ssh -t nemo nvim --listen /run/user/1000/nvim-persistent.sock"
'';
genericName = "Ghostty (nemo)";
icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)";

View file

@ -52,14 +52,9 @@ local colors = {
highlight_subtle = hsl(212, 27, 11),
highlight_intense = hsl(58, 100, 60),
-- string = hsl(96, 35, 60),
-- string = hsl(80, 79, 83),
string = hsl(90, 45, 70),
string = hsl(96, 35, 60),
comment = hsl(2, 69, 68),
comment_error = hsl(2, 85, 50),
func = hsl(40, 57, 87),
member = hsl(213, 45, 75),
punc = hsl(213, 45, 50),
diagnostic_error = hsl(353, 100, 45),
diagnostic_warning = hsl(30, 100, 50),
@ -102,14 +97,13 @@ local theme = {
Constant = { link = "NormalNC" },
Delimiter = { link = "NormalNC" },
Function = { fg = c.func },
Identifier = { link = "NormalNC" },
Keyword = { fg = c.foreground, bold = true },
Operator = { link = "NormalNC" },
Special = { link = "NormalNC" },
Type = { link = "NormalNC" },
String = { fg = c.string },
String = { fg = c.string, italic = true },
Comment = { fg = c.comment, italic = true, bold = true },
CommentError = { fg = c.comment_error, italic = true, bold = true },
@ -129,13 +123,11 @@ local theme = {
GitSignsDeleteNr = { link = "DiffDelete" },
-- Treesitter
-- ["@function"] = { link = "NormalNC" },
["@punctuation.special"] = { fg = c.punc },
["@function"] = { link = "NormalNC" },
["@special"] = { link = "NormalNC" },
["@variable"] = { link = "NormalNC" },
["@variable.member"] = { fg = c.member },
["@variable.parameter"] = { fg = c.accent2 },
-- ["@lsp.type.variable"] = { fg = c.dimmed_subtle, italic = true },
["@lsp.type.variable"] = { fg = c.dimmed_subtle, italic = true },
-- UI Elements
CursorLine = { bg = c.highlight_subtle },