Fix emacs gc at startup
This commit is contained in:
@@ -10,8 +10,7 @@
|
|||||||
|
|
||||||
;; Set the gc threshold high initially so the init.el can just be
|
;; Set the gc threshold high initially so the init.el can just be
|
||||||
;; loaded in one move
|
;; loaded in one move
|
||||||
(setq gc-cons-threshold most-positive-fixnum ; 2^61 bytes
|
(setq gc-cons-threshold most-positive-fixnum) ; 2^61 bytes
|
||||||
gc-cons-percentage 0.6)
|
|
||||||
|
|
||||||
;; Lower the gc threshold again afterwards
|
;; Lower the gc threshold again afterwards
|
||||||
(add-hook 'emacs-startup-hook
|
(add-hook 'emacs-startup-hook
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
xinput --set-prop 25 'libinput Accel Profile Enabled' 0, 1
|
if [ ! "$1" ]; then
|
||||||
|
echo "No device ID given ..."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
xinput --set-prop $1 'libinput Accel Profile Enabled' 0, 1
|
||||||
|
|||||||
Reference in New Issue
Block a user