start using i3

This commit is contained in:
2025-05-07 13:32:55 +02:00
parent 234ed86e89
commit f9429d4454
18 changed files with 11 additions and 3198 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
# load system xinit scripts
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in "/etc/X11/xinit/xinitrc.d"/?*.sh; do
source "$f"
done
unset f
for f in "/etc/X11/xinit/xinitrc.d"/?*.sh; do
source "$f"
done
unset f
fi
#xrandr --setprovideroutputsource modesetting NVIDIA-G0 & # set NVIDIA as primary GPU
@@ -19,5 +19,10 @@ numlockx on # ensure numlock is on before setting keymap
[[ -f "$HOME/.xprofile" ]] && source "$HOME/xprofile" & # load the local xprofile configuration
[[ -f "$HOME/.Xmodmap" ]] && xmodmap "$HOME/.Xmodmap" & # load local keymap
# start the graphical environment (replaces shell)
exec /usr/bin/cinnamon-session
# unlock the keyring
eval "$(/usr/bin/gnome-keyring-daemon --start --components=secrets,ssh,gpg)"
export SSH_AUTH_SOCK
[[ -f "$HOME/.gtkrc-2.0" ]] && xrdb -merge "$HOME/.gtkrc-2.0" # sets the GTK theme
[[ -x /usr/bin/picom ]] && /usr/bin/picom -b # start picom as a background service
exec /usr/bin/i3 # start the graphical environment (replaces shell)