1
0
Fork 0

Compare commits

..

No commits in common. "85a9762841c4fa57e04d8cef5f7792d2f8bb6386" and "51efe15fdcf6f03963d825bc178612f3163bc334" have entirely different histories.

3 changed files with 6 additions and 17 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 "TV" set $ws10 10
# default workspace # default workspace
workspace $ws2 workspace $ws2
@ -99,6 +99,7 @@ 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
@ -115,14 +116,6 @@ 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
@ -152,7 +145,7 @@ input "*" {
# Mouse # Mouse
accel_profile flat accel_profile flat
pointer_accel -0.4 pointer_accel 0
} }
### Key bindings ### Key bindings
@ -160,7 +153,7 @@ input "*" {
bindsym $mod+Return exec $terminal bindsym $mod+Return exec $terminal
# thunar # thunar
bindsym $mod+Mod1+Return exec dolphin bindsym $mod+Mod1+Return exec thunar
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
@ -252,9 +245,6 @@ 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

View File

@ -1,6 +1,5 @@
#!/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

View File

@ -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 1 else 0 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 0 else 1 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