shell: add ~/.Xmodmap file
[~bandali/configs] / .profile
index 883d1a7..c0c1e45 100644 (file)
--- a/.profile
+++ b/.profile
@@ -10,13 +10,15 @@ fi
 export EDITOR="emacsclient -nw"
 export VISUAL="emcl"
 
-PATH="$HOME/bin:$HOME/.local/bin:$PATH"
+PATH="$HOME/usr/local/bin:$HOME/.local/bin:$PATH"
 PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
 if [ -z "$IS_GUIX_SYSTEM" ]; then
     PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
+    INFOPATH="$HOME/.config/guix/current/share/info${INFOPATH:+:}$INFOPATH"
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
 fi
 export PATH
+export INFOPATH
 
 export XDG_CONFIG_HOME="$HOME/.config"
 export XDG_DATA_HOME="$HOME/.local/share"
@@ -64,10 +66,13 @@ fi
 
 setxkbmap \
     -layout us,ir \
-    -option ctrl:nocaps \
     -option grp:shifts_toggle
 
-xmodmap -e "keysym Menu = Super_R"
+xmodmap ~/.Xmodmap
+
+xsetroot -cursor_name left_ptr
+xset r rate 200 45
+xset b off
 
 xrdb -merge "$HOME/.Xresources"