Compare commits

...

2 Commits

Author SHA1 Message Date
exu
0bef352557 Add F1-4 for secondary monitor workspaces 2023-11-25 11:00:23 +01:00
exu
1a6ebd2f2e Set workspaces per output and define variables 2023-11-25 11:00:06 +01:00

View File

@ -65,14 +65,29 @@ input "1133:16500:Logitech_G305" pointer_accel -0.3
########## Outputs ###########
##############################
# You can get the names of your outputs by running: swaymsg -t get_outputs
output "Acer Technologies XV272U V R307036FE4208" mode 2560x1440@170Hz
output "Acer Technologies XV272U V R307036FE4208" scale 1.2
output "Acer Technologies XV272U V R307036FE4208" subpixel rgb
output "Acer Technologies XV272U V R307036FE4208" adaptive_sync on
set $output-1 "Acer Technologies XV272U V R307036FE4208"
output $output-1 mode 2560x1440@170Hz
output $output-1 scale 1.2
output $output-1 subpixel rgb
output $output-1 adaptive_sync on
output "Dell Inc. DELL P2419H GDZ22Y2" mode 1920x1080@60Hz
output "Dell Inc. DELL P2419H GDZ22Y2" scale 1.0
output "Dell Inc. DELL P2419H GDZ22Y2" subpixel rgb
set $output-2 "Dell Inc. DELL P2419H GDZ22Y2"
output $output-2 mode 1920x1080@60Hz
output $output-2 scale 1.0
output $output-2 subpixel rgb
# workspace to displays
workspace 1 output $output-1
workspace 2 output $output-1
workspace 3 output $output-1
workspace 4 output $output-1
workspace 5 output $output-1
workspace 6 output $output-1
workspace 7 output $output-2
workspace 8 output $output-2
workspace 9 output $output-2
workspace 10 output $output-2
##############################
############ Idle ############
@ -147,6 +162,10 @@ bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+F1 workspace number 7
bindsym $mod+F2 workspace number 8
bindsym $mod+F3 workspace number 9
bindsym $mod+F4 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1; workspace 1
@ -159,6 +178,10 @@ bindsym $mod+Shift+7 move container to workspace number 7; workspace 7
bindsym $mod+Shift+8 move container to workspace number 8; workspace 8
bindsym $mod+Shift+9 move container to workspace number 9; workspace 9
bindsym $mod+Shift+0 move container to workspace number 10; workspace 10
bindsym $mod+Shift+F1 move container to workspace number 7; workspace 7
bindsym $mod+Shift+F2 move container to workspace number 8; workspace 8
bindsym $mod+Shift+F3 move container to workspace number 9; workspace 9
bindsym $mod+Shift+F4 move container to workspace number 10; workspace 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.