Compare commits
3 commits
9e2d999e4b
...
44eaaa06ea
Author | SHA1 | Date | |
---|---|---|---|
44eaaa06ea | |||
59cf9bf63e | |||
0bd09da3cd |
7 changed files with 56 additions and 36 deletions
|
@ -80,6 +80,7 @@ return {
|
|||
buffer = "[buf]",
|
||||
nvim_lsp = "[lsp]",
|
||||
copilot = "[cop]",
|
||||
org = "[org]",
|
||||
luasnip = "[snip]",
|
||||
nvim_lsp_signature_help = "[sig]",
|
||||
nvim_lua = "[lua]",
|
||||
|
@ -138,11 +139,15 @@ return {
|
|||
|
||||
{
|
||||
'zbirenbaum/copilot.lua',
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("copilot").setup({
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
keymap = { accept = "<C-q>" },
|
||||
auto_trigger = true,
|
||||
keymap = {
|
||||
accept = "<C-q>",
|
||||
},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
|
7
.config/nvim/lua/tsousa/plugins/zen-mode.lua
Normal file
7
.config/nvim/lua/tsousa/plugins/zen-mode.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
config = function ()
|
||||
require("zen-mode").setup()
|
||||
vim.keymap.set("n", "<leader>zz", vim.cmd.ZenMode)
|
||||
end
|
||||
}
|
|
@ -38,6 +38,7 @@ format = ' [$symbol($version(-$name) )]($style)'
|
|||
|
||||
[conda]
|
||||
symbol = " "
|
||||
format = "[$symbol$environment]($style)"
|
||||
|
||||
[dart]
|
||||
symbol = " "
|
||||
|
|
|
@ -23,3 +23,4 @@ bind -r j select-pane -D
|
|||
bind -r h select-pane -L
|
||||
bind -r l select-pane -R
|
||||
|
||||
bind-key -r f run-shell "tmux neww ~/.local/share/scripts/tmux-sessionizer.sh"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -f /usr/bin/envycontrol ]; then
|
||||
gpu_mode=$(/usr/bin/envycontrol -q)
|
||||
if [ "$gpu_mode" = "nvidia" ]; then
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
|
@ -11,6 +12,7 @@ else
|
|||
xrandr --output HDMI-1-0 --above eDP-1
|
||||
xrandr --output HDMI-1-0 --primary
|
||||
fi
|
||||
fi
|
||||
|
||||
pkill picom
|
||||
picom -b
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
else
|
||||
selected=$(find ~/Nextcloud ~/.config ~/gits ~/2sem ~/ -mindepth 1 -maxdepth 1 -type d,l | fzf)
|
||||
selected=$(find -L ~/Nextcloud ~/.config ~/gits ~/2sem ~/ -mindepth 1 -maxdepth 1 -type d,l | fzf)
|
||||
fi
|
||||
|
||||
if [[ -z "$selected" ]]; then
|
||||
|
|
4
.xinitrc
4
.xinitrc
|
@ -41,6 +41,8 @@ fi
|
|||
setxkbmap -layout us,pt
|
||||
setxkbmap -option grp:win_space_toggle
|
||||
|
||||
# setup monitors (laptop only)
|
||||
if [ -f /usr/bin/envycontrol ]; then
|
||||
gpu_mode=$(/usr/bin/envycontrol -q)
|
||||
if [ "$gpu_mode" = "nvidia" ]; then
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
|
@ -52,4 +54,6 @@ else
|
|||
xrandr --output HDMI-1-0 --above eDP-1
|
||||
xrandr --output HDMI-1-0 --primary
|
||||
fi
|
||||
fi
|
||||
|
||||
exec i3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue