diff --git a/X/.xprofile b/X/.xprofile new file mode 100644 index 0000000..dc22ad9 --- /dev/null +++ b/X/.xprofile @@ -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 + diff --git a/i3/.config/i3/config b/i3/.config/i3/config index e97e8a1..e28fead 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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' diff --git a/i3/.config/i3/setup_monitors.sh b/i3/.config/i3/setup_monitors.sh deleted file mode 100755 index f8a644e..0000000 --- a/i3/.config/i3/setup_monitors.sh +++ /dev/null @@ -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