Compare commits
	
		
			11 Commits
		
	
	
		
			f85841cafe
			...
			datalyo
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e332226281 | |||
| 0ef904f5c1 | |||
| 5210b2a15a | |||
| 158c7a60a3 | |||
| 39a18835a1 | |||
| fa519bd74d | |||
| f98a52e613 | |||
| 44fb8a49fa | |||
| 52b956c423 | |||
| e43a76a132 | |||
| 3029561478 | 
| @@ -9,8 +9,6 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCVRJ6D343dX-x730MRP8tNw "Te | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCG5Ph9Mm6UEQLJJ-kGIC2AQ "Tech" "OneMarcFifty" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCWedHS9qKebauVIK2J7383g "Tech" "Underscore_" | ||||
|  | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UC9C07cryUrKzLuAzwITPA3A "SC2" "SC2HL" | ||||
|  | ||||
|  | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCr_3nQ4eRCwm_XUDpf62MAg "Information "Partager C'est Sympa" | ||||
|  | ||||
| @@ -59,7 +57,8 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCy0I5Hcl2k7dN4UdZTedfeQ "Sp | ||||
|  | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCgkhWgBGRp0sdFy2MHDWfSg "Math" "El Ji" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCYO_jab_esuFRV4b17AJtAw "Math" "3Blue1Brown" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCLXDNUOO3EQ80VmD9nQBHPg "???" "Fouloscopie" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCaNlbnghtwlsGF-KzAFThqA "Science "ScienceEtonnante" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCLXDNUOO3EQ80VmD9nQBHPg "Science "Fouloscopie" | ||||
|  | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCoJtk2M8bme9KXTe6F3K-Yg "CLI" "The Mouseless Dev" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UC8ENHE5xdFSwx71u3fDH5Xw "Vim" "ThePrimeagen" | ||||
| @@ -67,6 +66,5 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCXPHFM88IlFn68OmLwtPmZA "Vi | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCs_AZuYXi6NA9tkdbhjItHQ "AdminSys" "Xavki" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCOk-gHyjcWZNj3Br4oxwh0A "Homelab" "Techno Tim" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCWQaM7SpSECp9FELz-cHzuQ "Cording" "Dream of Code" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCvjgXvBlbQiydffZU7m1_aw "Programmation" "~Coding Train" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCj_iGliGCkLcHSZ8eqVNPDQ "Programmation" "~Grafikart.fr" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCYeiozh-4QwuC1sjgCmB92w "Cording" "DevOps Toolbox" | ||||
| https://www.youtube.com/feeds/videos.xml?channel_id=UCLOAPb7ATQUs_nDs9ViLcMw "Programmation" "Benjamin Code" | ||||
|   | ||||
| @@ -24,6 +24,16 @@ return  { | ||||
|             sources = cmp.config.sources({ | ||||
|                 { name = 'nvim_lsp' }, | ||||
|                 { name = 'vsnip' }, -- For vsnip users. | ||||
|                 { name = 'path' }, | ||||
|                 {  | ||||
|                     name = 'buffer', | ||||
|                     option = { | ||||
|                         keyword_length = 3, | ||||
|                         get_bufnrs = function() | ||||
|                             return vim.api.nvim_list_bufs() | ||||
|                         end | ||||
|                     } | ||||
|                 }, | ||||
|             }, { | ||||
|                     { name = 'buffer' }, | ||||
|                 }) | ||||
|   | ||||
							
								
								
									
										37
									
								
								nvim/.config/nvim/lua/plugins/formatting.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								nvim/.config/nvim/lua/plugins/formatting.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| return { | ||||
| 	"stevearc/conform.nvim", | ||||
| 	event = { "BufReadPre", "BufNewFile" }, | ||||
| 	config = function() | ||||
| 		local conform = require("conform") | ||||
|  | ||||
| 		conform.setup({ | ||||
| 			formatters_by_ft = { | ||||
| 				javascript = { "prettier" }, | ||||
| 				typescript = { "prettier" }, | ||||
| 				javascriptreact = { "prettier" }, | ||||
| 				typescriptreact = { "prettier" }, | ||||
| 				svelte = { "prettier" }, | ||||
| 				css = { "prettier" }, | ||||
| 				html = { "prettier" }, | ||||
| 				json = { "prettier" }, | ||||
| 				yaml = { "prettier" }, | ||||
| 				markdown = { "prettier" }, | ||||
| 				graphql = { "prettier" }, | ||||
| 				lua = { "stylua" }, | ||||
| 				python = { "isort", "black" }, | ||||
| 			}, | ||||
| 			format_on_save = { | ||||
| 				lsp_fallback = true, | ||||
| 				async = false, | ||||
| 				timeout_ms = 500, | ||||
| 			}, | ||||
| 		}) | ||||
| 		vim.keymap.set({ "n", "v" }, "<leader>mp", function() | ||||
| 			conform.format({ | ||||
| 				lsp_fallback = true, | ||||
| 				async = false, | ||||
| 				timeout_ms = 500, | ||||
| 			}) | ||||
| 		end, { desc = "Format file or range (in visual mode)" }) | ||||
| 	end, | ||||
| } | ||||
							
								
								
									
										31
									
								
								nvim/.config/nvim/lua/plugins/lint.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								nvim/.config/nvim/lua/plugins/lint.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| return { | ||||
| 	"mfussenegger/nvim-lint", | ||||
| 	event = { | ||||
| 		"BufReadPre", | ||||
| 		"BufNewFile", | ||||
| 	}, | ||||
| 	config = function() | ||||
| 		local lint = require("lint") | ||||
|  | ||||
| 		lint.linters_by_ft = { | ||||
| 			javascript = { "eslint_d" }, | ||||
| 			typescript = { "eslint_d" }, | ||||
| 			javascriptreact = { "eslint_d" }, | ||||
| 			typescriptreact = { "eslint_d" }, | ||||
| 			python = { "flake8" }, | ||||
| 		} | ||||
|  | ||||
| 		local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true }) | ||||
|  | ||||
| 		vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, { | ||||
| 			group = lint_augroup, | ||||
| 			callback = function() | ||||
| 				lint.try_lint() | ||||
| 			end, | ||||
| 		}) | ||||
|  | ||||
| 		vim.keymap.set("n", "<leader>ml", function() | ||||
| 			lint.try_lint() | ||||
| 		end, { desc = "Trigger linting for current file" }) | ||||
| 	end, | ||||
| } | ||||
| @@ -1,25 +1,38 @@ | ||||
| return { | ||||
|     'VonHeikemen/lsp-zero.nvim', | ||||
|     branch = 'v3.x', | ||||
|     dependencies = { | ||||
|         {'neovim/nvim-lspconfig'}, | ||||
|         {'williamboman/mason.nvim'}, | ||||
|         {'williamboman/mason-lspconfig.nvim'}, | ||||
|     }, | ||||
|     config = function () | ||||
|         local lsp_zero = require('lsp-zero') | ||||
|         lsp_zero.on_attach(function(client, bufnr) | ||||
|             -- see :help lsp-zero-keybindings | ||||
|             -- to learn the available actions | ||||
|             lsp_zero.default_keymaps({buffer = bufnr}) | ||||
|         end) | ||||
| 	"VonHeikemen/lsp-zero.nvim", | ||||
| 	branch = "v3.x", | ||||
| 	dependencies = { | ||||
| 		{ "neovim/nvim-lspconfig" }, | ||||
| 		{ "williamboman/mason.nvim" }, | ||||
| 		{ "williamboman/mason-lspconfig.nvim" }, | ||||
| 		{ "WhoIsSethDaniel/mason-tool-installer.nvim" }, | ||||
| 	}, | ||||
| 	config = function() | ||||
| 		local lsp_zero = require("lsp-zero") | ||||
| 		lsp_zero.on_attach(function(client, bufnr) | ||||
| 			-- see :help lsp-zero-keybindings | ||||
| 			-- to learn the available actions | ||||
| 			lsp_zero.default_keymaps({ buffer = bufnr }) | ||||
| 		end) | ||||
|  | ||||
|         require('mason').setup({}) | ||||
|         require('mason-lspconfig').setup({ | ||||
|             ensure_installed = {}, | ||||
|             handlers = { | ||||
|                 lsp_zero.default_setup, | ||||
|             }, | ||||
|         }) | ||||
|     end | ||||
| 		require("mason").setup({}) | ||||
| 		require("mason-lspconfig").setup({ | ||||
| 			ensure_installed = {}, | ||||
| 			handlers = { | ||||
| 				lsp_zero.default_setup, | ||||
| 			}, | ||||
| 		}) | ||||
| 		local mason_tool_installer = require("mason-tool-installer") | ||||
|  | ||||
| 		mason_tool_installer.setup({ | ||||
| 			ensure_installed = { | ||||
| 				"prettier", -- prettier formatter | ||||
| 				"stylua", -- lua formatter | ||||
| 				"isort", -- python formatter | ||||
| 				"black", -- python formatter | ||||
| 				"flake8", -- python linter | ||||
| 				"eslint_d", -- js linter | ||||
| 			}, | ||||
| 		}) | ||||
| 	end, | ||||
| } | ||||
|   | ||||
							
								
								
									
										15
									
								
								nvim/.config/nvim/lua/plugins/noice.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								nvim/.config/nvim/lua/plugins/noice.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| return { | ||||
| 	"folke/noice.nvim", | ||||
| 	event = "VeryLazy", | ||||
| 	opts = { | ||||
| 		-- add any options here | ||||
| 	}, | ||||
| 	dependencies = { | ||||
| 		-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries | ||||
| 		"MunifTanjim/nui.nvim", | ||||
| 		-- OPTIONAL: | ||||
| 		--   `nvim-notify` is only needed, if you want to use the notification view. | ||||
| 		--   If not available, we use `mini` as the fallback | ||||
| 		"rcarriga/nvim-notify", | ||||
| 	}, | ||||
| } | ||||
| @@ -1,3 +1,8 @@ | ||||
| profile maison2 { | ||||
|     output eDP-1 disable | ||||
|     output "Dell Inc. DELL E2216H 2XT766B1AVTI" position 0,0 transform 90 mode 1920x1080 | ||||
|     output "Samsung Electric Company LS27A600U HNMR502540"  position 1080,240 mode 2560x1440 | ||||
| } | ||||
| profile maison { | ||||
|     output eDP-1 disable | ||||
|     output "Philips Consumer Electronics Company PHL 223V5 ZV01622003292" position 0,0 transform 90 mode 1920x1080 | ||||
|   | ||||
| @@ -15,4 +15,4 @@ configuration { | ||||
|   sidebar-mode: false; | ||||
|   auto-select: false; | ||||
| } | ||||
| @theme "/home/lafrite/.local/share/rofi/rofi-themes-collection/themes/spotlight-dark.rasi" | ||||
| @theme "~/.local/share/rofi/themes/nord/nord.rasi" | ||||
|   | ||||
| @@ -5,7 +5,7 @@ exec_always /usr/libexec/goa-daemon --replace | ||||
| exec gammastep-indicator | ||||
| exec mako  | ||||
| exec "avizo-service" | ||||
| exec_always autotiling-rs | ||||
| exec_always ~/.local/bin/sway/autotiling-rs | ||||
|  | ||||
| exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 | ||||
|  | ||||
|   | ||||
| @@ -47,10 +47,7 @@ alias rm='rm -i' | ||||
| alias cat='bat -pp' | ||||
| alias less='bat -p' | ||||
|  | ||||
| # Newsboat | ||||
| alias newsboat='tmux new -As newsboat newsboat' | ||||
|  | ||||
|  | ||||
| export PATH="$HOME/.local/bin/:$PATH" | ||||
| # Autosuggestions | ||||
| # git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/ | ||||
| source ~/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | ||||
| @@ -75,7 +72,7 @@ bindkey -M vicmd 'j' history-substring-search-down | ||||
| source ~/.config/zsh/auto-ls/auto-ls.zsh | ||||
|  | ||||
| # Pyenv | ||||
| eval "$(pyenv init --path)" | ||||
| # eval "$(pyenv init --path)" | ||||
|  | ||||
|  | ||||
| source ~/.config/zsh/completion.zsh | ||||
| @@ -90,10 +87,15 @@ _fzf_complete_pass() { | ||||
| } | ||||
|  | ||||
| # yarn global commands | ||||
| export PATH="$(yarn global bin):$PATH" | ||||
| # export PATH="$(yarn global bin):$PATH" | ||||
|  | ||||
| # zk | ||||
| export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/" | ||||
| # export ZK_NOTEBOOK_DIR="/home/lafrite/Nextcloud/Documents/zettelkasten/" | ||||
|  | ||||
| # tea | ||||
| PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh" | ||||
| # PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/lafrite/.config/tea/autocomplete.zsh" | ||||
|  | ||||
| # Newsboat | ||||
| # alias newsboat='tmux new -As newsboat newsboat' | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user