-
Notifications
You must be signed in to change notification settings - Fork 0
/
start
35 lines (26 loc) · 1.41 KB
/
start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#sudo rmmod intel_powerclamp
#sudo hdparm -B 255 /dev/sda
#sudo mount -t tmpfs -o size=2304M tmpfs ~/rawdisk2 &&
#sudo mount -t tmpfs -o size=512M tmpfs ~/rawdisk &&
#sudo mount -t tmpfs -o size=256M tmpfs ~/.ccache &&
#sudo mount -t tmpfs -o size=128M tmpfs ~/projects/build &&
#disable beep mouse acceleration: 5/2 threshold: 5
xset b off r rate 350 30 m 5/2 5
cd ~/rawdisk
md ff/.mozilla/firefox &&
ln -s ~/.cache ~/.config ff/ &&
ln -s ~/.mozilla/systemextensionsdev ~/.mozilla/extensions/ ff/.mozilla/ &&
ln -s ~/.mozilla/firefox/{Crash\ Reports,Pending\ Pings,profiles.ini} ff/.mozilla/firefox ||
function firefox { echo "\e[31merror: Create ~/rawdisk/ff\e[0m" }
# ~/projects/dotfiles/bin/rfirefox default&
# redshift -l 48.85:2.34 -t 5700:4000 -g 0.85 -m randr &
# :bind Y composite get_current_url | js -p 'localhost:10411/'+JS_ARG | open_quiet
# :bind <F4> composite get_current_url | js -p 'localhost:10411/p/'+JS_ARG | open_quiet
socat tcp-l:10411,reuseaddr,fork,crlf system:'echo -e HTTP/1.0 204 OK\\\\n; ~/projects/dotfiles/firefox/i3-dl' &
# socat tcp-l:11977,reuseaddr,fork,crlf system:'echo -e HTTP/1.0 200\\\\nContent-Type\: text/html\\\\n;echo $(<~/projects/private-game/redirection.html)' &
cd ~/rawdisk2
sleep .3
# xmodmap ~/projects/dotfiles/xmodmap/qwerty-shift-number-key0
:>~/rawdisk/.num-k
xmodmap ~/.Xmodmap
# source ~/projects/dotfiles/start && ~/projects/dotfiles/bin/rfirefox & i3-msg 'move scratchpad'