From 98e2ec013242e417ec899b939ac67d3fc6c2b38c Mon Sep 17 00:00:00 2001 From: Never Gude Date: Mon, 27 Apr 2026 21:10:27 +0200 Subject: [PATCH] stuff --- .config/fish/fish_variables | 4 ++-- .config/niri/config.kdl | 10 ++++++++++ .config/nvim/ftplugin/python.lua | 1 + .config/nvim/init.lua | 4 +++- 4 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .config/nvim/ftplugin/python.lua diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 558edb4..0cf955c 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,6 +1,6 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 -SETUVAR --export EDITOR:nvim +SETUVAR --export EDITOR:neovide SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS SETUVAR __fish_initialized:3800 SETUVAR fish_color_autosuggestion:white @@ -43,4 +43,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x1ebrblue SETUVAR fish_pager_color_selected_completion:black\x1e\x2d\x2dbold SETUVAR fish_pager_color_selected_description:bryellow\x1e\x2d\x2dbold\x1e\x2d\x2ditalics SETUVAR fish_pager_color_selected_prefix:black\x1e\x2d\x2dbold\x1e\x2d\x2dunderline -SETUVAR fish_user_paths:/home/never/\x2elocal/scripts\x1e/usr/local/texlive/2025/bin/x86_64\x2dlinux +SETUVAR fish_user_paths:/home/never/\x2elocal/scripts\x1e/usr/local/texlive/2025/bin/x86_64\x2dlinux\x1e/home/never/\x2ecargo/bin/ diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 96233ea..2ba061b 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -343,6 +343,16 @@ window-rule { window-rule { match app-id=r#"ipe$"# title="^Ipe: waiting$" open-floating true + open-focused false + default-floating-position x=8 y=8 relative-to="bottom-left" + max-width 169 + max-height 37 +} + +window-rule { + match app-id=r#"ipe$"# title="^Create text object$" + open-floating false + default-column-width { proportion 0.2; } } window-rule { diff --git a/.config/nvim/ftplugin/python.lua b/.config/nvim/ftplugin/python.lua new file mode 100644 index 0000000..fe6caae --- /dev/null +++ b/.config/nvim/ftplugin/python.lua @@ -0,0 +1 @@ +vim.treesitter.start() diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index ea5ad83..cd0bb8a 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -4,6 +4,8 @@ vim.g.mapleader = " " vim.g.maplocalleader = " " +vim.o.guifont = "Adwaita Mono:h12" + -- Disable mouse input vim.o.mouse = "" @@ -123,7 +125,7 @@ vim.filetype.add({ -- Install nvim-treesitter vim.pack.add({ "https://github.com/nvim-treesitter/nvim-treesitter" }) -require("nvim-treesitter").install({ 'fish', 'java', 'latex', 'make' }) +require("nvim-treesitter").install({ 'fish', 'java', 'latex', 'make', 'python' }) vim.api.nvim_create_autocmd('FileType', { pattern = { '' },