mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-07 00:34:21 +02:00
To me, I think it was cleaner to have a parameter with the current display. This way, the session is specific to the current display. It seems BindsTo doesn't think this way.
26 lines
715 B
Bash
26 lines
715 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
|
|
|
|
systemctl --user import-environment
|
|
systemd-run -q --scope --user tmux start-server
|
|
mkdir -p ~/.config/systemd
|
|
ln -nsf ~/.config/awesome/systemd ~/.config/systemd/user
|
|
exec systemctl --user start --wait xsession@$(systemd-escape -- "$DISPLAY").target
|