-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.xinitrc
37 lines (28 loc) · 810 Bytes
/
.xinitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
pacman -Ss lib32-nvidia-libgl | grep \\[ > /dev/null
#NVIDIA_LIBGL=$?
#NVIDIA_LIBGL=0
if [[ $NVIDIA_LIBGL -eq 0 ]]
then
# NVIDIA LIBGL
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --setprovideroffloadsink nouveau Intel
xrandr --auto
xrandr --output VGA-1-0 --addmode VGA-1-0 1920x1080
else
# MESA WITH BUMBLEBEE
# echo a
# xcompmgr
xrandr --output VGA1 --addmode VGA1 1920x1080
fi
export LANG=uk_UA.UTF8
setxkbmap 'us,ru,ua' -option grp:lalt_lshift_toggle -option numpad:microsoft
dbus-update-activation-environment --all
# startlxde
#startxfce4
qtile > ~/.qtile.log
# Old commands - just in case...
# xrandr --output VGA1 --right-of LVDS-1-0 --pos 1366x432
# nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUCurrentFanSpeed=n"
# mate-session
#xterm