2021-04-07 22:56:28 +01:00
|
|
|
#!/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.
|
|
|
|
|
|
2021-11-23 19:41:42 +00:00
|
|
|
grep Zorin /etc/lsb-release >/dev/null && exit
|
|
|
|
|
|
2024-01-21 17:42:05 +00:00
|
|
|
# xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Use Xresources colors/settings on startup
|
2021-05-16 12:43:18 +01:00
|
|
|
|
2024-01-21 17:42:05 +00:00
|
|
|
# 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
|
2021-05-16 12:43:18 +01:00
|
|
|
|
2024-01-21 17:42:05 +00:00
|
|
|
# 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
|
2021-05-17 21:08:47 +01:00
|
|
|
|
2021-05-23 20:32:50 +01:00
|
|
|
#source /etc/X11/xinit/xinitrc.d/50-systemd-user.h
|
|
|
|
|
|
2024-01-21 17:42:05 +00:00
|
|
|
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
|
2021-06-06 13:25:25 +01:00
|
|
|
|