feat: add gnome config files

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-30 12:48:25 +05:30
parent d45fd1bdde
commit d10daf9c01
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export QT_QPA_PLATFORM=wayland
export MOZ_ENABLE_WAYLAND=1
fi
# Set some other environment variables
export QT_STYLE_OVERRIDE=kvantum

22
etc/skel/.xinitrc Normal file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# Xinitrc.d
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Start GNOME session
export XDG_SESSION_TYPE=x11
export GDK_BACKEND=x11
exec gnome-session