i3wm ➔ hyprland (wip)
still a way to go. but, i am moving in the right direction, at least.
This commit is contained in:
@@ -36,8 +36,6 @@ alias du="du --summarize --human-readable"
|
||||
alias dus="du --summarize --human-readable * | sort -h"
|
||||
alias encrypt="gpg --encrypt --sign --recipient frode@klevstul.com"
|
||||
alias extract="extract.sh"
|
||||
alias faf="find . -type f -iname" # faf (find a file)
|
||||
alias fif="grep -rnw . -e" # fif (find in file) | https://stackoverflow.com/questions/16956810/find-all-files-containing-a-specific-text-string-on-linux
|
||||
alias gparted="sudo gparted"
|
||||
alias grep='grep --color=auto'
|
||||
alias ip='ip -br a'
|
||||
@@ -50,8 +48,8 @@ alias ls='ls --color=auto'
|
||||
alias myip="echo $(wget http://ipinfo.io/ip -qO -)"
|
||||
alias neofetch='fastfetch'
|
||||
alias quantumfix="pw-metadata -n settings 0 clock.force-quantum 1024"
|
||||
alias sb="source ~/.bashrc"
|
||||
alias sbr="source /home/poq/syncDir/gitRepos/gi.op.fo/lnx-arch/dots/bash/.bashrc" # source bash (from) repo
|
||||
alias sb="unalias -a; source ~/.bashrc"
|
||||
alias sbr="unalias -a; source /home/poq/syncDir/gitRepos/gi.op.fo/lnx-arch/dots/bash/.bashrc" # source bash (from) repo
|
||||
alias sizeInBytes="stat -c %s"
|
||||
alias ssh="ssh -v"
|
||||
alias ssh_weba_r="ssh -v -t root@weba -p 1808 'export TERM=xterm; cd /tmp; bash -l'"
|
||||
@@ -74,7 +72,7 @@ alias pgmodeler="/home/poq/syncDir/swas/portableApps/pgmodeler_plus-1*"
|
||||
# x terminal shell start string | https://askubuntu.com/questions/1340319/ps1-string-full-documentation-and-reference-page
|
||||
# https://bash-prompt-generator.org/
|
||||
# https://askubuntu.com/questions/193416/adding-timestamps-to-terminal-prompts
|
||||
PS1='\n⚙[\D{%y%m%d%H%M}|\u@\h \w]\$ '
|
||||
PS1='\n⚙[\D{%y%m%d%H%M}|\u@\h|\w]\$ '
|
||||
#PS1='\[\e[01;32m\]\u@\h \[\e[01;34m\]\w\[\e[00m\]\$ '
|
||||
|
||||
# change the window title of x terminals
|
||||
@@ -88,6 +86,29 @@ case ${TERM} in
|
||||
esac
|
||||
|
||||
|
||||
# ---
|
||||
# searching
|
||||
# ---
|
||||
|
||||
# find a file (faf)
|
||||
faf() {
|
||||
path="."
|
||||
if [[ -n $2 ]]; then
|
||||
path=$2
|
||||
fi
|
||||
find ${path} -type f -iname ${1} 2>/dev/null
|
||||
}
|
||||
|
||||
# find in file (fif) | https://stackoverflow.com/questions/16956810/find-all-files-containing-a-specific-text-string-on-linux
|
||||
fif() {
|
||||
path="."
|
||||
if [[ -n $2 ]]; then
|
||||
path=$2
|
||||
fi
|
||||
grep -rnw ${path} -e ${1} 2>/dev/null
|
||||
}
|
||||
|
||||
|
||||
# ---
|
||||
# networking
|
||||
# ---
|
||||
|
||||
Reference in New Issue
Block a user