D alacritty/.config/alacritty/alacritty.yml => alacritty/.config/alacritty/alacritty.yml +0 -69
@@ 1,69 0,0 @@
-
-window:
- padding:
- x: 4
- y: 4
-
- title: Alacritty
-
- class:
- instance: Alacritty
- general: Alacritty
-
-scrolling:
- # Maximum number of lines in the scrollback buffer
- history: 10000
-
- # Number of lines the viewport will move for every line scrolled
- multiplier: 1
-
-font:
- size: 7.0
-
- offset:
- x: 1
- y: 1
-
-# Colors (Dracula)
-colors:
- primary:
- background: '0x000000'
- foreground: '0xeeeeee'
-
- selection:
- text: '0xeeeeee'
- background: '0x555555'
-
- normal:
- black: '0x282a36'
- red: '0xf07178'
- green: '0xc3e88d'
- yellow: '0xffcb6b'
- blue: '0x82aaff'
- magenta: '0xc792ea'
- cyan: '0x89ddff'
- white: '0xd0d0d0'
-
- bright:
- black: '0x434758'
- red: '0xff8b92'
- green: '0xddffa7'
- yellow: '0xffe585'
- blue: '0x9cc4ff'
- magenta: '0xe1acff'
- cyan: '0xa3f7ff'
- white: '0xffffff'
-
-mouse:
- url:
- launcher:
- program: xdg-open
-
-key_bindings:
- - { key: V, mods: Alt, action: Paste }
- - { key: C, mods: Alt, action: Copy }
- - { key: K, mods: Alt|Shift, action: IncreaseFontSize }
- - { key: J, mods: Alt|Shift, action: DecreaseFontSize }
- - { key: K, mods: Alt, action: ScrollLineUp }
- - { key: J, mods: Alt, action: ScrollLineDown }
-
A amfora/.config/amfora/config.toml => amfora/.config/amfora/config.toml +175 -0
@@ 0,0 1,175 @@
+
+[a-general]
+home = 'gemini://andreafeletto.com'
+auto_redirect = false
+http = 'default'
+search = 'gemini://geminispace.info/search'
+color = true
+ansi = true
+bullets = true
+show_link = false
+left_margin = 0.15
+max_width = 80
+downloads = ''
+page_max_size = 2097152 # 2 MiB
+page_max_time = 10
+emoji_favicons = true
+scrollbar = 'never'
+
+[keybindings]
+bind_tab1 = 'Alt-1'
+bind_tab2 = 'Alt-2'
+bind_tab3 = 'Alt-3'
+bind_tab4 = 'Alt-4'
+bind_tab5 = 'Alt-5'
+bind_tab6 = 'Alt-6'
+bind_tab7 = 'Alt-7'
+bind_tab8 = 'Alt-8'
+bind_tab9 = 'Alt-9'
+bind_tab0 = 'Alt-0'
+
+bind_link1 = '1'
+bind_link2 = '2'
+bind_link3 = '3'
+bind_link4 = '4'
+bind_link5 = '5'
+bind_link6 = '6'
+bind_link7 = '7'
+bind_link8 = '8'
+bind_link9 = '9'
+bind_link0 = '0'
+
+bind_back = 'h'
+bind_forward = 'l'
+bind_prev_tab = 'H'
+bind_next_tab = 'L'
+
+bind_reload = 'R'
+bind_bottom = '/'
+bind_edit = 'e'
+bind_new_tab = 't'
+bind_close_tab = 'T'
+bind_quit = 'Q'
+bind_help = '?'
+
+bind_home = 'Ctrl-H'
+bind_bookmarks = 'b'
+bind_add_bookmark = 'n'
+
+bind_sub = 's'
+bind_add_sub = 'Ctrl-S'
+bind_save = 'S'
+
+[url-handlers]
+other = 'xdg-open'
+
+[[mediatype-handlers]]
+cmd = ['mpv', '-']
+types = ["audio", "video"]
+stream = true
+
+[cache]
+max_size = 0 # no limit
+max_pages = 30
+timeout = 300
+
+[proxies]
+# Allows setting a Gemini proxy for different schemes.
+# The settings are similar to the url-handlers section above.
+# E.g. to open a gopher page by connecting to a Gemini proxy server:
+# gopher = "example.com:123"
+#
+# Port 1965 is assumed if no port is specified.
+#
+# NOTE: These settings override any external handlers specified in
+# the url-handlers section.
+#
+# Note that HTTP and HTTPS are treated as separate protocols here.
+
+
+[subscriptions]
+popup = true
+update_interval = 300
+workers = 3
+entries_per_page = 20
+
+
+[theme]
+# This section is for changing the COLORS used in Amfora.
+# These colors only apply if 'color' is enabled above.
+# Colors can be set using a W3C color name, or a hex value such as "#ffffff".
+
+# Note that not all colors will work on terminals that do not have truecolor support.
+# If you want to stick to the standard 16 or 256 colors, you can get
+# a list of those here: https://jonasjacek.github.io/colors/
+# DO NOT use the names from that site, just the hex codes.
+
+# Definitions:
+# bg = background
+# fg = foreground
+# dl = download
+# btn = button
+# hdg = heading
+# bkmk = bookmark
+# modal = a popup window/box in the middle of the screen
+
+# EXAMPLES:
+# hdg_1 = "green"
+# hdg_2 = "#5f0000"
+
+# Available keys to set:
+
+# bg: background for pages, tab row, app in general
+# tab_num: The number/highlight of the tabs at the top
+# tab_divider: The color of the divider character between tab numbers: |
+# bottombar_label: The color of the prompt that appears when you press space
+# bottombar_text: The color of the text you type
+# bottombar_bg
+# scrollbar: The scrollbar that appears on the right for long pages
+
+# hdg_1
+# hdg_2
+# hdg_3
+# amfora_link: A link that Amfora supports viewing. For now this is only gemini://
+# foreign_link: HTTP(S), Gopher, etc
+# link_number: The silver number that appears to the left of a link
+# regular_text: Normal gemini text, and plaintext documents
+# quote_text
+# preformatted_text
+# list_text
+
+# btn_bg: The bg color for all modal buttons
+# btn_text: The text color for all modal buttons
+
+# dl_choice_modal_bg
+# dl_choice_modal_text
+# dl_modal_bg
+# dl_modal_text
+# info_modal_bg
+# info_modal_text
+# error_modal_bg
+# error_modal_text
+# yesno_modal_bg
+# yesno_modal_text
+# tofu_modal_bg
+# tofu_modal_text
+# subscription_modal_bg
+# subscription_modal_text
+
+# input_modal_bg
+# input_modal_text
+# input_modal_field_bg: The bg of the input field, where you type the text
+# input_modal_field_text: The color of the text you type
+
+# bkmk_modal_bg
+# bkmk_modal_text
+# bkmk_modal_label
+# bkmk_modal_field_bg
+# bkmk_modal_field_text
+
+[auth]
+[auth.certs]
+# "example.com" = 'mycert.crt'
+[auth.keys]
+# "example.com" = 'mycert.key'
+
M bash/.bash_aliases => bash/.bash_aliases +1 -1
@@ 5,7 5,7 @@ alias sudo='sudo '
# Add Verbosity
alias rm='rm -v'
-alias mv='mv -v'
+alias mv='mv -nv'
alias mkdir='mkdir -pv'
alias cp='cp -rv'
alias ln='ln -v'
A etc/gemrc => etc/gemrc +6 -0
@@ 0,0 1,6 @@
+# Read about the gemrc format at http://guides.rubygems.org/command-reference/#gem-environment
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+# gem: --user-install
+{}
M git/.config/git/config => git/.config/git/config +4 -0
@@ 6,4 6,8 @@
[pull]
rebase = false
[sendemail]
+ smtpserver = smtp.migadu.com
+ smtpuser = andrea@andreafeletto.com
+ smtpencryption = tls
+ smtpserverport = 587
annotate = yes
M install => install +1 -0
@@ 109,6 109,7 @@ fi
if [ -n "$Pacman" ]; then
Title 'Installing ABR and AUR Packages'
grep -v '^$\|^#' packages | yay -Syu --needed - \
+ --asexplicit \
--answerclean None \
--answerdiff None \
--answerupgrade ''
D latex/.config/latex/template.tex => latex/.config/latex/template.tex +0 -16
@@ 1,16 0,0 @@
-\documentclass[twoside,a4paper]{article}
-
-\usepackage{amsmath}
-\usepackage{amssymb}
-\usepackage{esint}
-\usepackage{textcomp}
-
-\title{<++>}
-\author{<++>}
-\date{<++>}
-
-\begin{document}
-
-<++>
-
-\end{document}
D neovim/.config/nvim/coc-settings.json => neovim/.config/nvim/coc-settings.json +0 -3
@@ 1,3 0,0 @@
-{
- "diagnostic.displayByAle": true
-}
D neovim/.config/nvim/init.vim => neovim/.config/nvim/init.vim +0 -137
@@ 1,137 0,0 @@
-
-scriptencoding utf-8
-
-let mapleader = ' '
-syntax on
-
-set number relativenumber
-set nohlsearch
-set hidden
-set noerrorbells
-set tabstop=4 softtabstop=4
-set shiftwidth=4
-set expandtab
-set smartindent
-set nowrap
-set nofoldenable
-set smartcase
-set noswapfile
-set nobackup
-set undodir=~/.local/share/vim
-set undofile
-set incsearch
-set termguicolors
-set scrolloff=15
-
-set path+=**
-set wildmenu
-set wildmode=longest,list,full
-set wildignore+=**/node_modules/**
-set wildignore+=**/.git/**
-
-set updatetime=50
-
-set clipboard+=unnamedplus
-nnoremap c "_c
-
-set colorcolumn=80
-highlight ColorColumn ctermbg=0
-
-colorscheme gruvbox
-set background=dark
-
-noremap <C-h> :wincmd h<CR>
-noremap <C-j> :wincmd j<CR>
-noremap <C-k> :wincmd k<CR>
-noremap <C-l> :wincmd l<CR>
-
-noremap <leader>c :write <bar> !compiler %<CR>
-noremap <leader>p :!opout %<CR><CR>
-
-nnoremap <leader>u :UndotreeShow<CR>
-nnoremap <leader>e :Vexplore <bar> :vertical resize 30<CR>
-nnoremap <leader>f :Files<CR>
-
-nnoremap <leader>gs :Git<CR>
-
-"" ____ ___ ____
-"" / ___/ _ \ / ___|
-"" | | | | | | |
-"" | |__| |_| | |___
-"" \____\___/ \____|
-""
-
-function! s:check_back_space() abort
- let col = col('.') - 1
- return !col || getline('.')[col - 1] =~# '\s'
-endfunction
-
-inoremap <silent><expr> <TAB>
- \ pumvisible() ? "\<C-n>" :
- \ <SID>check_back_space() ? "\<TAB>" :
- \ coc#refresh()
-
-inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
-
-inoremap <silent><expr> <c-space> coc#refresh()
-
-nmap <silent> gd <Plug>(coc-definition)
-nmap <silent> gy <Plug>(coc-type-definition)
-nmap <silent> gi <Plug>(coc-implementation)
-nmap <silent> gr <Plug>(coc-references)
-
-augroup latex
- autocmd! FileType tex setlocal tabstop=2 shiftwidth=2
-augroup END
-
-"" ____ _____ _____
-"" / ___|/ _ \ \ / / _ \
-"" | | _| | | \ V / | | |
-"" | |_| | |_| || || |_| |
-"" \____|\___/ |_| \___/
-""
-
-let g:goyo_width = 70
-
-nnoremap <silent> <leader>cc :Goyo<CR>
-
-augroup goyogroup
- autocmd! User GoyoEnter Limelight
- autocmd! User GoyoLeave Limelight!
-augroup END
-
-"" _____ __________
-"" | ___|__ / ___|
-"" | |_ / /| |_
-"" | _| / /_| _|
-"" |_| /____|_|
-""
-
-let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
-
-"" ____ _ _ _ ____ ___ ____
-"" | _ \ / \ | \ | | _ \ / _ \ / ___|
-"" | |_) / _ \ | \| | | | | | | | |
-"" | __/ ___ \| |\ | |_| | |_| | |___
-"" |_| /_/ \_\_| \_|____/ \___/ \____|
-""
-
-let g:pandoc#spell#default_langs = ['it', 'en']
-
-"" ____ ___ _ _ ____ _____ _ _
-"" / ___/ _ \| \ | |/ ___| ____| / \ | |
-"" | | | | | | \| | | | _| / _ \ | |
-"" | |__| |_| | |\ | |___| |___ / ___ \| |___
-"" \____\___/|_| \_|\____|_____/_/ \_\_____|
-""
-
-function! ToggleConcealLevel()
- if &conceallevel == 0
- setlocal conceallevel=2
- else
- setlocal conceallevel=0
- endif
-endfunction
-
-nnoremap <leader>tc :call ToggleConcealLevel()<CR>
-
M packages => packages +23 -145
@@ 1,10 1,4 @@
-# package managers
-npm
-python-pip
-rubygems
-yay
-
# login
greetd
greetd-tuigreet-bin
@@ 18,13 12,6 @@ udiskie
network-manager-applet
twmn-git
-# power management
-acpid
-cpupower
-hdparm
-laptop-mode-tools
-nvme-cli
-
# spellcheck
nuspell
hunspell-en_US
@@ 32,35 19,16 @@ hunspell-it
# fonts
ttf-jetbrains-mono
-ttf-symbola
adobe-source-code-pro-fonts
gnu-free-fonts
-gwaterfall
# browsers
+amfora
chromium
firefox
-w3m
-tor
-
-# engineering
-archimedes
-freecad
-octave
-openscad
-xcircuit
# gramps
gramps
-geocode-glib
-postgresql
-python-graphviz
-goocanvas
-
-# Jupyter
-jupyter-gnuplot_kernel
-jupyter-octave_kernel
-jupyterlab
# GTK themes
arc-solid-gtk-theme
@@ 75,45 43,30 @@ xorg-xev
xorg-xinit
xorg-xsetroot
-# wayland
-wlroots
-cage
-
# drivers
-alsa-utils
-mesa
-pulseaudio
-pulseaudio-alsa
xf86-video-intel
-intel-gpu-tools
-intel-media-sdk
-
-# bluetooth
+pipewire
+pipewire-alsa
+pipewire-pulse
+pulseeffects
blueman
bluez
-pulseaudio-bluetooth
+networkmanager
# pdf
zathura
zathura-pdf-mupdf
-ghostscript
-pdfmixtool
-
-# docs
-man-pages
# utility
-bc
-dex
+ffmpeg
fzf
-gource
-graphviz
htop
-neofetch
+man-pages
+pulsemixer
rmtrash
stow
tree
-usbutils
+vis
words
xdg-user-dirs
xdg-utils
@@ 124,55 77,23 @@ cronie
openssh
pacman-contrib
pacutils
+yay
# network
curl
iproute2
-networkmanager
wget
+traceroute
-# media playback
-mpv
-pulsemixer
-
-# image/video/3d
-blender
-feh
-ffmpeg
-gimp
-gthumb
+# media
imagemagick
+mpv
scrot
sxiv
-## _ _ _____ ___ _ ___ _______ __
-## | | | |_ _|_ _| | |_ _|_ _\ \ / /
-## | | | | | | | || | | | | | \ V /
-## | |_| | | | | || |___ | | | | | |
-## \___/ |_| |___|_____|___| |_| |_|
-##
-
-## ____ ____ ___ ____ _____
-## | _ \| _ \ / _ \/ ___|| ____|
-## | |_) | |_) | | | \___ \| _|
-## | __/| _ <| |_| |___) | |___
-## |_| |_| \_\\___/|____/|_____|
-##
-
-# editors
-nano
-vis
-
-# compilers
-pandoc
-pandoc-crossref
-scdoc
-texlive-most
-
# vis plugins
vis-cscope-git
vis-fzf-open-git
-vis-go-git
vis-open_rej-git
vis-pairs-git
vis-smart-backspace-git
@@ 180,64 101,21 @@ vis-spellcheck-git
vis-surround-git
vis-toggler-git
-## ____ ____ ___ ____ ____ _ __ __ __ __ ___ _ _ ____
-## | _ \| _ \ / _ \ / ___| _ \ / \ | \/ | \/ |_ _| \ | |/ ___|
-## | |_) | |_) | | | | | _| |_) | / _ \ | |\/| | |\/| || || \| | | _
-## | __/| _ <| |_| | |_| | _ < / ___ \| | | | | | || || |\ | |_| |
-## |_| |_| \_\\___/ \____|_| \_\/_/ \_\_| |_|_| |_|___|_| \_|\____|
-##
-
-# languages
-deno
-ghc
-git
-nodejs
-perl
-python
-r
-ruby
-rust
-zig
-
-# shell
-bash
+# programming
bash-completion
dash
-dosbox
-
-# perl modules
-perl-term-readline-gnu
-perl-log-log4perl
+git
+python
# python modules
-python-bokeh
python-matplotlib
python-numpy
python-pandas
python-requests
-python-scikit-learn
python-scipy
-python-seaborn
-
-## ____ _ __ __ ___ _ _ ____
-## / ___| / \ | \/ |_ _| \ | |/ ___|
-## | | _ / _ \ | |\/| || || \| | | _
-## | |_| |/ ___ \| | | || || |\ | |_| |
-## \____/_/ \_\_| |_|___|_| \_|\____|
-##
-
-# 32bit libraries
-lib32-alsa-plugins
-lib32-glibc
-lib32-gcc-libs
-lib32-sdl2
-lib32-sdl2_mixer
-lib32-libpulse
-lib32-libcurl-gnutls
-lib32-openssl-1.0
-
-# games
-0ad
-bsd-games
-picomc
-teeworlds
+
+# dict
+dictd
+dict-freedict-eng-ita-bin
+dict-freedict-ita-end-bin
+dict-gcide
M sh/.profile => sh/.profile +1 -1
@@ 108,7 108,7 @@ export PATH
## |_| /____|_|
##
-export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
+export FZF_DEFAULT_COMMAND='find -L -type f -not -path "*/.git/*"'
## _____ _____ _____
## | ___| ___| ___|
M sxhkd/.config/sxhkd/sxhkdrc => sxhkd/.config/sxhkd/sxhkdrc +2 -3
@@ 7,6 7,8 @@ super + e
$TERMINAL
super + a
$TERMINAL -e fff
+super + g
+ $TERMINAL -e amfora
super + o
xdg-open "$(dbrowse)"
super + p
@@ 21,9 23,6 @@ ctrl + super + space
XF86AudioMute
pulsemixer --toggle-mute; pkill -USR1 cstatus
-{XF86AudioPrev,XF86AudioNext,XF86AudioPlay}
- mpc {prev,next,toggle}
-
Print
screenshot
M vis/.config/vis/visrc.lua => vis/.config/vis/visrc.lua +7 -3
@@ 10,9 10,9 @@ fzf.fzf_args = "--height 50% --margin 5% --preview 'bat -f --style plain {}'"
prs = require('plugins/pairs')
prs.autopairs = false
-spell = require('plugins/spellcheck')
-spell.cmd = "nuspell -d %s"
-spell.list_cmd = "nuspell -l -d %s"
+-- spell = require('plugins/spellcheck')
+-- spell.cmd = "nuspell -d %s"
+-- spell.list_cmd = "nuspell -l -d %s"
toggler = require('plugins/vis-toggler')
toggler.config = require('plugins/vis-toggler.defaults')
@@ 47,6 47,10 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win)
vis:command('set tabwidth 4')
vis:command('set expandtab')
end
+ if win.syntax == 'zig' then
+ vis:command('set tabwidth 4')
+ vis:command('set expandtab')
+ end
if win.syntax == 'html' then
vis:command('set tabwidth 2')
vis:command('set expandtab')
D x11/.config/fontconfig/fonts.conf => x11/.config/fontconfig/fonts.conf +0 -11
@@ 1,11 0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
-<alias>
- <family>monospace</family>
- <prefer>
- <family>Fira Code</family>
- <family>Source Code Pro</family>
- </prefer>
- </alias>
-</fontconfig>
M x11/.xinitrc => x11/.xinitrc +1 -1
@@ 9,10 9,10 @@ setxkbmap -option "caps:swapescape"
export _JAVA_AWT_WM_NONREPARENTING='1'
sxhkd &
-cstatus >/dev/null &
nm-applet &
udiskie --automount --no-notify --smart-tray --menu flat &
blueman-applet &
twmnd &
+cstatus >/dev/null &
exec dwm
M xdg/.local/share/applications/filemanager.desktop => xdg/.local/share/applications/filemanager.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=fff
Exec=/usr/local/bin/st -e fff %u
+NoDisplay=true
A xdg/.local/share/applications/gemini.desktop => xdg/.local/share/applications/gemini.desktop +6 -0
@@ 0,0 1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Amfora
+Terminal=true
+Exec=/usr/local/bin/st -e amfora %u
+MimeType=x-scheme-handler/gemini;
M xdg/.local/share/applications/img.desktop => xdg/.local/share/applications/img.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=sxiv
Exec=/usr/bin/sxiv -a %u
+NoDisplay=true
M xdg/.local/share/applications/pdf.desktop => xdg/.local/share/applications/pdf.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=Zathura
Exec=/usr/bin/zathura %u
+NoDisplay=true
M xdg/.local/share/applications/text.desktop => xdg/.local/share/applications/text.desktop +3 -2
@@ 1,4 1,5 @@
[Desktop Entry]
Type=Application
-Name=neovim
-Exec=/usr/local/bin/st -e nvim %u
+Name=vis
+Exec=/usr/local/bin/st -e vis %u
+NoDisplay=true
M xdg/.local/share/applications/torrent.desktop => xdg/.local/share/applications/torrent.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=Torrent
Exec=/usr/bin/env transmission-remote --add %U
+NoDisplay=true
M xdg/.local/share/applications/video.desktop => xdg/.local/share/applications/video.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=Mpv
Exec=/usr/bin/mpv --vo=gpu %u
+NoDisplay=true
M xdg/.local/share/applications/zip.desktop => xdg/.local/share/applications/zip.desktop +1 -0
@@ 2,3 2,4 @@
Type=Application
Name=dzip
Exec=dzip %u
+NoDisplay=true