1
0
Fork 0

add support for tv in sway

This commit is contained in:
Massaki Archambault 2024-06-18 12:09:41 -04:00
parent 53298f2a8c
commit 85a9762841
1 changed files with 13 additions and 3 deletions

View File

@ -26,7 +26,7 @@ set $ws6 6
set $ws7 7 set $ws7 7
set $ws8 8 set $ws8 8
set $ws9 9 set $ws9 9
set $ws10 10 set $ws10 "TV"
# default workspace # default workspace
workspace $ws2 workspace $ws2
@ -99,7 +99,6 @@ workspace $ws6 output $output1 VGA-1
workspace $ws7 output $output1 VGA-1 workspace $ws7 output $output1 VGA-1
workspace $ws8 output $output1 VGA-1 workspace $ws8 output $output1 VGA-1
workspace $ws9 output $output1 VGA-1 workspace $ws9 output $output1 VGA-1
workspace $ws10 output $output1 VGA-1
workspace sunshine output $output1 VGA-1 workspace sunshine output $output1 VGA-1
output $output1 { output $output1 {
position 0 270 position 0 270
@ -116,6 +115,14 @@ output $output2 {
transform 270 transform 270
} }
set $output3 "Sony SONY TV *30 0x01010101"
workspace $ws10 output $output3
output $output3 {
mode 3840x2160@120Hz
adaptive_sync on
disable
}
### Input configuration ### Input configuration
# mod key # mod key
set $mod Mod4 set $mod Mod4
@ -153,7 +160,7 @@ input "*" {
bindsym $mod+Return exec $terminal bindsym $mod+Return exec $terminal
# thunar # thunar
bindsym $mod+Mod1+Return exec thunar bindsym $mod+Mod1+Return exec dolphin
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@ -245,6 +252,9 @@ bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10 bindsym $mod+Shift+0 move container to workspace $ws10
# toggle TV
bindsym $mod+Alt+0 output $output3 toggle
# Assignation # Assignation
assign [class="^[Ss]lack$"] $ws1 assign [class="^[Ss]lack$"] $ws1
assign [class="^[Dd]iscord$"] $ws1 assign [class="^[Dd]iscord$"] $ws1