dotfiles/system/.config/X11/xsetup
Severin Kaderli 410d0b33c6
Rename scripts
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2019-03-06 16:53:16 +01:00

34 lines
611 B
Bash

#!/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-gtk &
# Merge .Xresources on boot
xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources"
# Start ibus
#ibus-daemon -drx
. "${XDG_BIN_HOME}/resolution"