...
This commit is contained in:
@@ -75,9 +75,9 @@
|
||||
9999 # for general usage
|
||||
8080 # for mitm proxy
|
||||
|
||||
25565 # mc server
|
||||
25565 # mc proxy
|
||||
25580 # wmc lobby server
|
||||
25566 # mc server
|
||||
25566 # mc proxy cracked
|
||||
3306 # mariadb for wmc
|
||||
6379 # redis for wmc
|
||||
];
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
historyFile = "${persistentDir}/${hostname}/bash-history";
|
||||
historyFile = "/home/$USER/work/app-data/${hostname}/bash-history";
|
||||
historyFileSize = 100000;
|
||||
historyControl = [ "ignoredups" ];
|
||||
historyIgnore = [
|
||||
@@ -259,9 +259,23 @@
|
||||
python3 -c "print($@)"
|
||||
}
|
||||
|
||||
# cam
|
||||
function cam(){
|
||||
xset r rate 130 85
|
||||
xinput set-prop "ZMK Project Charybdis Mouse" 304 60
|
||||
xinput set-prop "Charybdis Mouse" 304 60
|
||||
id=$(xinput | grep Charybdis | tail -n 1 | awk '{print $4}' | cut -c4- )
|
||||
echo id: $id
|
||||
setxkbmap -device $id -layout us
|
||||
|
||||
id=$(xinput | grep Charybdis | tail -n 1 | awk '{print $6}' | cut -c4- )
|
||||
echo id: $id
|
||||
setxkbmap -device $id -layout us
|
||||
}
|
||||
|
||||
# map
|
||||
function map(){
|
||||
source $
|
||||
if [ "$1" == "" ]
|
||||
then
|
||||
bash ~/work/virtchord/reset
|
||||
|
||||
Reference in New Issue
Block a user