feat(sway): add multi host multi output support
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -55,6 +55,7 @@ ghostty/*
|
||||
sway/*
|
||||
!sway/config
|
||||
!sway/config.d
|
||||
!sway/host.d
|
||||
|
||||
!swaylock
|
||||
swaylock/*
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
include host.d/"$(hostname)".conf
|
||||
include config.d/*
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
default_floating_border pixel 1
|
||||
default_floating_border normal 1
|
||||
default_border normal 1
|
||||
|
||||
# class border bground text indicator child_border
|
||||
@@ -8,4 +8,4 @@ client.unfocused $bg1 $bg1 $gray $bg1 $bg1
|
||||
client.urgent $red $red $bg0 $red $red
|
||||
client.placeholder $bg1 $bg1 $fg $bg1 $bg1
|
||||
|
||||
font pango:JetBrains Mono Nerd Font 10
|
||||
font pango:JetBrains Mono Nerd Font 14
|
||||
|
||||
@@ -49,6 +49,17 @@ bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
bindsym $mod+Shift+0 move container to workspace number 10
|
||||
|
||||
bindsym $mod+Ctrl+1 workspace number 1 output current
|
||||
bindsym $mod+Ctrl+2 workspace number 2 output current
|
||||
bindsym $mod+Ctrl+3 workspace number 3 output current
|
||||
bindsym $mod+Ctrl+4 workspace number 4 output current
|
||||
bindsym $mod+Ctrl+5 workspace number 5 output current
|
||||
bindsym $mod+Ctrl+6 workspace number 6 output current
|
||||
bindsym $mod+Ctrl+7 workspace number 7 output current
|
||||
bindsym $mod+Ctrl+8 workspace number 8 output current
|
||||
bindsym $mod+Ctrl+9 workspace number 9 output current
|
||||
bindsym $mod+Ctrl+0 workspace number 10 output current
|
||||
|
||||
# layout
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
2
sway/host.d/matej-tower.conf
Normal file
2
sway/host.d/matej-tower.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
output HDMI-A-1 resolution 2560x1440 position 0,0
|
||||
output DP-2 resolution 2560x1440 position 2560,0
|
||||
Reference in New Issue
Block a user