Move even more files to .config

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2019-02-12 23:28:30 +01:00
parent e0e3ad0135
commit 005c4f29b6
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
11 changed files with 26 additions and 56 deletions

34
system/.config/X11/xsetup Normal file
View file

@ -0,0 +1,34 @@
#!/bin/bash
#
# SCRIPT NAME:
# .config/X11/xsetup
#
# AUTHOR:
# Severin Kaderli <severin.kaderli@gmail.com>
#
# DESCRIPTION:
# This file setups things that should by started by the x-server like the
# ibus-daemon and the keyboard layout.
#
# USAGE:
# This script is sourced by both .xinitrc and .xprofile
xset s off
xset -dpms
xset s noblank
# Set keyboard layout
setxkbmap -model pc105 -layout ch
# Start network manager
nm-applet &
# Start redshift
redshift &
# Merge .Xresources on boot
xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources"
# Start ibus
#ibus-daemon -drx
. "${HOME}/bin/resolution.sh"