vincentbernat.i3wm-configur.../xsession

45 lines
1.1 KiB
Text
Raw Normal View History

#!/bin/sh
# Setup locale
export LANG=fr_FR.utf8
export LC_MESSAGES=en_US.utf8
# Ensure we use the appropriate gtkrc-2.0 file
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
# Java incompatibility with awesome
export _JAVA_AWT_WM_NONREPARENTING=1
# We do not want to rely on crappy mailcap
export MAILCAPS=$HOME/.mailcap
# Make QT automatically scale according to screen DPI
export QT_AUTO_SCREEN_SCALE_FACTOR=1
2013-08-27 09:27:05 +02:00
# Environment variables
2018-07-28 21:08:49 +02:00
[ -e ~/.zshenv ] && . ~/.zshenv
2013-08-27 09:27:05 +02:00
systemctl --user import-environment
case "$(hostname)" in
neo)
2019-08-25 12:57:47 +02:00
xrandr --output DisplayPort-0 --auto --primary --output HDMI-A-0 --auto --right-of DisplayPort-0 --dpi 192
;;
zoro)
2014-06-17 21:52:58 +02:00
xrandr --output eDP1 --auto --dpi 144
;;
esac
. ~/.config/awesome/bin/xsettingsd-setup
~/.config/awesome/bin/xss-lock start &
2018-07-30 18:44:07 +02:00
xiccd --edid &
setxkbmap us
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
nmcli radio all off
rfkill block all 2> /dev/null
redshift -l 6.666:46.533 -t 6500:3900 2> /dev/null &
2016-06-01 08:09:14 +02:00
systemd-run -q --scope --user tmux start-server
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
exec awesome