.bashrc: Right Windows key = left mouse button.
This commit is contained in:
parent
017d33ac7b
commit
5699f0b461
|
@ -171,8 +171,8 @@ alias y='idok -port $((RANDOM+2000))'
|
|||
# gqview ui?
|
||||
#export QT_SCALE_FACTOR=2
|
||||
MANPATH=$MANPATH:$HOME/share/man
|
||||
if [ -f ~/.mysqlrootpassword ]; then
|
||||
export mysqlrootpass=$(cat ~/.mysqlrootpassword)
|
||||
if [ -f ~/.passwords ]; then
|
||||
. ~/.passwords
|
||||
fi
|
||||
|
||||
cat <<EOF | bash 2>/dev/null >/dev/null
|
||||
|
@ -214,6 +214,7 @@ cat <<EOF | bash 2>/dev/null >/dev/null
|
|||
# =>
|
||||
# key <COMP> { [ Pointer_Button2 ] };
|
||||
perl -pe '/key <COMP>/ && s/\[.*\]/ [ Pointer_Button2 ]/' |
|
||||
perl -pe '/key <RWIN>/ && s/\[.*\]/ [ Pointer_Button1 ]/' |
|
||||
sed -e '/interpret KP_/,/};/d' |
|
||||
# Replace numpad , with .
|
||||
sed -e 's/ KP_Separator / period /' |
|
||||
|
@ -235,7 +236,9 @@ IO() {
|
|||
perl -ne 'BEGIN { $| = 1; $string = shift }
|
||||
s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$3$9$21/
|
||||
||
|
||||
s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$4$5$16/;
|
||||
s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$4$5$16/
|
||||
||
|
||||
s/(........)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)(\s+\S+)/$1$6$7$14/;
|
||||
/Device/ and print and next;
|
||||
m^$string^ and print;
|
||||
' $string;
|
||||
|
@ -244,7 +247,20 @@ ORACLE_HOME=/usr/lib/oracle/19.6/client64
|
|||
PATH=$PATH:$ORACLE_HOME/bin
|
||||
export ORACLE_HOME
|
||||
export ORACLE_SID=XE
|
||||
ppid() { ps -o ppid -p "$@" | tail -n1; }
|
||||
ppid() {
|
||||
for _pid in "$@" ; do
|
||||
ps -o ppid -p "$_pid" | tail -n1;
|
||||
done
|
||||
}
|
||||
|
||||
# Add dotnet + go binaries
|
||||
export PATH="$PATH:$HOME/.dotnet/tools:$HOME/go/bin"
|
||||
|
||||
PLAN9=/usr/local/plan9 export PLAN9
|
||||
PATH=$PATH:$PLAN9/bin export PATH
|
||||
export DRAC_HOST=drac.lan
|
||||
LBRY_YOUTUBEDL="torsocks yt-dlp"
|
||||
export LBRY_YOUTUBEDL
|
||||
YOUTUBE="yt-dlp"
|
||||
export YOUTUBE
|
||||
export SMALLDISK=/mnt/ram
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Search for cryptkey.txt
|
||||
# Run:
|
||||
# update-initramfs -u
|
||||
|
||||
PREREQ="cryptroot-prepare"
|
||||
|
||||
|
|
Loading…
Reference in a new issue