From 8740db54043bf08982f5183572cdce266048afe0 Mon Sep 17 00:00:00 2001 From: Ewy~ Date: Mon, 17 Mar 2025 19:13:27 +0100 Subject: incremental improvements --- .config/sway/config.d/dualshock | 4 ++++ .config/sway/config.d/outputs | 2 +- .config/sway/config.d/satty | 10 +++++++++- .config/sway/config.d/soku | 5 +++++ .config/sway/hosts/wit/outputs | 11 +++++++++-- 5 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 .config/sway/config.d/dualshock create mode 100644 .config/sway/config.d/soku (limited to '.config/sway') diff --git a/.config/sway/config.d/dualshock b/.config/sway/config.d/dualshock new file mode 100644 index 0000000..aa5c424 --- /dev/null +++ b/.config/sway/config.d/dualshock @@ -0,0 +1,4 @@ +input type:touchpad { + events disabled +} + diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs index ad45998..276ff5d 100644 --- a/.config/sway/config.d/outputs +++ b/.config/sway/config.d/outputs @@ -1,4 +1,4 @@ output * { - background "$(cat $HOME/.cache/wal/wal)" fill + background "$(cat $HOME/.cache/wal/wal)" fit } diff --git a/.config/sway/config.d/satty b/.config/sway/config.d/satty index 8204049..3d776cd 100644 --- a/.config/sway/config.d/satty +++ b/.config/sway/config.d/satty @@ -1 +1,9 @@ -bindsym $mod+Print exec grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png +bindsym $mod+Print exec uwushot +for_window [app_id="satty"] { + fullscreen disable + move container to output HDMI-A-2 + resize set width 660 + resize set height 400 + move position 32 32 + border none +} diff --git a/.config/sway/config.d/soku b/.config/sway/config.d/soku new file mode 100644 index 0000000..801955c --- /dev/null +++ b/.config/sway/config.d/soku @@ -0,0 +1,5 @@ +for_window [instance="th123.exe"] { + floating enable + resize set 1920x1440 + position set 320,0 +} diff --git a/.config/sway/hosts/wit/outputs b/.config/sway/hosts/wit/outputs index 83bb6bf..9ca558c 100644 --- a/.config/sway/hosts/wit/outputs +++ b/.config/sway/hosts/wit/outputs @@ -1,9 +1,16 @@ -output DP-2 { +set $right "Philips Consumer Electronics Company PHL 243V7 AU01809002092" +set $left "LG Electronics LG ULTRAGEAR+ 303NTZN3Z085" + +output $left { resolution 2560x1440@239.970Hz position 0,0 } +workspace 1 output $left -output HDMI-A-1 { +output $right { resolution 1920x1080@60.000Hz position 2560,0 } +workspace 2 output $right + +exec mako --output "HDMI-A-2" -- cgit v1.3