2016-03-31 02:03:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-04-16 17:03:56 +00:00
|
|
|
# Run all system xinitrc shell scripts
|
|
|
|
xinitdir="/etc/X11/xinit/xinitrc.d"
|
|
|
|
if [ -d "$xinitdir" ]; then
|
|
|
|
for script in $xinitdir/*; do
|
|
|
|
echo "Loading xinit script $script"
|
|
|
|
if [ -x "$script" -a ! -d "$script" ]; then
|
|
|
|
. "$script"
|
|
|
|
fi
|
|
|
|
done
|
2016-03-31 02:03:55 +00:00
|
|
|
fi
|
|
|
|
|
2018-04-12 01:24:11 +00:00
|
|
|
source $HOME/.profile
|
|
|
|
|
2018-04-11 16:42:42 +00:00
|
|
|
xrdb -merge $XDG_CONFIG_HOME/X11/xresources
|
2018-04-12 01:24:11 +00:00
|
|
|
xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
|
|
|
|
|
|
|
|
setxkbmap -option caps:none
|
|
|
|
xset r rate 200 18
|
2017-07-08 23:09:12 +00:00
|
|
|
|
2018-04-21 00:03:17 +00:00
|
|
|
|
|
|
|
export TERMINAL="termite"
|
|
|
|
export BROWSER="chromium"
|
|
|
|
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
|
|
|
export QT_QPA_PLATFORMTHEME=gtk2
|
2018-06-11 12:24:03 +00:00
|
|
|
export QT_STYLE_OVERRIDE=gtk2
|
2018-04-21 00:03:17 +00:00
|
|
|
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
|
|
|
|
|
|
|
|
# Merge system clipboards
|
|
|
|
if [ -n "$DISPLAY" ] && exists autocutsel && ! pidof autocutsel 1>/dev/null; then
|
|
|
|
autocutsel -fork
|
|
|
|
autocutsel -selection PRIMARY -fork
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Start the gnome-keyring if it's installed
|
|
|
|
if exists gnome-keyring-daemon; then
|
|
|
|
export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
|
|
|
|
fi
|
|
|
|
|
2016-03-31 02:03:55 +00:00
|
|
|
exec i3
|