mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
(x11): remove references to nvidia prime offloading, and remove comments
This commit is contained in:
parent
e86bfe8f04
commit
d72e6ba19c
7
.xinitrc
7
.xinitrc
|
@ -2,21 +2,14 @@
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
# Startup services and programs
|
|
||||||
[ -f "$XDG_DATA_HOME/screenlayout" ] && . "$XDG_DATA_HOME/screenlayout"
|
[ -f "$XDG_DATA_HOME/screenlayout" ] && . "$XDG_DATA_HOME/screenlayout"
|
||||||
[ -f "$XDG_DATA_HOME/wallpaper" ] && xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
[ -f "$XDG_DATA_HOME/wallpaper" ] && xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
|
||||||
xrdb "$HOME/.Xresources"
|
xrdb "$HOME/.Xresources"
|
||||||
runsvdir "$SVDIR" &
|
runsvdir "$SVDIR" &
|
||||||
|
|
||||||
# Input mappings
|
|
||||||
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
|
||||||
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0.2
|
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0.2
|
||||||
setxkbmap -option caps:escape
|
setxkbmap -option caps:escape
|
||||||
xsetroot -cursor_name left_ptr
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
# PRIME offloading
|
|
||||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
|
||||||
export __GLX_VENDOR_LIBRARY_NAME="nvidia"
|
|
||||||
|
|
||||||
# Desktop session
|
|
||||||
exec dbus-launch --sh-syntax --exit-with-session xmonad
|
exec dbus-launch --sh-syntax --exit-with-session xmonad
|
||||||
|
|
Loading…
Reference in a new issue