dotfiles/system/.config/X11/xsetup
Severin Kaderli 785fafee3a
Remove numlockx
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
2022-01-04 20:31:22 +01:00

35 lines
758 B
Bash

#!/usr/bin/env bash
#
# SCRIPT NAME:
# .config/X11/xsetup
#
# AUTHOR:
# Severin Kaderli <severin@kaderli.dev>
#
# 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
# Disable DPMS and prevent screen from blanking
xset s off -dpms
# Set keyboard layout
setxkbmap -model pc105 -layout ch
# Start applications
nm-applet &
#redshift-gtk &
sxhkd &
nextcloud &
dunst &
#ibus-daemon -drx
# Merge .Xresources on boot
wal --theme tempus_future
xrdb -merge "${XDG_CONFIG_HOME}/X11/xresources"
xrdb -merge "${XDG_CACHE_HOME}/wal/colors.Xresources"
dbus-update-activation-environment --systemd DISPLAY
export SSH_AUTH_SOCK