~andreafeletto/dotfiles

277a3967ffc3f4999a6868db1388f64d6821eff5 — Andrea Feletto 2 months ago 956bc6e
update
4 files changed, 23 insertions(+), 108 deletions(-)

M packages
M sxhkd/.config/sxhkd/sxhkdrc
M sxiv/.config/sxiv/exec/key-handler
M x11/.xinitrc
M packages => packages +7 -74
@@ 3,9 3,9 @@
yay

# login
kmscon
kmscon-patched-git
greetd
greetd-tuigreet
greetd-tuigreet-bin

# desktop
sxhkd


@@ 43,19 43,14 @@ gwaterfall
chromium
firefox
w3m
onionshare
tor

# engineering
archimedes
celestia
datamash
freecad
gramps
octave
openscad
osm-gps-map
sagemath
scilab-bin
stellarium
xcircuit

# Jupyter


@@ 90,6 85,7 @@ pulseaudio
pulseaudio-alsa
xf86-video-intel
intel-gpu-tools
intel-media-sdk

# bluetooth
blueman


@@ 160,42 156,6 @@ shellcheck
shfmt
vint

# vim
vim
neovim
neovim-coc
neovim-coc-clangd-git
neovim-coc-css-git
neovim-coc-dictionary-git
neovim-coc-emoji-git
neovim-coc-html-git
neovim-coc-json-git
neovim-coc-sh-git
neovim-coc-tag-git
neovim-coc-tsserver-git
neovim-coc-vimlsp-git
neovim-coc-word-git
neovim-coc-yaml-git
nodejs-neovim
ruby-neovim
vim-airline
vim-codi-git
vim-editorconfig
vim-fugitive
vim-fzf-git
vim-goyo-git
vim-gruvbox-community
vim-limelight-git
vim-man-git
vim-markdown-toc-git
vim-multiple-cursors-git
vim-pandoc-git
vim-pandoc-syntax-git
vim-spell-it
vim-surround
vim-undotree
vim-visual-multi

# vis
vis
vis-cscope-git


@@ 209,14 169,8 @@ vis-toggler-git
# prose
pandoc
pandoc-crossref
pandoc-plot-bin
texlive-bibtexextra
texlive-bin
texlive-core
texlive-fontsextra
texlive-formatsextra
texlive-latexextra
texlive-science
scdoc
texlive-most

# system
cronie


@@ 229,13 183,10 @@ pacutils
curl
iproute2
networkmanager
nmap
wget

# media playback
mpd
mpv
ncmpcpp
pulsemixer

# image/video/3d


@@ 253,37 204,25 @@ autopep8
flake8
python-arrow
python-beautifulsoup4
python-certifi
python-colorama
python-cryptography
python-dask
python-holoviews
python-html5lib
python-jedi
python-lxml
python-markdown
python-matplotlib
python-numpy
python-pandas
python-panel
python-phonenumbers
python-pip
python-progress
python-pygments
python-pylint
python-pynvim
python-pysocks
python-requests
python-requests-futures
python-scikit-learn
python-scipy
python-seaborn
python-selenium
python-soupsieve
python-statsmodels
python-stem
python-telegram-bot
python-torrequest
python-virtualenv
python-xlrd
python2-pynvim


@@ 294,13 233,7 @@ perl-log-log4perl

# games
0ad
abuse
astromenace
bsd-games
curseofwar
frogatto
gnujump
mari0
picomc
teeworlds


M sxhkd/.config/sxhkd/sxhkdrc => sxhkd/.config/sxhkd/sxhkdrc +3 -3
@@ 21,11 21,11 @@ ctrl + super + space
    slock

{XF86MonBrightnessDown,XF86MonBrightnessUp}
    xbacklight {-dec,-inc} 5; cstatus -r
    xbacklight {-dec,-inc} 5; pkill -USR1 cstatus
{XF86AudioLowerVolume,XF86AudioRaiseVolume}
    pulsemixer --unmute --change-volume {-,+}5; cstatus -r
    pulsemixer --unmute --change-volume {-,+}5; pkill -USR1 cstatus
XF86AudioMute
    pulsemixer --toggle-mute; cstatus -r
    pulsemixer --toggle-mute; pkill -USR1 cstatus

{XF86AudioPrev,XF86AudioNext,XF86AudioPlay}
    mpc {prev,next,toggle}

M sxiv/.config/sxiv/exec/key-handler => sxiv/.config/sxiv/exec/key-handler +12 -23
@@ 1,25 1,14 @@
#!/bin/bash
#!/bin/sh

while read file
do
    fullpath="$(pwd)/$file"
    case "$1" in
    "w")
        feh --bg-max "$file"
        notify-send -i "$file" "Wallpaper changed." ;;
    "r")
        convert -rotate 90 "$file" "$file" ;;
    "R")
        convert -rotate -90 "$file" "$file" ;;
    "f")
        convert -flop "$file" "$file" ;;
    "y")
        echo -n "$file" | xclip -selection clipboard &&
        notify-send "$file copied to clipboard" & ;;
    "Y")
        echo -n "$fullpath" | xclip -selection clipboard &&
        notify-send "$fullpath copied to clipboard" & ;;
    "d")
        [ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
    esac
while read file; do
	case "$1" in
	'r')
		convert -rotate 90 "$file" "$file" ;;
	'R')
		convert -rotate -90 "$file" "$file" ;;
	'f')
		convert -flop "$file" "$file" ;;
	'y')
		printf '%s' "$file" | xclip -selection clipboard ;;
	esac
done

M x11/.xinitrc => x11/.xinitrc +1 -8
@@ 1,22 1,15 @@
#!/bin/sh

# disable bell sound
xset b off

# autorepeat:
# delay before autorepeat = 200ms
# repeat rate = 50ms
xset r rate 200 50

setxkbmap -layout it
setxkbmap -option "caps:swapescape"

sxhkd &
cstatus -d 2>/dev/null &
cstatus &
nm-applet &
udiskie --automount --no-notify --smart-tray &
twmnd >/dev/null &

jupyter lab 2> "$HOME/.local/share/jupyter/log" &

exec dwm