31 lines
542 B
Bash
31 lines
542 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 redshift
|
|
redshift &
|
|
|
|
# Merge .Xresources on boot
|
|
xrdb -merge "$HOME/.Xresources"
|
|
|
|
# Start ibus
|
|
#ibus-daemon -drx
|
|
|
|
. "${HOME}/bin/resolution.sh"
|