From acb4dfaf16e54fbe9a7cc850f7c54d6b6b4f59ab Mon Sep 17 00:00:00 2001 From: tiago Date: Sun, 24 Sep 2023 18:24:54 +0100 Subject: [PATCH] yeye --- .config/fish/config.fish | 1 + .config/fish/fish_variables | 2 +- .config/i3/config | 12 ++------- .config/nvim/after/plugin/treesitter.lua | 2 +- .config/nvim/lua/tsousa/packer.lua | 32 ++++++++++++++++-------- .config/nvim/plugin/packer_compiled.lua | 5 ++++ .config/picom/picom.conf | 4 +-- 7 files changed, 34 insertions(+), 24 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 4489944..710b957 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -17,6 +17,7 @@ set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; se fish_add_path $HOME/.local/share/nvim/mason/bin/ fish_add_path $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin fish_add_path $HOME/.cargo/bin/ +fish_add_path $HOME/.config/emacs/bin starship init fish | source diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 5816dc5..30e65f2 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -40,4 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x1d SETUVAR fish_pager_color_selected_completion:\x1d SETUVAR fish_pager_color_selected_description:\x1d SETUVAR fish_pager_color_selected_prefix:\x1d -SETUVAR fish_user_paths:/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin +SETUVAR fish_user_paths:/home/tsousa/\x2econfig/emacs/bin\x1e/home/tsousa/\x2ecargo/bin\x1e/home/tsousa/\x2elocal/share/nvim/mason/bin\x1e/home/tsousa/\x2erustup/toolchains/nightly\x2dx86_64\x2dunknown\x2dlinux\x2dgnu/bin diff --git a/.config/i3/config b/.config/i3/config index ec9df30..1f2ca58 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -210,20 +210,12 @@ bindsym $mod+r mode "resize" gaps inner 10 gaps top 40 -mode "Power menu: [e]xit i3 | [S-s]hutdown | [s]uspend | [r]eboot" { - bindsym $mod+e exec --no-startup-id i3-msg exit - bindsym $mod+Shift+s exec shutdown -h now - bindsym $mod+r exec reboot - bindsym $mod+s exec systemctl suspend - - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+Shift+e mode "Power menu: [e]xit i3 | [S-s]hutdown | [s]uspend | [r]eboot" +assign [class="discord"] 5 exec --no-startup-id nitrogen --restore exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 1; exec alacritty' exec --no-startup-id picom -b +exec --no-startup-id openrgb -d 0 -m off -d 1 -m off exec_always --no-startup-id ~/.config/polybar/launch.sh # Start i3bar to display a workspace bar (plus the system information i3status diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua index 59c6564..7ddfa82 100644 --- a/.config/nvim/after/plugin/treesitter.lua +++ b/.config/nvim/after/plugin/treesitter.lua @@ -1,5 +1,5 @@ require'nvim-treesitter.configs'.setup { - ensure_installed = {"vim","python","rust","lua","haskell","c","java", "bash","go"}, + ensure_installed = {"lua","vim","python","rust","haskell","c","java", "bash","go"}, sync_install = false, highlight = { diff --git a/.config/nvim/lua/tsousa/packer.lua b/.config/nvim/lua/tsousa/packer.lua index 075d5bf..65d934d 100644 --- a/.config/nvim/lua/tsousa/packer.lua +++ b/.config/nvim/lua/tsousa/packer.lua @@ -9,19 +9,30 @@ return require('packer').startup(function(use) use("tpope/vim-fugitive") use("theprimeagen/harpoon") use("mbbill/undotree") - use("j-hui/fidget.nvim") + + -- fidget change when rewrite version comes out + use { + 'j-hui/fidget.nvim', + tag = 'legacy', + config = function() + require("fidget").setup { + -- options + } + end, + } use("norcalli/nvim-colorizer.lua") use("nvim-orgmode/orgmode") use("lervag/vimtex") - use({"hrsh7th/nvim-cmp", + use({ + "hrsh7th/nvim-cmp", requires = { "hrsh7th/cmp-nvim-lsp", -- lsp - "hrsh7th/cmp-buffer", --buffer completions - "hrsh7th/cmp-path", --path completions - "hrsh7th/cmp-cmdline" --cmdline completions + "hrsh7th/cmp-buffer", --buffer completions + "hrsh7th/cmp-path", --path completions + "hrsh7th/cmp-cmdline" --cmdline completions }, }) @@ -31,11 +42,12 @@ return require('packer').startup(function(use) use("neovim/nvim-lspconfig") use("mfussenegger/nvim-jdtls") use("jose-elias-alvarez/null-ls.nvim") - use({"L3MON4D3/LuaSnip", - requires = { - "saadparwaiz1/cmp_luasnip" - }, - }) + use({ + "L3MON4D3/LuaSnip", + requires = { + "saadparwaiz1/cmp_luasnip" + }, + }) use("nvim-treesitter/nvim-treesitter", { run = ":TSUpdate" diff --git a/.config/nvim/plugin/packer_compiled.lua b/.config/nvim/plugin/packer_compiled.lua index 03a4969..e413963 100644 --- a/.config/nvim/plugin/packer_compiled.lua +++ b/.config/nvim/plugin/packer_compiled.lua @@ -105,6 +105,7 @@ _G.packer_plugins = { url = "https://github.com/saadparwaiz1/cmp_luasnip" }, ["fidget.nvim"] = { + config = { "\27LJ\2\n8\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\vfidget\frequire\0" }, loaded = true, path = "/home/tsousa/.local/share/nvim/site/pack/packer/start/fidget.nvim", url = "https://github.com/j-hui/fidget.nvim" @@ -227,6 +228,10 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) +-- Config for: fidget.nvim +time([[Config for fidget.nvim]], true) +try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\vfidget\frequire\0", "config", "fidget.nvim") +time([[Config for fidget.nvim]], false) _G._packer.inside_compile = false if _G._packer.needs_bufread == true then diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index e90d746..ccf4216 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -289,8 +289,8 @@ backend = "glx"; # Enable/disable VSync. -#vsync = true -vsync = false +vsync = true +#vsync = false # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false