added display projection mode

This commit is contained in:
2023-09-21 15:56:16 +02:00
parent 6a3d1f157b
commit 6028216665
2 changed files with 14 additions and 1 deletions

View File

@@ -254,4 +254,15 @@ for_window [class="OVPN"] floating enable
# for_window [class="Firefox"] border none
# for_window [class="Geary"] border pixel 0
# for_window [class="Lmms"] border pixel 0
# for_window [class="Feh"] border pixel 0
# for_window [class="Feh"] border pixel 0
# resize window (you can also use the mouse for that)
mode "project" {
bindsym s exec ~/.config/screenlayout/bepis-steamlink.sh
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+Shift+p mode "default"
}
bindsym $mod+Shift+p mode "project"

View File

@@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-0 --off --output DP-1 --off --output DVI-D-0 --off