all repos — dotfiles @ e2c7f07f60a8c604c5c445507fc9862a88c9c81a

linux dotfiles

Changed xrander commands
prithugoswami prithugoswami524@gmail.com
Fri, 18 May 2018 13:41:57 +0530
commit

e2c7f07f60a8c604c5c445507fc9862a88c9c81a

parent

5119be5bf9c211ce012195dc398fd3768fd69d6b

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M i3/configi3/config

@@ -200,15 +200,15 @@ # it used to set the the respective position of the monitor. That command is then executed at startup

# I am sure most of the flags given to xrandr command are redundant but I am not aware of that atm # It's just is what the arandr utility spit out -set $monitor_top "xrandr --output HDMI1 --mode 1280x1024 --pos 40x0 --rotate normal --output DP1 --off --output eDP1 --primary --mode 1366x768 --pos 0x1024 --rotate normal --output VIRTUAL1 --off" +set $monitor_top "xrandr --output HDMI-1 --mode 1280x1024 --pos 46x0 --rotate normal --output eDP-1 --mode 1366x768 --pos 0x1024 --rotate normal" -set $monitor_right "xrandr --output HDMI1 --mode 1280x1024 --pos 1366x768 --rotate normal --output DP1 --off --output eDP1 --primary --mode 1366x768 --pos 0x1024 --rotate normal --output VIRTUAL1 --off" +set $monitor_right "xrandr --output HDMI-1 --mode 1280x1024 --pos 1366x0 --rotate normal --output eDP-1 --mode 1366x768 --pos 0x0 --rotate normal" -set $monitor_none "xrandr --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 1366x768 --pos 0x1024 --rotate normal --output VIRTUAL1 --off" +set $monitor_none "xrandr --output HDMI-1 --off --output eDP-1 --mode 1366x768 --pos 0x0 --rotate normal" -set $monitor_duplicate "xrandr --output eDP1 --primary --mode 1366x768 --scale 1x1 --output HDMI1 --same-as eDP1 --mode 1280x1024 --scale 0.75x0.75" +set $monitor_duplicate "xrandr --output eDP-1 --primary --mode 1366x768 --scale 1x1 --output HDMI-1 --same-as eDP1 --mode 1280x1024 --scale 0.75x0.75" -set $monitor_right_r_left "xrandr --output HDMI1 --mode 1280x1024 --pos 1370x768 --rotate left --output DP1 --off --output eDP1 --primary --mode 1366x768 --pos 0x1024 --rotate normal --output VIRTUAL1 --off" +set $monitor_right_r_left "xrandr --output HDMI-1 --mode 1280x1024 --pos 1370x768 --rotate left --output eDP-1 --primary --mode 1366x768 --pos 0x1024 --rotate normal" # sets the monitor to the top bindsym $mod+Shift+t exec $monitor_top , exec $fehbg , exec echo $monitor_top > ~/.screenlayout/last_layout