Add new monitor mode to portalo and better integrate host-mode script

This commit is contained in:
Tobias Reisinger 2024-05-20 19:46:52 +02:00
parent 1a40104856
commit 5b8cbe7703
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 75 additions and 31 deletions

View file

@ -10,6 +10,7 @@ bind = $main_mod, F, fullscreen,
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
bind = $main_mod, Pause, exec, menu-shutdown
bind = $main_mod, T, exec, ts-control
bind = $main_mod, M, exec, host-mode
bind = $main_mod, C, exec, [float] $TERMINAL -e python
# Screenshot / Color picker

View file

@ -1,20 +1,8 @@
$mon1 = DP-1
$mon2 = HDMI-A-1
workspace=$ws01, monitor:$mon1, default:true
workspace=$ws02, monitor:$mon1
workspace=$ws03, monitor:$mon1
workspace=$ws04, monitor:$mon1
workspace=$ws05, monitor:$mon1
workspace=$ws06, monitor:$mon1
workspace=$ws07, monitor:$mon1
workspace=$ws08, monitor:$mon1
workspace=$ws09, monitor:$mon1
workspace=$ws10, monitor:$mon1
$mon = $mon1
monitor = $mon1,2560x1440@144,0x0,auto
monitor = $mon2,disable
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon1
source = ~/.config/hypr/lib/single_mon.conf

View file

@ -0,0 +1,8 @@
$mon1 = DP-1
$mon2 = HDMI-A-1
$mon = $mon2
monitor = $mon1,disable
monitor = $mon2,1920x1080@60,0x0,auto
source = ~/.config/hypr/lib/single_mon.conf

View file

@ -16,6 +16,13 @@ workspace=$ws10, monitor:$mon2
monitor = $mon1,2560x1440@144,1920x0,auto
monitor = $mon2,1920x1080@60,0x0,auto
exec = hyprctl dispatch moveworkspacetomonitor $ws01 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws02 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws03 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws04 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws05 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws06 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws07 $mon1
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon2
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon2
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon2

View file

@ -0,0 +1,21 @@
workspace=$ws01, monitor:$mon, default:true
workspace=$ws02, monitor:$mon
workspace=$ws03, monitor:$mon
workspace=$ws04, monitor:$mon
workspace=$ws05, monitor:$mon
workspace=$ws06, monitor:$mon
workspace=$ws07, monitor:$mon
workspace=$ws08, monitor:$mon
workspace=$ws09, monitor:$mon
workspace=$ws10, monitor:$mon
exec = hyprctl dispatch moveworkspacetomonitor $ws01 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws02 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws03 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws04 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws05 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws06 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws07 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon