update to display setup in X & i3 to use nvidia as primary gpu
This commit is contained in:
parent
553c7bc4e1
commit
de8d936273
7
X/.xprofile
Normal file
7
X/.xprofile
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-G0
|
||||
xrandr --auto
|
||||
xrandr --output DP-0 --primary
|
||||
xrandr --output DP-2 --left-of DP-0
|
||||
xrandr --output DP-1-3 --right-of DP-0
|
||||
|
@ -19,7 +19,7 @@ set $mod Mod4
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
font pango:FiraCode Nerd Font Mono 8
|
||||
|
||||
exec --no-startup-id ~/.config/i3/setup_monitors.sh
|
||||
#exec --no-startup-id ~/.config/i3/setup_monitors.sh
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
# Start XDG autostart .desktop files using dex. See also
|
||||
@ -130,16 +130,16 @@ set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
workspace 1 output DP-1
|
||||
workspace 2 output DP-1-0
|
||||
workspace 3 output DP-1-2
|
||||
workspace 4 output DP-1
|
||||
workspace 5 output DP-1-0
|
||||
workspace 6 output DP-1-2
|
||||
workspace 7 output DP-1
|
||||
workspace 8 output DP-1-0
|
||||
workspace 9 output DP-1-2
|
||||
workspace 10 output DP-1
|
||||
workspace 1 output DP-0
|
||||
workspace 2 output DP-2
|
||||
workspace 3 output DP-1-3
|
||||
workspace 4 output DP-0
|
||||
workspace 5 output DP-2
|
||||
workspace 6 output DP-1-3
|
||||
workspace 7 output DP-0
|
||||
workspace 8 output DP-2
|
||||
workspace 9 output DP-1-3
|
||||
workspace 10 output DP-0
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+ampersand workspace number $ws1
|
||||
@ -199,6 +199,6 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
exec --no-startup-id i3-msg 'workspace 1; exec alacritty; workspace 2; exec firefox; workspace 9; exec thunderbird'
|
||||
exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 9; exec thunderbird'
|
||||
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
xrandr --output DP-1 --primary
|
||||
xrandr --output DP-1-0 --left-of DP-1 --auto
|
||||
xrandr --output DP-1-2 --right-of DP-1 --auto
|
Loading…
Reference in New Issue
Block a user