2012-07-09 12:06:21 +02:00
|
|
|
#!/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
|
|
|
|
|
2014-07-03 23:24:48 +02:00
|
|
|
# Java incompatibility with awesome
|
2013-01-23 08:29:49 +01:00
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
2012-11-28 15:32:39 +01:00
|
|
|
|
2014-02-18 09:27:56 +01:00
|
|
|
# We do not want to rely on crappy mailcap
|
|
|
|
export MAILCAPS=$HOME/.mailcap
|
|
|
|
|
2018-07-28 11:12:16 +02:00
|
|
|
# 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
|
|
|
|
2015-09-06 16:00:42 +02:00
|
|
|
systemctl --user import-environment
|
|
|
|
|
2014-05-14 08:51:38 +02:00
|
|
|
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
|
2014-05-14 08:51:38 +02:00
|
|
|
;;
|
2014-06-08 11:24:08 +02:00
|
|
|
zoro)
|
2014-06-17 21:52:58 +02:00
|
|
|
xrandr --output eDP1 --auto --dpi 144
|
2014-06-08 11:24:08 +02:00
|
|
|
;;
|
2014-05-14 08:51:38 +02:00
|
|
|
esac
|
|
|
|
|
2014-09-17 10:39:22 +02:00
|
|
|
. ~/.config/awesome/bin/xsettingsd-setup
|
2014-09-17 22:23:09 +02:00
|
|
|
~/.config/awesome/bin/xss-lock start &
|
2018-07-30 18:44:07 +02:00
|
|
|
xiccd --edid &
|
2019-05-11 07:01:33 +02:00
|
|
|
setxkbmap us
|
2014-06-15 15:00:59 +02:00
|
|
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
2018-07-13 09:06:25 +02:00
|
|
|
nmcli radio all off
|
2014-09-12 15:02:23 +02:00
|
|
|
rfkill block all 2> /dev/null
|
2017-04-18 22:16:23 +02:00
|
|
|
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
|
2019-05-02 14:29:29 +02:00
|
|
|
compton --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay &
|
2018-07-28 10:28:27 +02:00
|
|
|
|
2012-07-11 20:04:04 +02:00
|
|
|
exec awesome
|