config: adjust some terminal helpers
This commit is contained in:
parent
b59d736e33
commit
c2ef280230
|
@ -34,7 +34,7 @@ let g:firenvim_config = {
|
||||||
\ div[role="textbox"]:not([aria-label="Search"])',
|
\ div[role="textbox"]:not([aria-label="Search"])',
|
||||||
\ 'takeover': 'always',
|
\ 'takeover': 'always',
|
||||||
\ },
|
\ },
|
||||||
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'once', },
|
\ '.*mail\.protonmail\.com.*': { 'priority': 9, 'takeover': 'empty', },
|
||||||
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'once', },
|
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'once', },
|
||||||
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', },
|
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'once', },
|
||||||
\ '.*discord\.com.*': { 'priority': 9, 'takeover': 'once', },
|
\ '.*discord\.com.*': { 'priority': 9, 'takeover': 'once', },
|
||||||
|
|
|
@ -47,7 +47,7 @@ d() {
|
||||||
# First find out whether there is an obvious match
|
# First find out whether there is an obvious match
|
||||||
# (score at least ten times above runner-up and score above 20)
|
# (score at least ten times above runner-up and score above 20)
|
||||||
# If not select with fzf, using locate to find extra options
|
# If not select with fzf, using locate to find extra options
|
||||||
cd "$(if expr "$(echo "$query" | head -1 | cut -d' ' -f1)" \> 20 \& $(echo "$query" | sed 'N;s|/.* \([0-9]\)|> 10 * \1|;q' | sed 's| */.*||') >/dev/null #2>&1
|
cd "$(if test -n "$query" && expr "$(echo "$query" | head -1 | cut -d' ' -f1)" \> 20 \& $(echo "$query" | sed 'N;s|/.* \([0-9]\)|> 10 * \1|;q' | sed 's| */.*||') >/dev/null #2>&1
|
||||||
then echo "$query" | head -1
|
then echo "$query" | head -1
|
||||||
else echo "$query"; locz "$@"
|
else echo "$query"; locz "$@"
|
||||||
fi | zfz)"
|
fi | zfz)"
|
||||||
|
|
|
@ -3,6 +3,8 @@ export MUSIC="$DATA/music"
|
||||||
export AUDIO="$DATA/audio"
|
export AUDIO="$DATA/audio"
|
||||||
MUSIC_RAW="$AUDIO/songs/_raw"
|
MUSIC_RAW="$AUDIO/songs/_raw"
|
||||||
|
|
||||||
|
alias scbra='scpr zebra "/srv/funkwhale/data/music${PWD/$MUSIC}"'
|
||||||
|
|
||||||
findsongs() {
|
findsongs() {
|
||||||
find -regextype posix-extended -maxdepth 1 -type f -regex "${1:-.*\.(mp3|flac|wav|m4a)}" -printf "%P\n"
|
find -regextype posix-extended -maxdepth 1 -type f -regex "${1:-.*\.(mp3|flac|wav|m4a)}" -printf "%P\n"
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,5 @@ set -e
|
||||||
remote=$(git-repo "$@")
|
remote=$(git-repo "$@")
|
||||||
echo "Cloning $remote"
|
echo "Cloning $remote"
|
||||||
git clone $remote ${@:4} --recurse-submodules
|
git clone $remote ${@:4} --recurse-submodules
|
||||||
cd "$(expr "$1" || basename ${remote%.git})"
|
cd "$(expr "$2" || basename ${remote%.git})"
|
||||||
exec "$SHELL"
|
exec "$SHELL"
|
||||||
|
|
|
@ -36,7 +36,8 @@ and configuration for ~less~ and ~fzf~.
|
||||||
- dotfiles :: yadm
|
- dotfiles :: yadm
|
||||||
: yadm clone --bootstrap git.jfischer.org:xeruf/dotfiles.git
|
: yadm clone --bootstrap git.jfischer.org:xeruf/dotfiles.git
|
||||||
- aur recommendations :: tldr++ sc-im
|
- aur recommendations :: tldr++ sc-im
|
||||||
- personal aur utils :: [[https://github.com/mookid/diffr][diffr]] bat-extras-git rdictcc-git
|
- personal aur utils :: [[https://github.com/mookid/diffr][diffr]] bat-extras-git rdictcc-git neovim-symlinks
|
||||||
|
- git tools :: git-bug git-lfs git-crypt git-remote-gcrypt github-cli
|
||||||
- experiments :: kakoune
|
- experiments :: kakoune
|
||||||
** Applications
|
** Applications
|
||||||
- productivity :: activitywatch-bin
|
- productivity :: activitywatch-bin
|
||||||
|
@ -45,9 +46,10 @@ and configuration for ~less~ and ~fzf~.
|
||||||
- bluetooth :: bluez bluez-utils pulseaudio-bluetooth
|
- bluetooth :: bluez bluez-utils pulseaudio-bluetooth
|
||||||
** Graphical
|
** Graphical
|
||||||
- x :: xorg-xserver xorg-xkill xorg-setxkbmap xorg-xinit xterm xclip xprintidle
|
- x :: xorg-xserver xorg-xkill xorg-setxkbmap xorg-xinit xterm xclip xprintidle
|
||||||
- music production :: lilypond lilypond-docs timidity++ chordpro-git
|
- music production :: lilypond lilypond-docs timidity++ chordpro-git musescore
|
||||||
|
- video :: vlc kdenlive
|
||||||
- kde :: plasma-desktop plasma-nm spectacle breeze systemsettings konsole ktorrent dolphin kdeplasma-addons kinfocenter partitionmanager kdeconnect kwallet-pam kwalletmanager ksshaskpass okular bluedevil
|
- kde :: plasma-desktop plasma-nm spectacle breeze systemsettings konsole ktorrent dolphin kdeplasma-addons kinfocenter partitionmanager kdeconnect kwallet-pam kwalletmanager ksshaskpass okular bluedevil
|
||||||
- office :: emacs texlive-core texlive-latexextra libreoffice-fresh
|
- office :: emacs texlive-core texlive-latexextra libreoffice-fresh context-bin
|
||||||
- hacking :: etcher-bin
|
- hacking :: etcher-bin
|
||||||
- health :: stretchly-xeruf-git redshift acpilight
|
- health :: stretchly-xeruf-git redshift acpilight
|
||||||
: scu enable --now redshift
|
: scu enable --now redshift
|
||||||
|
|
Loading…
Reference in New Issue