mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 10:48:35 +02:00
27 lines
734 B
Bash
27 lines
734 B
Bash
#!/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
|
|
|
|
# Environment variables
|
|
[ -e ~/.zshenv ] && . ~/.zshenv
|
|
|
|
# Services are started with systemd
|
|
systemctl --user import-environment
|
|
mkdir -p ~/.config/systemd
|
|
ln -nsf ~/.config/awesome/systemd ~/.config/systemd/user
|
|
systemctl --user daemon-reload
|
|
exec systemctl --user start --wait xsession@$(systemd-escape -- "$DISPLAY").target
|