aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/npm/npmrc4
-rw-r--r--config/qutebrowser/config.py4
-rwxr-xr-xconfig/x11/xinitrc13
-rwxr-xr-xconfig/zsh/zprofile1
4 files changed, 14 insertions, 8 deletions
diff --git a/config/npm/npmrc b/config/npm/npmrc
new file mode 100644
index 0000000..fc84b78
--- /dev/null
+++ b/config/npm/npmrc
@@ -0,0 +1,4 @@
+prefix=${XDG_DATA_HOME}/npm
+cache=${XDG_CACHE_HOME}/npm
+tmp=${XDG_RUNTIME_DIR}/npm
+init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index b069a8f..2f7f9bb 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -37,7 +37,9 @@ c.url.searchengines = {
'lar': 'https://www.larousse.fr/dictionnaires/francais/{}',
'pypi': 'https://pypi.org/search/?q={}',
'intra': 'https://profile.intra.42.fr/searches/search?query={}',
- 'aw': 'https://wiki.archlinux.org/index.php?search={}'
+ 'aw': 'https://wiki.archlinux.org/index.php?search={}',
+ 'pd': 'https://pandas.pydata.org/pandas-docs/stable/search.html?q={}',
+ 'sklearn': 'https://scikit-learn.org/stable/search.html?q={}',
}
c.fonts.default_family = ['Fira Mono', 'Baekmuk', 'Symbola']
diff --git a/config/x11/xinitrc b/config/x11/xinitrc
index 23a602e..b9f9f61 100755
--- a/config/x11/xinitrc
+++ b/config/x11/xinitrc
@@ -1,12 +1,9 @@
#!/bin sh
-# xinput disable 'ETPS/2 Elantech Touchpad' &
-
-redshift & # filter blue light
-dunst & # notification daemon
-xset r rate 200 50 # delay before keyrepeat and keyrepeat rate
-unclutter --timeout 2 --fork # hide mouse after 2s
-
+redshift & # filter blue light
+dunst & # notification daemon
+xset r rate 200 50 # delay before keyrepeat and keyrepeat rate
+unclutter --timeout 10 --fork # hide mouse after 2s
case "$(cat /etc/hostname)" in
cacharle-main)
@@ -23,3 +20,5 @@ case "$(cat /etc/hostname)" in
esac
exec xmonad
+
+# vim:ft=sh
diff --git a/config/zsh/zprofile b/config/zsh/zprofile
index fef0af7..408419a 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -24,6 +24,7 @@ export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py"
export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
+export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
# shellcheck disable=SC2016
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"