mirror of
https://github.com/Snigdha-OS/snigdhaos-gnome-config.git
synced 2025-09-22 05:04:55 +02:00
feat: add gnome config files
This commit is contained in:
9
etc/profile.d/environment.sh
Normal file
9
etc/profile.d/environment.sh
Normal 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
22
etc/skel/.xinitrc
Normal 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
|
Reference in New Issue
Block a user