31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
#!/bin/sh
|
|
|
|
# This file runs when a DM logs you into a graphical session.
|
|
# If you use startx/xinit, this file will also be sourced.
|
|
|
|
grep Zorin /etc/lsb-release >/dev/null && exit
|
|
|
|
# xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Use Xresources colors/settings on startup
|
|
|
|
# if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI" ]; then
|
|
# DPI="$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI")"
|
|
# echo "Xft.dpi: $DPI" | xrdb -merge
|
|
# xrandr --dpi "$DPI"
|
|
# fi
|
|
|
|
# eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
|
# export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
|
|
# dbus-update-activation-environment --systemd DISPLAY
|
|
# export SSH_AUTH_SOCK
|
|
# setxkbmap gb
|
|
# setxkbmap -option caps:escape_shifted_capslock
|
|
|
|
#source /etc/X11/xinit/xinitrc.d/50-systemd-user.h
|
|
|
|
setbg "$HOME/.local/share/wallpapers/" # & # set the background
|
|
# xcompmgr & # xcompmgr for transparency
|
|
# dunst & # dunst for notifications
|
|
# xset r rate 300 50 & # Speed xrate up
|
|
# unclutter & # Remove mouse when idle
|
|
|