mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-30 01:35:34 +00:00
Monitor hack
This commit is contained in:
parent
bbe3dafed0
commit
bf7e1fb223
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
i3/config
|
i3/config
|
||||||
|
i3/settings.conf
|
||||||
|
@ -11,4 +11,8 @@ workspace $ws9 output DVI-D-0
|
|||||||
workspace $ws10 output DP-2
|
workspace $ws10 output DP-2
|
||||||
|
|
||||||
# Set caps lock key to super
|
# Set caps lock key to super
|
||||||
exec setxkbmap -option 'caps:super'
|
exec_always --no-startup-id setxkbmap -option 'caps:super'
|
||||||
|
|
||||||
|
# Hack to make all three monitors start up on login
|
||||||
|
exec_always --no-startup-id sleep 1 && sh ~/.config/screenlayout/off.sh
|
||||||
|
exec_always --no-startup-id sleep 2 && sh ~/.config/screenlayout/main.sh && xrandr --dpi 110
|
||||||
|
@ -4,5 +4,3 @@
|
|||||||
. ~/.config/i3/settings.conf
|
. ~/.config/i3/settings.conf
|
||||||
|
|
||||||
cat ~/.config/i3/shared.conf ~/.config/i3/${computer}.conf > ~/.config/i3/config
|
cat ~/.config/i3/shared.conf ~/.config/i3/${computer}.conf > ~/.config/i3/config
|
||||||
|
|
||||||
i3-msg restart
|
|
||||||
|
2
screenlayout/main.sh
Executable file
2
screenlayout/main.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 6000x1288 --rotate normal --output HDMI-0 --off --output DP-5 --off --output DP-4 --mode 3840x2160 --pos 2160x1288 --rotate normal --output DP-3 --off --output DP-2 --mode 3840x2160 --pos 0x0 --rotate left --output DP-1 --off --output DP-0 --off
|
2
screenlayout/off.sh
Executable file
2
screenlayout/off.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output DVI-D-0 --primary --mode 1920x1080 --pos 6000x1288 --rotate normal --output HDMI-0 --off --output DP-5 --off --output DP-4 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --off
|
Loading…
x
Reference in New Issue
Block a user