~andreafeletto/dotfiles

08826ab8993246a1c046f6e0fd8ad71622c97b00 — Andrea Feletto 3 years ago ca99bb1
update
6 files changed, 16 insertions(+), 17 deletions(-)

M amfora/.config/amfora/config.toml
M bash/.bash_aliases
M sh/.local/bin/screenshot
M sh/.profile
M xdg/.config/mimeapps.list
D xdg/.local/share/applications/img.desktop
M amfora/.config/amfora/config.toml => amfora/.config/amfora/config.toml +2 -2
@@ 13,7 13,7 @@ max_width = 80
downloads = ''
page_max_size = 2097152  # 2 MiB
page_max_time = 10
emoji_favicons = true
emoji_favicons = false
scrollbar = 'never'

[keybindings]


@@ 64,7 64,7 @@ bind_save    = 'S'
other = 'xdg-open'

[[mediatype-handlers]]
cmd = ['mpv', '-']
cmd = ['mpv', '--force-window', '-']
types = ["audio", "video"]
stream = true


M bash/.bash_aliases => bash/.bash_aliases +1 -1
@@ 13,7 13,7 @@ alias chown='chown -v'
alias chmod='chmod -v'

# Add Color and Format
alias ll='ls -ahnvL --group-directories-first --color=auto'
alias ll='ls -AlhvLG --time-style='+' --group-directories-first --color=auto'
alias lll='ls -ahnv --group-directories-first --color=auto'
alias grep='grep --color=auto'


M sh/.local/bin/screenshot => sh/.local/bin/screenshot +9 -4
@@ 1,6 1,11 @@
#!/bin/sh

path=$HOME/pictures/screenshots
printf 'saving into: %s\n' "$path" 2>&1
mkdir -pv "$path" 2>&1
scrot --silent --overwrite "$path/$(date +%F-%H-%M-%S).png"
directory="$(xdg-user-dir PICTURES)/screenshots"
mkdir -p "$directory"
filename="$directory/$(date +%F-%H-%M-%S).png"

if [ $# -eq 0 ]; then
	grim "$filename"
else
	grim -g "$(slurp)" "$filename"
fi

M sh/.profile => sh/.profile +1 -2
@@ 2,9 2,8 @@

export EDITOR='vis'
export BROWSER='firefox'
export TERMINAL='st'
export TERMINAL='foot'
export READER='zathura'
export WM='dwm'

## __  ______   ____
## \ \/ /  _ \ / ___|

M xdg/.config/mimeapps.list => xdg/.config/mimeapps.list +3 -3
@@ 4,9 4,9 @@ application/pdf=pdf.desktop;
application/x-bittorent=torrent.desktop;
application/zip=zip.desktop
image/vnd.djvu=pdf.desktop;
image/gif=img.desktop;
image/jpeg=img.desktop;
image/png=img.desktop;
image/gif=imv.desktop;
image/jpeg=imv.desktop;
image/png=imv.desktop;
inode/directory=filemanager.desktop;
text/html=chromium.desktop;
text/plain=text.desktop;

D xdg/.local/share/applications/img.desktop => xdg/.local/share/applications/img.desktop +0 -5
@@ 1,5 0,0 @@
[Desktop Entry]
Type=Application
Name=sxiv
Exec=/usr/bin/sxiv -a %u
NoDisplay=true