summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL/arch-install5
-rw-r--r--firefox/.mozilla/firefox/42069.arkenfox/user.js12
-rw-r--r--neovim/.config/nvim/confs/coc.vim37
-rw-r--r--neovim/.config/nvim/confs/completion.vim54
-rw-r--r--neovim/.config/nvim/confs/generic.vim1
-rw-r--r--neovim/.config/nvim/confs/lualine.vim11
-rw-r--r--neovim/.config/nvim/confs/telescope.vim4
-rw-r--r--neovim/.config/nvim/confs/treesitter.vim10
-rw-r--r--neovim/.config/nvim/init.vim36
-rw-r--r--newsboat/.config/newsboat/urls2
-rw-r--r--picom/.config/picom/picom.conf12
-rw-r--r--suckless/.config/suckless/st/config.h3
12 files changed, 63 insertions, 124 deletions
diff --git a/INSTALL/arch-install b/INSTALL/arch-install
index cfaab05..f6ae2f9 100644
--- a/INSTALL/arch-install
+++ b/INSTALL/arch-install
@@ -19,7 +19,7 @@ sudo cp -rf ROOT/issue/issue /etc
sudo cp -rf ROOT/hosts/hosts /etc
# Install Required Programs
-sudo pacman --needed -Syu stow opendoas pamixer zsh ncmpcpp xwallpaper newsboat vifm zathura maim texlive-most ffmpeg lxappearance ntp redshift numlockx htop xclip imagemagick transmission-gtk neovim mpv mpd mpc sxiv zathura-pdf-mupdf zathura-ps automake lzop curl make bc android-tools gimp kdenlive frei0r-plugins inkscape arandr shellcheck arc-gtk-theme ctags unoconv nodejs yarn p7zip papirus-icon-theme valgrind gdb light pulsemixer pavucontrol xorg-server xorg-xinit go qt5ct ncurses gtk3 gst-plugins-base-libs hplip simple-scan system-config-printer gst-plugins-good grc gst-libav clang breeze net-tools ffmpegthumbnailer webkit2gtk torbrowser-launcher neofetch cmatrix asciiquarium npm python python-pip pass screenkey pipewire-pulse ueberzug yt-dlp python-pywal alsa-utils picom virt-manager qemu-desktop wireplumber foremost testdisk swtpm lxsession linux-hardened-headers v4l2loopback-dkms obs-studio tor-openrc firefox keepassxc
+sudo pacman --needed -Syu stow opendoas pamixer zsh ncmpcpp xwallpaper newsboat vifm zathura maim texlive-most ffmpeg lxappearance ntp redshift numlockx htop xclip imagemagick transmission-gtk neovim mpv mpd mpc sxiv zathura-pdf-mupdf zathura-ps automake curl make bc android-tools gimp kdenlive inkscape arandr shellcheck arc-gtk-theme ctags unoconv nodejs p7zip papirus-icon-theme valgrind gdb light pulsemixer pavucontrol xorg-server xorg-xinit go gtk3 gst-plugins-base-libs hplip simple-scan system-config-printer gst-plugins-good grc gst-libav clang breeze net-tools ffmpegthumbnailer webkit2gtk torbrowser-launcher neofetch cmatrix asciiquarium npm python python-pip pass screenkey pipewire-pulse ueberzug yt-dlp python-pywal alsa-utils picom virt-manager qemu-desktop wireplumber foremost testdisk swtpm lxsession linux-hardened-headers v4l2loopback-dkms obs-studio firefox keepassxc
# Adding user to groups
doas usermod -aG tor,video "$USER"
@@ -46,8 +46,7 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
## Installing Modules
nvim -c PlugInstall
-cd ~/.config/nvim/plugged/vim-hexokinase && make hexokinase
-npm -g install clangd pyright typescript typescript-language-server vscode-langservers-extracted --prefix ~/.local/share/npm
+nvim -c CocInstall coc-marketplace coc-tsserver coc-pyright coc-java coc-html coc-css coc-clangd
# Setup Git account
printf "Do yo want to setup Git account? [Y/n]" && read -r GIT
diff --git a/firefox/.mozilla/firefox/42069.arkenfox/user.js b/firefox/.mozilla/firefox/42069.arkenfox/user.js
index dccfb0c..f7f70bd 100644
--- a/firefox/.mozilla/firefox/42069.arkenfox/user.js
+++ b/firefox/.mozilla/firefox/42069.arkenfox/user.js
@@ -314,11 +314,13 @@ user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF]
* [3] https://support.mozilla.org/en-US/kb/firefox-dns-over-https
* [4] https://www.eff.org/deeplinks/2020/12/dns-doh-and-odoh-oh-my-year-review-2020 ***/
// user_pref("network.trr.mode", 5);
-user_pref("network.proxy.no_proxies_on", ".discord.com,www.discord.com,discord.com/*");
-user_pref("network.proxy.socks", "localhost");
-user_pref("network.proxy.socks_port", 9050);
-user_pref("network.proxy.socks_version", 5);
-user_pref("network.proxy.type", 1);
+/* TOR Proxy config
+ * user_pref("network.proxy.no_proxies_on", ".discord.com,www.discord.com,discord.com/*,raspberrypi,raspberrypi/*");
+ * user_pref("network.proxy.socks", "localhost");
+ * user_pref("network.proxy.socks_port", 9050);
+ * user_pref("network.proxy.socks_version", 5);
+ * user_pref("network.proxy.type", 1);
+ */
/*** [SECTION 0800]: LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS ***/
user_pref("_user.js.parrot", "0800 syntax error: the parrot's ceased to be!");
diff --git a/neovim/.config/nvim/confs/coc.vim b/neovim/.config/nvim/confs/coc.vim
new file mode 100644
index 0000000..033d490
--- /dev/null
+++ b/neovim/.config/nvim/confs/coc.vim
@@ -0,0 +1,37 @@
+" Use tab for trigger completion with characters ahead and navigate.
+" NOTE: There's always complete item selected by default, you may want to enable
+" no select by `"suggest.noselect": true` in your configuration file.
+" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
+" other plugin before putting this into your config.
+inoremap <silent><expr> <TAB>
+ \ coc#pum#visible() ? coc#pum#next(1) :
+ \ CheckBackspace() ? "\<Tab>" :
+ \ coc#refresh()
+inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
+
+" Make <CR> to accept selected completion item or notify coc.nvim to format
+" <C-g>u breaks current undo, please make your own choice.
+inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
+ \: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
+
+function! CheckBackspace() abort
+ let col = col('.') - 1
+ return !col || getline('.')[col - 1] =~# '\s'
+endfunction
+
+" Use K to show documentation in preview window.
+nnoremap <silent> H :call ShowDocumentation()<CR>
+
+function! ShowDocumentation()
+ if CocAction('hasProvider', 'hover')
+ call CocActionAsync('doHover')
+ else
+ call feedkeys('H', 'in')
+ endif
+endfunction
+
+" Highlight the symbol and its references when holding the cursor.
+autocmd CursorHold * silent call CocActionAsync('highlight')
+
+" Symbol renaming.
+nmap <leader>rn <Plug>(coc-rename)
diff --git a/neovim/.config/nvim/confs/completion.vim b/neovim/.config/nvim/confs/completion.vim
deleted file mode 100644
index 3f4eda4..0000000
--- a/neovim/.config/nvim/confs/completion.vim
+++ /dev/null
@@ -1,54 +0,0 @@
-lua << EOF
-local capabilities = vim.lsp.protocol.make_client_capabilities()
-capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
-
-local lspconfig = require('lspconfig')
-
--- Enable some language servers with the additional completion capabilities offered by nvim-cmp
-local servers = { 'clangd', 'pyright', 'tsserver', 'html', 'cssls' }
-for _, lsp in ipairs(servers) do
- lspconfig[lsp].setup {
- -- on_attach = my_custom_on_attach,
- capabilities = capabilities,
- }
- end
-
- -- local pid = vim.fn.getpid()
- -- local omnisharp_bin = "/home/rafael/.local/share/omnisharp/run"
- --
- -- require'lspconfig'.omnisharp.setup{
- -- cmd = { omnisharp_bin, "--languageserver" , "--hostPID", tostring(pid) };
- -- }
-
- -- nvim-cmp setup
- local cmp = require 'cmp'
- cmp.setup({
- snippet = {
- expand = function(args)
- vim.fn["vsnip#anonymous"](args.body)
- end,
- },
- mapping = cmp.mapping.preset.insert({
- ['<C-b>'] = cmp.mapping.scroll_docs(-4),
- ['<C-f>'] = cmp.mapping.scroll_docs(4),
- ['<C-Space>'] = cmp.mapping.complete(),
- ['<C-e>'] = cmp.mapping.abort(),
- ['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
- }),
- sources = {
- { name = 'nvim_lsp' },
- { name = 'vsnip' },
- }, {
- { name = 'buffer' },
- }
- })
-
- cmp.setup.cmdline(':', {
- mapping = cmp.mapping.preset.cmdline(),
- sources = cmp.config.sources({
- { name = 'path' }
- }, {
- { name = 'cmdline' }
- })
- })
-EOF
diff --git a/neovim/.config/nvim/confs/generic.vim b/neovim/.config/nvim/confs/generic.vim
index f241bfd..db4bf57 100644
--- a/neovim/.config/nvim/confs/generic.vim
+++ b/neovim/.config/nvim/confs/generic.vim
@@ -15,6 +15,7 @@ set relativenumber
set termguicolors
set complete=.,w,b,u,t
set completeopt=menuone,noselect
+set laststatus=1
" Leader Key
let mapleader="/"
diff --git a/neovim/.config/nvim/confs/lualine.vim b/neovim/.config/nvim/confs/lualine.vim
deleted file mode 100644
index b348e75..0000000
--- a/neovim/.config/nvim/confs/lualine.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-lua << EOF
- require('lualine').setup
- {
- options =
- {
- section_separators = { left = '', right = '' },
- component_separators = { left = '', right = '' },
- theme = 'pywal'
- }
- }
-EOF
diff --git a/neovim/.config/nvim/confs/telescope.vim b/neovim/.config/nvim/confs/telescope.vim
deleted file mode 100644
index 46efcf3..0000000
--- a/neovim/.config/nvim/confs/telescope.vim
+++ /dev/null
@@ -1,4 +0,0 @@
-nnoremap <leader>ff <cmd>Telescope find_files<cr>
-nnoremap <leader>fg <cmd>Telescope live_grep<cr>
-nnoremap <leader>fb <cmd>Telescope buffers<cr>
-nnoremap <leader>fh <cmd>Telescope help_tags<cr>
diff --git a/neovim/.config/nvim/confs/treesitter.vim b/neovim/.config/nvim/confs/treesitter.vim
deleted file mode 100644
index 74718e1..0000000
--- a/neovim/.config/nvim/confs/treesitter.vim
+++ /dev/null
@@ -1,10 +0,0 @@
-lua <<EOF
- require'nvim-treesitter.configs'.setup
- {
- highlight =
- {
- enable = true,
- additional_vim_regex_highlighting = false,
- },
- }
-EOF
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim
index 38c9ee9..3bde524 100644
--- a/neovim/.config/nvim/init.vim
+++ b/neovim/.config/nvim/init.vim
@@ -1,39 +1,19 @@
" Plugin Imports
call plug#begin('~/.config/nvim/plugged')
-" Completion
-Plug 'neovim/nvim-lspconfig'
-Plug 'hrsh7th/cmp-nvim-lsp'
-Plug 'hrsh7th/cmp-buffer'
-Plug 'hrsh7th/cmp-path'
-Plug 'hrsh7th/cmp-cmdline'
-Plug 'hrsh7th/nvim-cmp'
-" Snippets
-Plug 'hrsh7th/cmp-vsnip'
-Plug 'hrsh7th/vim-vsnip'
-" LuaLine
-Plug 'nvim-lualine/lualine.nvim'
-Plug 'kyazdani42/nvim-web-devicons'
-" TreeSitter
-Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+" CoC
+Plug 'neoclide/coc.nvim', {'branch': 'release'}
" GitGutter
Plug 'airblade/vim-gitgutter'
" GitMessenger
Plug 'rhysd/git-messenger.vim'
-" Telescope
-Plug 'nvim-lua/plenary.nvim'
-Plug 'nvim-telescope/telescope.nvim'
" NVimTree
Plug 'kyazdani42/nvim-web-devicons'
Plug 'kyazdani42/nvim-tree.lua'
" WhichKey
Plug 'folke/which-key.nvim'
-" VimSneak
-Plug 'justinmk/vim-sneak'
-" VimIlluminate
-Plug 'RRethy/vim-illuminate'
" Hexokinase
-Plug 'RRethy/vim-hexokinase'
+Plug 'RRethy/vim-hexokinase', { 'do': 'make hexokinase' }
" AutoPairs
Plug 'jiangmiao/auto-pairs'
" TagList
@@ -44,18 +24,12 @@ call plug#end()
" Configurations
" Generic
source ~/.config/nvim/confs/generic.vim
-" Completion
-source ~/.config/nvim/confs/completion.vim
-" LuaLine
-source ~/.config/nvim/confs/lualine.vim
-" Treesitter
-source ~/.config/nvim/confs/treesitter.vim
+" CoC
+source ~/.config/nvim/confs/coc.vim
" GitGutter
source ~/.config/nvim/confs/gitgutter.vim
" GitMessenger
source ~/.config/nvim/confs/gitmessenger.vim
-" Telescope
-source ~/.config/nvim/confs/telescope.vim
" NVimTree
source ~/.config/nvim/confs/nvimtree.vim
" WhichKey
diff --git a/newsboat/.config/newsboat/urls b/newsboat/.config/newsboat/urls
index 2bcd9e9..62963a0 100644
--- a/newsboat/.config/newsboat/urls
+++ b/newsboat/.config/newsboat/urls
@@ -59,6 +59,7 @@ https://www.pine64.org/feed/ "~Pine64"
https://stallman.org/rss/rss.xml "~Richard Stallman"
https://www.rooshv.com/feed "~Roosh Valizadeh"
https://www.rtp.pt/noticias/rss "~RTP"
+https://www.samueltaylor.org/articles/feed.xml "~Samuel Taylor"
https://standardebooks.org/feeds/atom/new-releases "~Standard Ebooks"
https://suckless.org/atom.xml "~Suckless"
https://feeds.feedburner.com/TheHackersNews "~The Hacker News"
@@ -73,6 +74,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCRjSO-juFtngAeJGJRMdIZw "~G
https://www.youtube.com/feeds/videos.xml?channel_id=UC3s0BtrBJpwNDaflRSoiieQ "~Hak5"
https://www.youtube.com/feeds/videos.xml?channel_id=UCk9NvmsPBC3lTn_L9kFaylA "~iBSD"
https://www.youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA "~Kai Hendry"
+https://twitchrss.appspot.com/vod/kbakha "~kbakha"
https://www.youtube.com/feeds/videos.xml?channel_id=UCf93fPKwotph47H3_KDcRyg "~Kris Occhipinti"
https://odysee.com/$/rss/@metalx1000:c "~Kris Occhipinti Odysee"
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke Smith"
diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf
index 391877a..9c58ed9 100644
--- a/picom/.config/picom/picom.conf
+++ b/picom/.config/picom/picom.conf
@@ -143,7 +143,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
-corner-radius = 0
+corner-radius = 5
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
@@ -158,18 +158,18 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information.
-# blur-method =
+blur-method = "dual_kawase"
# blur-size = 12
#
# blur-deviation = false
#
-# blur-strength = 5
+blur-strength = 3
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
-# blur-background = false
+blur-background = true
# Blur background of windows when the window frame is not opaque.
# Implies:
@@ -209,8 +209,8 @@ blur-background-exclude = [
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
-# backend = "glx"
-backend = "xrender";
+backend = "glx"
+# backend = "xrender";
# Enable/disable VSync.
# vsync = false
diff --git a/suckless/.config/suckless/st/config.h b/suckless/.config/suckless/st/config.h
index 0517df6..e134886 100644
--- a/suckless/.config/suckless/st/config.h
+++ b/suckless/.config/suckless/st/config.h
@@ -110,6 +110,9 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 8;
+/* bg opacity */
+float alpha = 0.8;
+
#include "colors.h"
/*