mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[i3/mon-toggle] update for new monitor
This commit is contained in:
parent
680c723a99
commit
126a960395
2 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
intern=LVDS1
|
intern=LVDS1
|
||||||
extern=VGA1
|
extern=HDMI3
|
||||||
|
|
||||||
if xrandr | grep "$extern disconnected"; then
|
if xrandr | grep "$extern disconnected"; then
|
||||||
xrandr --output "$extern" --off --output "$intern" --auto --primary
|
xrandr --output "$extern" --off --output "$intern" --auto --primary
|
||||||
else
|
else
|
||||||
xrandr --output "$intern" --auto --pos 0x150 --output "$extern" --primary --auto --pos 1600x0 --output HDMI1 --auto --output DP1 --auto
|
xrandr --output "$intern" --auto --pos 0x180 --output "$extern" --primary --auto --pos 1600x0 --output VGA1 --auto --output HDMI1 --auto --output DP1 --auto
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -112,7 +112,7 @@ bindsym $mod+Shift+r restart
|
||||||
bindsym $mod+Shift+e exit
|
bindsym $mod+Shift+e exit
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec TERMINAL=alacritty i3-sensible-terminal
|
bindsym $mod+Return exec WINIT_HIDPI_FACTOR=1 TERMINAL=alacritty i3-sensible-terminal
|
||||||
|
|
||||||
# screensaver
|
# screensaver
|
||||||
bindsym $mod+z exec ~/.local/bin/lockscreen -fl
|
bindsym $mod+z exec ~/.local/bin/lockscreen -fl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue