Compare commits

...

2 Commits

Author SHA1 Message Date
Luca Pellegrini e33b91e7d9 Sposta alcuni file e apporta piccole modifiche 2023-06-16 17:46:37 +02:00
Luca Pellegrini 662088b376 bash: Piccole modifiche
* Sposta i file nella sottocartella 'common/HOME/bash/'
* Apporta piccole modifiche
2023-06-16 17:13:39 +02:00
56 changed files with 71 additions and 72 deletions

View File

@ -13,10 +13,10 @@ alias o='xdg-open' # open any file in the configured default application
#alias k='kill'
# exa/ls aliases
alias ls="exa --icons --color=always --group-directories-first"
alias ls="exa --icons --color=auto --group-directories-first"
alias la="ls --all"
alias ll="ls --all --long --group --header"
alias tree="ll --tree -L 3"
alias tree="ls --all --tree -L 3"
# Colorize grep output (good for log files)
alias grep="grep --color=auto"
@ -52,10 +52,11 @@ alias pull="git pull"
alias push="git push"
# apt
alias upgrade="sudo apt update && sudo apt upgrade"
alias upgrade="sudo freshclam; sudo apt update && sudo apt upgrade"
alias apt-info="apt show"
# Altri programmi usati di frequente
alias python="python3"
alias dolphin="dolphin --new-window"
alias dendron="/usr/bin/codium --new-window /Data/Dendron/dendron.code-workspace"
alias email="thunderbird"

View File

@ -18,6 +18,9 @@ if [ -n "$BASH_VERSION" ]; then
fi
# Environment variables
# set PATH so it includes 'sbin' directories
PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
# set PATH so it includes '~/AppImage' directory, if it exists
if [ -d "$HOME/AppImage" ] ; then
PATH="$HOME/AppImage:$PATH"
@ -27,8 +30,6 @@ fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# set PATH so it includes user's private bin, if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
@ -37,3 +38,6 @@ fi
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
# Start ssh-agent in the background
eval "$(ssh-agent -s)" > /dev/null

View File

@ -94,7 +94,7 @@ fi
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
#alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
# Alias definitions.
# Source my custom aliases, which are stored in a separate file
@ -118,13 +118,13 @@ if ! shopt -oq posix; then
fi
# Environment variables
if [ -n "$DISPLAY" ]; then
export EDITOR=xed
elif [ -n "$WAYLAND_DISPLAY" ]; then
export EDITOR=xed
else
export EDITOR=nano
fi
#if [ -n "$DISPLAY" ]; then
# export EDITOR=xed
#elif [ -n "$WAYLAND_DISPLAY" ]; then
# export EDITOR=xed
#else
# export EDITOR=nano
#fi
if [ -n "$DISPLAY" ]; then
export BROWSER=firefox

View File

@ -6,10 +6,10 @@
"zenMode.hideLineNumbers": false,
"workbench.iconTheme": "material-icon-theme",
"markdown.preview.fontSize": 16,
"editor.fontFamily": "'MesloLGS NF', 'Droid Sans Mono', 'monospace', monospace",
"editor.fontFamily": "'MesloLGS Nerd Font Mono Regular', 'Droid Sans Mono', 'monospace', monospace",
"files.insertFinalNewline": true,
"editor.multiCursorModifier": "ctrlCmd",
"window.zoomLevel": 1,
"redhat.telemetry.enabled": false,
"breadcrumbs.enabled": false
"breadcrumbs.enabled": false,
"window.zoomLevel": 1
}

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 986 B

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,13 +1,16 @@
[Desktop Entry]
Categories=Utility;
Comment[it]=Crea supporti USB avviabili da immagini disco
Comment[it_IT]=Crea supporti USB avviabili da immagini disco
Comment=Crea supporti USB avviabili da immagini disco
Exec=/home/luca/AppImage/balenaEtcher.AppImage
GenericName[it]=
GenericName[it_IT]=
GenericName=
Icon=/home/luca/.icons/etcher.svg
MimeType=
Name[it]=balenaEtcher
Name[it_IT]=balenaEtcher
Name=balenaEtcher
Path=
StartupNotify=true
@ -16,6 +19,6 @@ TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-RunOnDiscreteGpu=false
X-KDE-RunOnDiscreteGpu=
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,14 +1,17 @@
[Desktop Entry]
Categories=Utility;
Comment[it]=Password Manager
Comment[it_IT]=Password Manager
Comment=Password Manager
Exec=/home/luca/AppImage/Bitwarden.AppImage
GenericName[it]=Password manager
GenericName[it_IT]=Password manager
GenericName=Password manager
Icon=/home/luca/.icons/bitwarden.svg
MimeType=
Name[it]=Bitwarden (appimage)
Name=Bitwarden (appimage)
Name[it]=Bitwarden (AppImage)
Name[it_IT]=Bitwarden (AppImage)
Name=Bitwarden (AppImage)
NoDisplay=false
Path=
StartupNotify=true
@ -16,9 +19,10 @@ Terminal=false
TerminalOptions=
Type=Application
Keywords[it]=password;manager;
Keywords[it_IT]=password;manager;
Keywords=password;manager;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-RunOnDiscreteGpu=false
X-KDE-RunOnDiscreteGpu=
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,13 +1,16 @@
[Desktop Entry]
Categories=Development;
Comment[it]=Repository 'config-files' (VSCodium workspace)
Comment[it_IT]=Repository 'config-files' (VSCodium workspace)
Comment='config-files' Git repository (VSCodium workspace)
Exec=/usr/bin/codium --new-window /home/luca/config-files/config-files.code-workspace
GenericName[it]=
GenericName[it_IT]=
GenericName=
Icon=/home/luca/.icons/administration.svg
MimeType=
Name[it]=Config-files (workspace)
Name[it_IT]=Config-files (workspace)
Name=Config-files (workspace)
NoDisplay=false
Path=
@ -15,10 +18,11 @@ StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Keywords[it]=configurazione;
Keywords[it]=configurazione;dotfiles;
Keywords[it_IT]=configurazione;dotfiles;
Keywords=config;dotfiles;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-RunOnDiscreteGpu=false
X-KDE-RunOnDiscreteGpu=
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,13 +1,16 @@
[Desktop Entry]
Categories=Office;Development;
Comment[it]=Quaderno di appunti personale (VSCodium + dendron)
Comment[it_IT]=Quaderno di appunti personale (VSCodium + dendron)
Comment=Personal notebook (VSCodium + dendron)
Exec=/usr/bin/codium --new-window /Data/Dendron/dendron.code-workspace
GenericName[it]=Appunti in formato Markdown
GenericName[it_IT]=Appunti in formato Markdown
GenericName=Notebook with Markdown formatting
Icon=/home/luca/.icons/dendron-logo-256.png
MimeType=
Name[it]=dendron (workspace)
Name[it_IT]=dendron (workspace)
Name=dendron (workspace)
NoDisplay=false
Path=
@ -16,9 +19,10 @@ Terminal=false
TerminalOptions=
Type=Application
Keywords[it]=Testo;note;markdown;
Keywords[it_IT]=Testo;note;markdown;
Keywords=Text;notes;markdown;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-RunOnDiscreteGpu=false
X-KDE-RunOnDiscreteGpu=
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,14 +1,17 @@
[Desktop Entry]
Categories=Development;Education;Science;Math;
Comment[it]=Avvia MATLAB (versione R2022b)
Comment[it_IT]=Avvia MATLAB (versione R2022b)
Comment=Launch MATLAB (version R2022b)
Exec=/home/luca/bin/matlab -desktop
GenericName[it]=
GenericName[it_IT]=
GenericName=
Icon=matlab
MimeType=
Name[it]=MATLAB (R2022b)
Name=MATLAB (R2022b)
Name[it]=MATLAB
Name[it_IT]=MATLAB
Name=MATLAB
NoDisplay=false
Path=
StartupNotify=true

View File

@ -1,20 +1,24 @@
[Desktop Entry]
Categories=Development;
Comment[it]=Interprete Python (v3.10)
Comment=Python Interpreter (v3.10)
Exec=/usr/bin/python3.10
GenericName[it]=Python (v3.10)
GenericName=Python (v3.10)
Comment[it]=Interprete Python 3
Comment[it_IT]=Interprete Python 3
Comment=Python 3 Interpreter
Exec=/usr/bin/python3
GenericName[it]=Python 3
GenericName[it_IT]=Python 3
GenericName=Python
Icon=/home/luca/.icons/python-papirus.svg
MimeType=
Name[it]=Python (v3.10)
Name=Python (v3.10)
Name[it]=Python 3
Name[it_IT]=Python 3
Name=Python 3
NoDisplay=false
StartupNotify=true
StartupNotify=false
Terminal=true
TerminalOptions=
Type=Application
Keywords[it]=python;
Keywords[it_IT]=python;
Keywords=python;
X-DBUS-ServiceName=
X-DBUS-StartupType=

View File

@ -7,8 +7,8 @@ GenericName[it]=Controlla dispositivi Android
GenericName=
Icon=/home/luca/.icons/android-sdk.svg
MimeType=
Name[it]=scrcpy (v1.21)
Name=scrcpy (v1.21)
Name[it]=scrcpy
Name=scrcpy
NoDisplay=false
Path=
StartupNotify=true

View File

@ -0,0 +1,9 @@
# Config file per yt-dlp
# Da posizionare nella cartella home, definiscce le configurazioni di default
# di yt-dlp per l'utente corrente
# Salva il file con nome: "(data di upload) (Titolo).ext"
-o "%(upload_date>%Y.%m.%d)s - %(title)s.%(ext)s"
# Se l'URL fa riferimento sia a un video che a una playlist, scarica solo il video/audio
--no-playlist

View File

@ -1 +0,0 @@
idle3.desktop

View File

@ -1,22 +0,0 @@
[Desktop Entry]
Categories=Development;IDE;
Comment[it]=Ambiente di sviluppo e apprendimento per Python 3
Comment=Integrated Development and Learning Environment for Python 3
Exec=idle3 %F
GenericName[it]=Ambiente di sviluppo e apprendimento per Python 3
GenericName=IDLE 3
Icon=/home/luca/.icons/python-papirus.svg
MimeType=text/x-python;
Name[it]=IDLE (con Python 3.10)
Name=IDLE (using Python 3.10)
NoDisplay=false
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
TryExec=idle3
Type=Application
Version=1.0
X-Desktop-File-Install-Version=0.26
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,14 +0,0 @@
# Config file per yt-dlp
# Da posizionare nella cartella ~ (/home/luca/), definiscce le configurazioni di default di yt-dlp per l'utente corrente
# Pensato per: singoli brani musicali da YT Music
# Scarica nel nel codec opus a 137 kbps (audio-only, container webm)
-f 251
# Fa il remux del video/audio nel container opus
#--remux-video ogg
#Salva il file nella cartella ~/Musica/Downloads; nome file: "Artista - Titolo.m4a"
-o "~/Musica/Downloads/%(artist)s - %(title)s.%(ext)s"
#Se l'URL fa riferimento sia a un video che a una playlist, scarica solo il video/audio
--no-playlist