From bc15e23dab22af4e33072c70a6abfb6ace4ea104 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Thu, 19 Sep 2019 22:39:50 +0300 Subject: [PATCH] settings & new files --- .Xresources | 6 ++++++ .zshenv | 5 +++++ addons/20-modesetting.conf | 6 ++++++ addons/i8kmon.conf | 36 ++++++++++++++++++++++++++++++++++++ addons/i915.conf | 1 + addons/locale.conf | 15 +++++++++++++++ 6 files changed, 69 insertions(+) create mode 100644 addons/20-modesetting.conf create mode 100644 addons/i8kmon.conf create mode 100644 addons/i915.conf create mode 100644 addons/locale.conf diff --git a/.Xresources b/.Xresources index f8e527e..7013dae 100644 --- a/.Xresources +++ b/.Xresources @@ -35,3 +35,9 @@ st.imstyle: root !!HiDpi Xft.dpi: 200 +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintfull +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgb diff --git a/.zshenv b/.zshenv index 8cf3bec..32db182 100644 --- a/.zshenv +++ b/.zshenv @@ -22,3 +22,8 @@ export ARCHFLAGS="-arch x86_64" # Borg SSH export BORG_RSH='ssh -i /home/hate/.ssh/id_ed25519' + +# HiDPI +export GDK_SCALE=2 +export GDK_DPI_SCALE=0.5 +export QT_AUTO_SCREEN_SCALE_FACTOR=1 diff --git a/addons/20-modesetting.conf b/addons/20-modesetting.conf new file mode 100644 index 0000000..e890c3f --- /dev/null +++ b/addons/20-modesetting.conf @@ -0,0 +1,6 @@ +Section "Device" + Identifier "Intel Graphics" + Driver "modesetting" + Option "AccelMethod" "glamor" + Option "DRI" "3" +EndSection diff --git a/addons/i8kmon.conf b/addons/i8kmon.conf new file mode 100644 index 0000000..5492e2b --- /dev/null +++ b/addons/i8kmon.conf @@ -0,0 +1,36 @@ +# Sample i8kmon configuration file (/etc/i8kutils/i8kmon.conf, ~/.i8kmon). +set config(daemon) 0 + +# Automatic fan control, override with --auto option +set config(auto) 1 + +# External program to control the fans +set config(i8kfan) /usr/bin/i8kfan + +# Report status on stdout, override with --verbose option +set config(verbose) 0 + +# Status check timeout (seconds), override with --timeout option +set config(timeout) 2 + +# Temperature threshold at which the temperature is displayed in red +set config(t_high) 75 + +# Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt} +# These were tested on the I8000. If you have a different Dell laptop model +# you should check the BIOS temperature monitoring and set the appropriate +# thresholds here. In doubt start with low values and gradually rise them +# until the fans are not always on when the cpu is idle. +set config(0) {{0 0} -1 50 -1 55} +set config(1) {{1 1} 40 60 45 65} +set config(2) {{2 2} 50 70 55 75} +set config(3) {{2 2} 60 128 65 128} +#set config(0) {{0 0} -1 60 -1 65} +#set config(1) {{1 1} 50 70 55 75} +#set config(2) {{1 1} 60 80 65 85} +#set config(3) {{2 2} 70 128 75 128} +# Speed values are set here to avoid i8kmon probe them at every time it starts. +set status(leftspeed) "0 1000 2000 3000" +set status(rightspeed) "0 1000 2000 3000" + +# end of file diff --git a/addons/i915.conf b/addons/i915.conf new file mode 100644 index 0000000..d88b611 --- /dev/null +++ b/addons/i915.conf @@ -0,0 +1 @@ +options i915 enable_guc=3 enable_psr=2 fastboot=1 diff --git a/addons/locale.conf b/addons/locale.conf new file mode 100644 index 0000000..b8e54e1 --- /dev/null +++ b/addons/locale.conf @@ -0,0 +1,15 @@ +LANG=en_US.UTF-8 +LANGUAGE=en_US +LC_CTYPE="fi_FI.UTF-8" +LC_NUMERIC="fi_FI.UTF-8" +LC_TIME="en_DK.UTF-8" +LC_COLLATE="fi_FI.UTF-8" +LC_MONETARY="fi_FI.UTF-8" +LC_MESSAGES="en_US.UTF-8" +LC_PAPER="fi_FI.UTF-8" +LC_NAME="fi_FI.UTF-8" +LC_ADDRESS="fi_FI.UTF-8" +LC_TELEPHONE="fi_FI.UTF-8" +LC_MEASUREMENT="fi_FI.UTF-8" +LC_IDENTIFICATION="fi_FI.UTF-8" +LC_ALL=