mirror of https://github.com/ericonr/dotfiles.git
Compare commits
6 Commits
90136a2471
...
6915da825c
Author | SHA1 | Date |
---|---|---|
Érico Nogueira | 6915da825c | |
Érico Nogueira | 554a7ae6d0 | |
Érico Nogueira | 95b222dc05 | |
Érico Nogueira | fa64fcc57c | |
Érico Nogueira | 60d922ca49 | |
Érico Nogueira | 9cb82be121 |
|
@ -25,3 +25,15 @@
|
|||
[submodule "nvim/.config/nvim/pack/plugins/start/rainbow"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/rainbow
|
||||
url = https://github.com/luochen1990/rainbow.git
|
||||
[submodule "nvim/.config/nvim/pack/plugins/start/telescope.nvim"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/telescope.nvim
|
||||
url = https://github.com/nvim-telescope/telescope.nvim.git
|
||||
[submodule "nvim/.config/nvim/pack/plugins/start/plenary.nvim"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/plenary.nvim
|
||||
url = https://github.com/nvim-lua/plenary.nvim.git
|
||||
[submodule "nvim/.config/nvim/pack/plugins/start/telescope-fzf-native.nvim"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/telescope-fzf-native.nvim
|
||||
url = https://github.com/nvim-telescope/telescope-fzf-native.nvim.git
|
||||
[submodule "nvim/.config/nvim/pack/plugins/start/nvim-treesitter"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/nvim-treesitter
|
||||
url = https://github.com/nvim-treesitter/nvim-treesitter.git
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
# taken from https://fishshell.com/docs/current/commands.html#contains
|
||||
for i in ~/.local/bin ~/.emacs.d/bin
|
||||
for i in ~/.local/bin ~/.emacs.d/bin ~/.cargo/bin
|
||||
if not contains $i $PATH
|
||||
set PATH $PATH $i
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_init_2_3_0:\x1d
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:93a1a1
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:586e75
|
||||
|
@ -30,4 +30,5 @@ SETUVAR fish_pager_color_completion:green
|
|||
SETUVAR fish_pager_color_description:B3A06D
|
||||
SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_user_paths:/home/ericonr/\x2elocal/bin
|
||||
|
|
|
@ -59,6 +59,25 @@ let g:rainbow_active = 1
|
|||
let g:rainbow_conf = { 'ctermfgs': ['darkblue', 'darkred', 'darkgreen', 'darkmagenta', 'darkcyan'] }
|
||||
|
||||
|
||||
" TELESCOPE
|
||||
|
||||
" Set up fzf for telescope (requires running make in the fzf directory)
|
||||
lua << EOF
|
||||
require('telescope').load_extension('fzf')
|
||||
EOF
|
||||
|
||||
|
||||
" TREE-SITTER
|
||||
|
||||
" Use tree-sitter to highlight Latex, it's considerably less laggy
|
||||
fu! LatexUseTS()
|
||||
:syntax clear
|
||||
:TSEnableAll highlight
|
||||
:TSBufEnable highlight
|
||||
endfunction
|
||||
autocmd BufNewFile,BufRead *.tex :call LatexUseTS()
|
||||
|
||||
|
||||
" LANGUAGE SERVER
|
||||
|
||||
" Partly from https://github.com/neovim/nvim-lspconfig/blob/master/README.md
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 5b6f6ae30c1cf8fceefe08a9bcf799870558a878
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d742fd9c4a311ea9351eebef4c91e50d5960dd1e
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 8ec164b541327202e5e74f99bcc5fe5845720e18
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 76120285f88c1becb5728695f6df77c545437c53
|
|
@ -24,6 +24,8 @@ bind P paste-buffer
|
|||
# https://unix.stackexchange.com/questions/101949
|
||||
bind % split -h -c "#{pane_current_path}"
|
||||
|
||||
set-option -g default-terminal "screen-256color"
|
||||
|
||||
set -sg escape-time 0
|
||||
set -g mouse on
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -63,7 +63,7 @@ _device="usbutils"
|
|||
_monitor="bmon htop"
|
||||
_net="curl wget git aerc asciinema lynx weechat"
|
||||
_crypto="gnupg2 outils minisign"
|
||||
_shell="fish-shell lolcat-c tmux xxd neovim"
|
||||
_shell="fish-shell lolcat-c tmux xxd neovim tree-sitter-devel"
|
||||
_tools="bsdtar fd lowdown p7zip parallel ripgrep ugrep stow execline s6 fswatch moreutils"
|
||||
_boxes="toybox toybox.static busybox"
|
||||
_void="vsv xtools fuzzypkg graphviz"
|
||||
|
|
|
@ -2,20 +2,16 @@
|
|||
"layer": "top", // Waybar at top layer
|
||||
"height": 25, // Waybar height (to be removed for auto height)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/media", "tray"],
|
||||
"modules-left": ["custom/media", "tray", "wlr/taskbar"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["idle_inhibitor", "sndio",
|
||||
"pulseaudio",
|
||||
"network", "cpu", "memory", "temperature", "backlight", "battery", "custom/keyboard_layout", "clock"],
|
||||
// Modules configuration
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": false,
|
||||
"all-outputs": true
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
"wlr/taskbar" : {
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close"
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
|
|
|
@ -77,6 +77,7 @@ binding_mute = KEY_MUTE
|
|||
binding_screenshot = KEY_PRINT
|
||||
binding_screenshot_interactive = <shift> KEY_PRINT
|
||||
binding_terminal = <super> KEY_ENTER
|
||||
binding_terminal2 = <super> <shift> KEY_ENTER
|
||||
command_0 = nwggrid
|
||||
command_1 = swaylock
|
||||
command_launcher = nwgdmenu
|
||||
|
@ -89,7 +90,7 @@ command_mute = pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
|||
command_screenshot = grim $(date '+%F_%T').webp
|
||||
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
|
||||
command_terminal = footclient
|
||||
command_terminal2 = foot
|
||||
command_terminal2 = foot --font "IBM Plex Mono:size=14, DejaVu Sans Mono:size=15"
|
||||
command_volume_down = pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
command_volume_up = pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
build
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/execlineb -P
|
||||
hittpd -p 2024 build/
|
||||
# add build/ symlink to glowing bear directory
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/execlineb -P
|
||||
tryexec
|
||||
{ /usr/libexec/polkit-gnome-authentication-agent-1 }
|
||||
tryexec
|
||||
{ /usr/lib/libexec/polkit-kde-authentication-agent-1 }
|
||||
sleep 100
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/execlineb -P
|
||||
importas -i dir XDG_RUNTIME_DIR
|
||||
foreground { mkdir -p ${dir}/ssh }
|
||||
ssh-agent -a ${dir}/ssh/agent -D
|
||||
ssh-agent -a ${dir}/ssh/agent -t 7200 -D
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/execlineb -P
|
||||
/usr/libexec/xdg-document-portal -r
|
|
@ -0,0 +1 @@
|
|||
1000
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/execlineb -P
|
||||
/usr/libexec/xdg-permission-store -r
|
Loading…
Reference in New Issue