mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-31 08:14:26 +02:00
Initial i3 configuration
This is derived from my Awesome configuration. Still a lot to do from a WM perspective. The organization is a bit different and I am giving it up on the per-display systemd units as it does not really work due to the fact we only have one user DBus and one environment.
This commit is contained in:
parent
d3af9e4890
commit
d85a504c53
95 changed files with 383 additions and 3116 deletions
38
dotfiles/xsession
Normal file
38
dotfiles/xsession
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Ensure we use the appropriate gtkrc-2.0 file
|
||||
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
|
||||
|
||||
# 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
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
||||
# GTK3 apps try to contact org.a11y.Bus. Disable that.
|
||||
export NO_AT_BRIDGE=1
|
||||
|
||||
# Environment variables
|
||||
unset LC_ALL
|
||||
[ -e ~/.zshenv ] && . ~/.zshenv
|
||||
|
||||
# Copy some configuration files
|
||||
while read source target; do
|
||||
for t in $target; do
|
||||
mkdir -p $(dirname $HOME/$t)
|
||||
ln -nsf ~/.config/i3/dotfiles/$source $HOME/$t
|
||||
done
|
||||
done <<EOF
|
||||
Xresources .Xresources
|
||||
gtkrc-2.0 .gtkrc-2.0
|
||||
gtkrc-3.0 .config/gtk-3.0/settings.ini
|
||||
qt5ct.conf .config/qt5ct/qt5ct.conf
|
||||
systemd .config/systemd/user
|
||||
firefox.js .mozilla/firefox/*/user.js
|
||||
EOF
|
||||
|
||||
# Services are started with systemd
|
||||
systemctl --user import-environment
|
||||
systemctl --user daemon-reload
|
||||
exec systemctl --user start --wait xsession.target
|
Loading…
Add table
Add a link
Reference in a new issue