sway: fix hardcoded paths, autotiling exec, monitors typo

This commit is contained in:
Jonas H
2026-02-27 23:28:22 +01:00
parent 314427dfd6
commit 3c2cd3ffd1
4 changed files with 12 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec_always /home/jonas/.pyenv/shims/autotiling -l 2 exec_always autotiling -l 2
exec_always eww daemon && (eww open bar0 || true) && (eww open bar1 || true) exec_always eww daemon && (eww open bar0 || true) && (eww open bar1 || true)
exec_always mako exec_always mako
@@ -13,10 +13,10 @@ exec sh -c 'sleep 1 && timeout 0.05 speaker-test -t sine -f 800 >/dev/null 2>&1
mouse_warping container mouse_warping container
focus_on_window_activation focus focus_on_window_activation focus
include /home/jonas/.config/sway/windowrules include $HOME/.config/sway/windowrules
include /home/jonas/.config/sway/look include $HOME/.config/sway/look
include /home/jonas/.config/sway/monitors include $HOME/.config/sway/monitors
include /home/jonas/.config/sway/input include $HOME/.config/sway/input
### Variables ### Variables
set $mod Mod4 set $mod Mod4

View File

@@ -1,4 +1,5 @@
# MACHINE-SPECIFIC: dk_mac_fixed is a custom layout. Change to e.g. `dk` on standard hardware.
input * { input * {
xkb_layout dk_mac_fixed xkb_layout dk_mac_fixed
xkb_options lv3:lalt_switch xkb_options lv3:lalt_switch

View File

@@ -1,4 +1,4 @@
include /home/jonas/.config/colors include $HOME/.config/colors
default_border pixel 2 default_border pixel 2
default_floating_border none default_floating_border none
@@ -15,7 +15,7 @@ client.unfocused $bg_inactive $bg_inactive $bg_inactive $bg_inactive $bg_
client.urgent $urgent $urgent $urgent $urgent $urgent client.urgent $urgent $urgent $urgent $urgent $urgent
client.placeholder $bg_inactive $bg_inactive $bg_inactive $bg_inactive $bg_inactive client.placeholder $bg_inactive $bg_inactive $bg_inactive $bg_inactive $bg_inactive
#swayfx # SwayFX-only directives — requires swayfx, ignored/errors on plain sway
corner_radius 5 corner_radius 5
default_dim_inactive 0.15 default_dim_inactive 0.15

View File

@@ -1,8 +1,11 @@
# MACHINE-SPECIFIC: output names and resolutions vary per device.
# Run `swaymsg -t get_outputs` to find your output names.
set $res_x 3024 set $res_x 3024
set $res_y 1890 set $res_y 1890
set $resolution 3024x1890
set $scale 1.5 set $scale 1.5
output eDP-1 resolution $res_xx$res_y position 0,1445 scale $scale output eDP-1 resolution $resolution position 0,1445 scale $scale
output HDMI-A-1 position 0,0 scale 1.5 output HDMI-A-1 position 0,0 scale 1.5