scripts and minor changes
This commit is contained in:
parent
c9cb900b94
commit
be07ce0344
5 changed files with 29 additions and 14 deletions
|
@ -9,6 +9,7 @@ return require('packer').startup(function(use)
|
|||
use("tpope/vim-fugitive")
|
||||
use("theprimeagen/harpoon")
|
||||
use("mbbill/undotree")
|
||||
use("nvim-tree/nvim-web-devicons")
|
||||
|
||||
-- fidget change when rewrite version comes out
|
||||
use {
|
||||
|
@ -20,7 +21,6 @@ return require('packer').startup(function(use)
|
|||
}
|
||||
end,
|
||||
}
|
||||
|
||||
use("norcalli/nvim-colorizer.lua")
|
||||
|
||||
use("lervag/vimtex")
|
||||
|
@ -28,24 +28,22 @@ return require('packer').startup(function(use)
|
|||
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-nvim-lsp', -- lsp
|
||||
'hrsh7th/cmp-nvim-lua', -- Nvim API completions
|
||||
'hrsh7th/cmp-nvim-lsp-signature-help', -- Show function signatures
|
||||
'hrsh7th/cmp-buffer', --buffer completions
|
||||
'hrsh7th/cmp-path', --path completions
|
||||
'hrsh7th/cmp-cmdline', --cmdline completions
|
||||
'L3MON4D3/LuaSnip',
|
||||
'rafamadriz/friendly-snippets',
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
},
|
||||
})
|
||||
|
||||
use("williamboman/mason.nvim")
|
||||
use("williamboman/mason-lspconfig.nvim")
|
||||
use("hrsh7th/cmp-nvim-lsp")
|
||||
use("neovim/nvim-lspconfig")
|
||||
use("nvimtools/none-ls.nvim")
|
||||
use({
|
||||
"L3MON4D3/LuaSnip",
|
||||
requires = {
|
||||
"saadparwaiz1/cmp_luasnip"
|
||||
},
|
||||
})
|
||||
|
||||
use("nvim-treesitter/nvim-treesitter", {
|
||||
run = ":TSUpdate"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require("tsousa.packer")
|
||||
require("tsousa.set")
|
||||
require("tsousa.remap")
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ pseudo-transparency = true
|
|||
monitor = ${env:MONITOR:eDP1}
|
||||
tray-position = ${env:TRAY_POS:right}
|
||||
|
||||
font-0 = JetbrainsMono Nerd Font:size=10:weight=bold;2
|
||||
font-1 = Firacode Nerd Font:style=medium:size=10;2
|
||||
font-0 = JetbrainsMono Nerd Font:size=10:weight=semibold;2
|
||||
font-1 = Firacode Nerd Font:style=semibold:size=10;2
|
||||
font-2 = inter:size=10:weight=regular;2
|
||||
|
||||
[bar/laptop]
|
||||
|
|
13
.config/scripts/monitor.sh
Executable file
13
.config/scripts/monitor.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
gpu_mode=$(/usr/bin/envycontrol -q)
|
||||
if [ "$gpu_mode" = "nvidia" ]; then
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
xrandr --auto
|
||||
xrandr --output HDMI-0 --above eDP-1-1
|
||||
xrandr --output HDMI-0 --primary
|
||||
else
|
||||
xrandr --auto
|
||||
xrandr --output HDMI-1-0 --above eDP-1
|
||||
xrandr --output HDMI-1-0 --primary
|
||||
fi
|
3
.config/scripts/msmb.sh
Executable file
3
.config/scripts/msmb.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo mount -t cifs -o uid=1000,credentials=/home/tsousa/.smb-creds //192.168.1.56/smb-apollo /mnt/smb/
|
Loading…
Add table
Reference in a new issue