Fix monitor configs
This commit is contained in:
parent
b75e692b60
commit
db15c95662
5 changed files with 8 additions and 19 deletions
|
@ -3,14 +3,11 @@
|
|||
modes="monitor-std
|
||||
monitor-single
|
||||
monitor-single-sec
|
||||
monitor-fhd
|
||||
zellij"
|
||||
|
||||
portalo_mode_monitor () {
|
||||
echo "Loading portalo monitor layout ${1:-std}"
|
||||
yadm config --unset-all local.class monitor-single
|
||||
yadm config --unset-all local.class monitor-single-sec
|
||||
yadm config --unset-all local.class monitor-fhd
|
||||
yadm config --unset-all local.class monitor-*
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
yadm config --add local.class "$1"
|
||||
|
@ -33,10 +30,8 @@ else
|
|||
fi
|
||||
|
||||
case $mode in
|
||||
"monitor-std") portalo_mode_monitor ;;
|
||||
"monitor-single") portalo_mode_monitor "$mode" ;;
|
||||
"monitor-single-sec") portalo_mode_monitor "$mode" ;;
|
||||
"monitor-fhd") portalo_mode_monitor "$mode" ;;
|
||||
"monitor-std") portalo_mode_monitor ;;
|
||||
"monitor-"*) portalo_mode_monitor "$mode" ;;
|
||||
"zellij") portalo_mode_zellij ;;
|
||||
*) echo "'$mode' is not a valid mode (single, std)" ;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
$mon1 = DP-1
|
||||
$mon2 = HDMI-A-1
|
||||
|
||||
monitor = $mon1,1920x1080@144,1920x0,auto
|
||||
monitor = $mon2,1920x1080@60,0x0,auto
|
||||
|
||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
|
@ -3,6 +3,7 @@ $mon2 = HDMI-A-1
|
|||
$mon = $mon1
|
||||
|
||||
monitor = $mon1,2560x1440@144,0x0,auto
|
||||
monitor = $mon1,1920x1080@60,0x0,auto
|
||||
monitor = $mon2,disable
|
||||
|
||||
source = ~/.config/hypr/lib/single_mon.conf
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
$mon1 = DP-1
|
||||
$mon2 = HDMI-A-1
|
||||
|
||||
monitor = $mon1,2560x1440@144,1920x0,auto
|
||||
monitor = $mon1,1920x1080@60,1920x0,auto
|
||||
monitor = $mon2,1920x1080@60,0x0,auto
|
||||
|
||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
||||
|
|
|
@ -10,6 +10,6 @@ try:
|
|||
except:
|
||||
pass
|
||||
|
||||
import socket
|
||||
if socket.gethostname() == 'portalo':
|
||||
c.zoom.default = 125
|
||||
#import socket
|
||||
#if socket.gethostname() == 'portalo':
|
||||
# c.zoom.default = 125
|
||||
|
|
Loading…
Reference in a new issue