dotfiles/system/.xsetup
Severin Kaderli 1b82726f85
Use NetworkManager instead of wicd
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2019-01-18 19:10:06 +01:00

34 lines
579 B
Bash

#!/bin/bash
#
# SCRIPT NAME:
# .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 "$HOME/.Xresources"
# Start ibus
#ibus-daemon -drx
. "${HOME}/bin/resolution.sh"