diff --git a/dotfiles/nvim/lua/plugins/disabled.lua b/dotfiles/nvim/lua/plugins/disabled.lua index b4f771d..5a95b93 100644 --- a/dotfiles/nvim/lua/plugins/disabled.lua +++ b/dotfiles/nvim/lua/plugins/disabled.lua @@ -1,4 +1,5 @@ return { { "akinsho/bufferline.nvim", enabled = false }, - -- add more plugins to disable here + { "lukas-reineke/indent-blankline.nvim", enabled = false }, + { "echasnovski/mini.indentscope", enabled = false }, } diff --git a/dotfiles/nvim/lua/plugins/mrflos.lua b/dotfiles/nvim/lua/plugins/mrflos.lua index 77f3b43..bd4fe61 100644 --- a/dotfiles/nvim/lua/plugins/mrflos.lua +++ b/dotfiles/nvim/lua/plugins/mrflos.lua @@ -87,7 +87,29 @@ return { }, }, }, - - { "lukas-reineke/indent-blankline.nvim", enabled = false }, - { "echasnovski/mini.indentscope", enabled = false }, + { + "nvim-telescope/telescope.nvim", + opts = { + defaults = { + layout_strategy = "center", + layout_config = { + prompt_position = "top", + preview_cutoff = 1, -- Preview should always show (unless previewer = false) + width = function(_, max_columns, _) + return math.min(max_columns, 80) + end, + height = function(_, _, max_lines) + return math.min(max_lines, 15) + end, + }, + sorting_strategy = "ascending", + border = true, + borderchars = { + prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" }, + results = { "─", "│", "─", "│", "├", "┤", "╯", "╰" }, + preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, + }, + }, + }, + }, } diff --git a/home-manager/mrflos-cli.nix b/home-manager/mrflos-cli.nix index ada0fa8..634b92a 100644 --- a/home-manager/mrflos-cli.nix +++ b/home-manager/mrflos-cli.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ pkgs, lib, ... }: { # Home Manager needs a bit of information about you and the paths it should diff --git a/modules/console.nix b/modules/console.nix index 781a1a5..c982feb 100644 --- a/modules/console.nix +++ b/modules/console.nix @@ -1,5 +1,5 @@ # cli programs should be available on servers and desktop -{ lib, pkgs, ... }: +{ pkgs, ... }: { programs.zsh.enable = true; @@ -13,7 +13,6 @@ mpd.musicDirectory = "/home/mrflos/Musique"; mpd.user = "mrflos"; mpd.group = "users"; - #mpd.dataDir mpd.startWhenNeeded = true; mpd.extraConfig = '' audio_output {