Compare commits
No commits in common. "8c194df84b69be8475ff8b9a796cd05ad83aeecc" and "1a40104856ddfa50b78628edf7e1c3b3a2f3d15c" have entirely different histories.
8c194df84b
...
1a40104856
7 changed files with 31 additions and 75 deletions
|
@ -1,36 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
modes="std
|
||||
single
|
||||
single-sec"
|
||||
|
||||
portalo_mode_std () {
|
||||
echo "Loading portalo standard screen layout"
|
||||
yadm config --unset-all local.class monitor-single
|
||||
yadm config --unset-all local.class monitor-single-sec
|
||||
}
|
||||
|
||||
portalo_mode_single () {
|
||||
echo "Loading portalo single screen layout"
|
||||
yadm config --unset-all local.class monitor-single-sec
|
||||
yadm config --add local.class monitor-single
|
||||
}
|
||||
|
||||
portalo_mode_single_sec () {
|
||||
echo "Loading portalo single screen layout on secondary screen"
|
||||
yadm config --unset-all local.class monitor-single
|
||||
yadm config --add local.class monitor-single-sec
|
||||
}
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
mode=$(echo "$modes" | $DMENU -p "mode")
|
||||
else
|
||||
mode=$1
|
||||
fi
|
||||
|
||||
case $mode in
|
||||
"std") portalo_mode_std ;;
|
||||
"single") portalo_mode_single ;;
|
||||
"single-sec") portalo_mode_single_sec ;;
|
||||
*) echo "'$mode' is not a valid mode (single, std)" ;;
|
||||
esac
|
17
.bin/portalo-mode
Executable file
17
.bin/portalo-mode
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
portalo_mode_std () {
|
||||
echo "Loading portalo standard screen layout"
|
||||
yadm config --unset-all local.class monitor-single
|
||||
}
|
||||
|
||||
portalo_mode_single () {
|
||||
echo "Loading portalo single screen layout"
|
||||
yadm config --add local.class monitor-single
|
||||
}
|
||||
|
||||
case $1 in
|
||||
std) portalo_mode_std ;;
|
||||
single) portalo_mode_single ;;
|
||||
*) echo "'$1' is not a valid-setup (single, std)" ;;
|
||||
esac
|
|
@ -10,7 +10,6 @@ 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
|
||||
|
|
|
@ -1,8 +1,20 @@
|
|||
$mon1 = DP-1
|
||||
$mon2 = HDMI-A-1
|
||||
$mon = $mon1
|
||||
|
||||
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
|
||||
|
||||
monitor = $mon1,2560x1440@144,0x0,auto
|
||||
monitor = $mon2,disable
|
||||
|
||||
source = ~/.config/hypr/lib/single_mon.conf
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws08 $mon1
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws09 $mon1
|
||||
exec = hyprctl dispatch moveworkspacetomonitor $ws10 $mon1
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
$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
|
|
@ -16,13 +16,6 @@ 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
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
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
|
Loading…
Reference in a new issue