From 14db4f1738758e2825e0840d4bc62afb8edc2c1e Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Sun, 22 Dec 2024 12:24:07 -0600 Subject: [PATCH 1/3] fix copy paste on cosmic --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 05bce1b..055146b 100644 --- a/flake.nix +++ b/flake.nix @@ -346,6 +346,10 @@ mkdir -p "$XDG_RUNTIME_DIR" ln -sf /run/user/$(id -u)/wayland-0 "$XDG_RUNTIME_DIR/wayland-0" fi + if [ ! -S "$XDG_RUNTIME_DIR/wayland-1" ]; then + mkdir -p "$XDG_RUNTIME_DIR" + ln -sf /run/user/$(id -u)/wayland-1 "$XDG_RUNTIME_DIR/wayland-1" + fi fi '' # Clear proxy environment variables From 31b96e313a70650fee70bd33765bb4ffbeabcb1e Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 23 Dec 2024 23:12:17 -0600 Subject: [PATCH 2/3] add flake files to smart name --- lua/plugins/editor_lua_line.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lua/plugins/editor_lua_line.lua b/lua/plugins/editor_lua_line.lua index ed93b6d..904cd1c 100644 --- a/lua/plugins/editor_lua_line.lua +++ b/lua/plugins/editor_lua_line.lua @@ -54,13 +54,15 @@ local function smart_tab_name() "index%..*", "mod%..*", "Dockerfile", + "Dockerfile.*", + ".envrc", ".env", ".env%..*", - "router%..*", - "controller%..*", - "service%..*", - "utils%..*", - "util%..*", + "router%..*", + "controller%..*", + "service%..*", + "utils%..*", + "util%..*", "README%..*", "LICENSE", "Makefile", @@ -197,6 +199,7 @@ local function smart_tab_name() "cronhub%..*", "cronitor%..*", "healthchecks.io%..*", + "flake.*", } -- Check if the filename matches any pattern in the whitelist @@ -210,7 +213,6 @@ local function smart_tab_name() return filename end - return { "nvim-lualine/lualine.nvim", -- dependencies = { { "folke/noice.nvim", optional = true } }, From b43def52fc1f11d6438bc657842b1b876ffebbcd Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Fri, 27 Dec 2024 14:01:00 -0600 Subject: [PATCH 3/3] add more filename whitelists for easier tab names --- lua/plugins/editor_lua_line.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/plugins/editor_lua_line.lua b/lua/plugins/editor_lua_line.lua index 904cd1c..fe59d0e 100644 --- a/lua/plugins/editor_lua_line.lua +++ b/lua/plugins/editor_lua_line.lua @@ -200,6 +200,8 @@ local function smart_tab_name() "cronitor%..*", "healthchecks.io%..*", "flake.*", + "configuration.nix", + "hardware-configuration.nix", } -- Check if the filename matches any pattern in the whitelist