Compare commits
4 Commits
51efe15fdc
...
85a9762841
Author | SHA1 | Date |
---|---|---|
Massaki Archambault | 85a9762841 | |
Massaki Archambault | 53298f2a8c | |
Massaki Archambault | 6e8385b8a9 | |
Massaki Archambault | 7b4da2e4cf |
|
@ -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
|
||||||
|
@ -145,7 +152,7 @@ input "*" {
|
||||||
|
|
||||||
# Mouse
|
# Mouse
|
||||||
accel_profile flat
|
accel_profile flat
|
||||||
pointer_accel 0
|
pointer_accel -0.4
|
||||||
}
|
}
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
xrandr --output "$(xrandr | grep -Eo '^DP-[0-9]' | head -1)" --primary
|
||||||
|
|
||||||
systemctl --user stop gammastep
|
systemctl --user stop gammastep
|
||||||
sudo systemctl stop docker.service docker.socket
|
sudo systemctl stop docker.service docker.socket
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import-gsettings() {
|
||||||
# list DRM device priority
|
# list DRM device priority
|
||||||
# Set intel graphics as lowest priority
|
# Set intel graphics as lowest priority
|
||||||
# https://github.com/swaywm/sway/wiki#i-have-a-multi-gpu-setup-like-intelnvidia-or-intelamd-and-sway-does-not-start
|
# https://github.com/swaywm/sway/wiki#i-have-a-multi-gpu-setup-like-intelnvidia-or-intelamd-and-sway-does-not-start
|
||||||
export WLR_DRM_DEVICES="$(drm_info -j | jq --raw-output 'to_entries[] | [if .value.driver.desc == "Intel Graphics" then 0 else 1 end, .key] | @tsv' | sort | awk '{printf "%s:", $2}' | sed -e 's/:$//')"
|
export WLR_DRM_DEVICES="$(drm_info -j | jq --raw-output 'to_entries[] | [if .value.driver.desc == "Intel Graphics" then 1 else 0 end, .key] | @tsv' | sort | awk '{printf "%s:", $2}' | sed -e 's/:$//')"
|
||||||
|
|
||||||
# disable hardware cursor (cause mouse to stutter on my setup)
|
# disable hardware cursor (cause mouse to stutter on my setup)
|
||||||
#export WLR_NO_HARDWARE_CURSORS=1
|
#export WLR_NO_HARDWARE_CURSORS=1
|
||||||
|
|
Loading…
Reference in New Issue