summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3/config3
-rw-r--r--.config/sh/alias.sh1
-rw-r--r--.config/sh/environment.sh12
-rw-r--r--.vimrc1
4 files changed, 17 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 125df1c..e1d753d 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -138,6 +138,9 @@ bindsym XF86ScreenSaver exec i3lock -def
bindsym $mod+x move workspace to output right
+bindsym $mod+p exec passmenu
+bindsym $mod+Shift+p exec passmenu --type
+
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
diff --git a/.config/sh/alias.sh b/.config/sh/alias.sh
new file mode 100644
index 0000000..19674dc
--- /dev/null
+++ b/.config/sh/alias.sh
@@ -0,0 +1 @@
+alias irssi="irssi --home=${XDG_CONFIG_HOME}/irssi"
diff --git a/.config/sh/environment.sh b/.config/sh/environment.sh
new file mode 100644
index 0000000..7afe112
--- /dev/null
+++ b/.config/sh/environment.sh
@@ -0,0 +1,12 @@
+export XDG_CONFIG_HOME="${HOME}/.config"
+export XDG_CACHE_HOME="${HOME}/.cache"
+export XDG_DATA_HOME="${HOME}/.local/share"
+
+export CARGO_HOME="${XDG_DATA_HOME}/cargo"
+export ELINKS_CONFDIR="${XDG_CONFIG_HOME}/elinks"
+export GIMP2_DIRECTORY="${XDG_CONFIG_HOME}/gimp"
+export HISTFILE="${XDG_CACHE_HOME}/sh/history"
+export LESSHISTFILE="${XDG_CACHE_HOME}/less/history"
+export LESSKEY="${XDG_CONFIG_HOME}/less/lesskey"
+export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/pass"
+export XINITRC="${XDG_CONFIG_HOME}/X11/xinitrc"
diff --git a/.vimrc b/.vimrc
index c298e8d..1b6d812 100644
--- a/.vimrc
+++ b/.vimrc
@@ -4,6 +4,7 @@ set nocompatible
" Set paths according to XDG Base Directory specification
set viminfo+=n${XDG_CACHE_HOME}/vim/viminfo
set runtimepath=${XDG_CONFIG_HOME}/vim,${XDG_CONFIG_HOME}/vim/after,$VIM,$VIMRUNTIME
+let g:netrw_home = "${XDG_CACHE_HOME}/vim"
" Syntax highlighting
syntax on