rofi-file-browser
This commit is contained in:
parent
7cb47140de
commit
82c82d05b4
12
.aliases
12
.aliases
@ -508,12 +508,12 @@ alias iplookup='iplookup-get(){ curl "ip.nclte.ch/json?ip=$1"; unset -f iplookup
|
|||||||
## Make random dir
|
## Make random dir
|
||||||
alias mkdir-random='mkdir $(cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 50 | head -n 1) && echo "Directory created: $(cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 50 | head -n 1)"'
|
alias mkdir-random='mkdir $(cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 50 | head -n 1) && echo "Directory created: $(cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 50 | head -n 1)"'
|
||||||
|
|
||||||
function rofi-file-browser(){
|
#function rofi-file-browser(){
|
||||||
rofi -dmenu -p "Select File Manager" -i -no-fixed-num-lines <<< "File Browser"
|
#rofi -dmenu -p "Select File Manager" -i -no-fixed-num-lines <<< "File Browser"
|
||||||
if [ $? -eq 0 ]; then
|
#if [ $? -eq 0 ]; then
|
||||||
mate-terminal ranger
|
# mate-terminal ranger
|
||||||
fi
|
#fi
|
||||||
}
|
#}
|
||||||
|
|
||||||
## Display all commands in this Alias file
|
## Display all commands in this Alias file
|
||||||
alias my-alias="cat ~/.aliases | grep -oP 'alias\s\K[^=]+' | sort -n"
|
alias my-alias="cat ~/.aliases | grep -oP 'alias\s\K[^=]+' | sort -n"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user