sway: move scratchpad to main output

set $main with

```
swaymsg 'set "$main" Samsung Electric Company SyncMaster H9XS802562'
```
This commit is contained in:
Konstantin Koslowski 2022-07-18 12:38:50 +02:00
parent 42f359c4ff
commit 363703b5b3
4 changed files with 20 additions and 10 deletions

18
config
View file

@ -218,12 +218,18 @@ gaps right 0
# Move the currently focused window to the scratchpad # Move the currently focused window to the scratchpad
bindsym $mod+Shift+s move scratchpad bindsym $mod+Shift+s move scratchpad
bindsym $mod+Ctrl+s scratchpad show bindsym $mod+Ctrl+s scratchpad show
bindsym $mod+a [con_mark="a" tiling=True] focus; [con_mark="a" floating=True] scratchpad show; bindsym $mod+a [con_mark="a" tiling=True] focus; [con_mark="a" floating=True] focus output $main; \
bindsym $mod+s [con_mark="s" tiling=True] focus; [con_mark="s" floating=True] scratchpad show; [con_mark="a" floating=True] scratchpad show;
bindsym $mod+d [con_mark="d" tiling=True] focus; [con_mark="d" floating=True] scratchpad show; bindsym $mod+s [con_mark="s" tiling=True] focus; [con_mark="s" floating=True] focus output $main; \
bindsym $mod+z [con_mark="z" tiling=True] focus; [con_mark="z" floating=True] scratchpad show; [con_mark="s" floating=True] scratchpad show;
bindsym $mod+x [con_mark="x" tiling=True] focus; [con_mark="x" floating=True] scratchpad show; bindsym $mod+d [con_mark="d" tiling=True] focus; [con_mark="d" floating=True] focus output $main; \
bindsym $mod+c [con_mark="c" tiling=True] focus; [con_mark="c" floating=True] scratchpad show; [con_mark="d" floating=True] scratchpad show;
bindsym $mod+z [con_mark="z" tiling=True] focus; [con_mark="z" floating=True] focus output $main; \
[con_mark="z" floating=True] scratchpad show;
bindsym $mod+x [con_mark="x" tiling=True] focus; [con_mark="x" floating=True] focus output $main; \
[con_mark="x" floating=True] scratchpad show;
bindsym $mod+c [con_mark="c" tiling=True] focus; [con_mark="c" floating=True] focus output $main; \
[con_mark="c" floating=True] scratchpad show;
# #
# Notifications # Notifications

View file

@ -1,20 +1,22 @@
### 7DPQTN2 specific settings ### 7DPQTN2 specific settings
# vim: ft=i3 # vim: ft=i3
set $intern "Chimei Innolux Corporation 0x1416 0x00000000" set $intern "Chimei Innolux Corporation 0x1416 0x00000000"
# set $extern-24-1 "Dell Inc. DELL E2422HS H1RYFM3" set $extern-24-1 "Dell Inc. DELL E2422HS H1RYFM3"
set $extern-24-2 "Dell Inc. DELL E2422HS H1RYFM3" set $extern-24-2 "Samsung Electric Company SyncMaster H9XS802562"
set $extern-24-3 "Dell Inc. DELL E2422HS H1VWFM3" set $extern-24-3 "Dell Inc. DELL E2422HS H1VWFM3"
set $extern-13 "Unknown CX133 0x00000001" set $extern-13 "Unknown CX133 0x00000001"
set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912" set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912"
set $main $extern-24-2
### Output configuration ### Output configuration
output $intern mode 1920x1080 output $intern mode 1920x1080
# output $extern-24-2 mode 1920x1080 output $extern-24-1 mode 1920x1080
output $extern-24-2 mode 1920x1080 output $extern-24-2 mode 1920x1200
output $extern-24-3 mode 1920x1080 output $extern-24-3 mode 1920x1080
output $extern-13 mode 2560x1600 scale 1.6 output $extern-13 mode 2560x1600 scale 1.6
output $extern-38 mode 3840x1600 output $extern-38 mode 3840x1600
bindswitch --reload --locked lid:on output $intern disable bindswitch --reload --locked lid:on output $intern disable
bindswitch --reload --locked lid:off output $intern enable bindswitch --reload --locked lid:off output $intern enable

View file

@ -2,6 +2,7 @@
### annoyance specific settings ### annoyance specific settings
set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912" set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912"
set $extern-13 "Unknown CX133 0x00000001" set $extern-13 "Unknown CX133 0x00000001"
set $main $extern-38
### Output configuration ### Output configuration
output $extern-38 mode 3840x1600 output $extern-38 mode 3840x1600

View file

@ -3,6 +3,7 @@
set $intern "Unknown 0x5B2D 0x00000000" set $intern "Unknown 0x5B2D 0x00000000"
set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912" set $extern-38 "Goldstar Company Ltd 38GN950 008NTLEFY912"
set $extern-13 "Unknown CX133 0x00000001" set $extern-13 "Unknown CX133 0x00000001"
set $main $extern-38
### Output configuration ### Output configuration
output $intern mode 1920x1080 output $intern mode 1920x1080