sisyphus/stow/sway/.config/sway/config

58 lines
1.1 KiB
Text

#
# .config/sway/config
# Personal config for sway
# Requires noto-fonts-cjk
#
# Import other config files
include {
commands
modes
style
}
# Input
input type:keyboard {
xkb_layout "be"
}
input 2:7:SynPS/2_Synaptics_TouchPad {
natural_scroll enabled
scroll_factor 0.6
middle_emulation enabled
tap enabled
}
seat seat0 hide_cursor when-typing enable
# Output
output * {
bg "~/Pictures/wallpapers/bg.*" fill
}
output 'Dell Inc. DELL P2214H 29C2937M4YTL' {
# Vertical monitor
transform 270
}
output 'Samsung Electric Company SAMSUNG 0x00000001' {
# Zoom in because long distance
scale 2
}
# Focus
focus_follows_mouse no
floating_modifier Mod4 normal
# Window rules
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [class="Qalculate"] floating enable
for_window [class="Caprine"] floating enable, border normal 2
for_window [title="^FZF-Jump$"] floating enable, border pixel 0, resize set 600 350
for_window [class="^Betterbird$"] move container to workspace "11:Soc"
exec "~/.config/sway/autostart.sh"