aboutsummaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-11-13 00:16:07 +0800
committerGuangxiong Lin <[email protected]>2022-11-13 00:16:07 +0800
commit1d7640555a1669d74d7fa8112b879efae69b6f97 (patch)
tree06173f6ed347ff760a767768eb49bc8776850fe6 /.config/sway/config
parent03b1f7fac8f5dbe44494f08c773b2372ce0846ea (diff)
downloaddotfiles-1d7640555a1669d74d7fa8112b879efae69b6f97.tar.gz
dotfiles-1d7640555a1669d74d7fa8112b879efae69b6f97.tar.bz2
dotfiles-1d7640555a1669d74d7fa8112b879efae69b6f97.zip
Update config for sway
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config16
1 files changed, 15 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config
index fdd3e57..4f3ed6d 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -29,7 +29,8 @@ default_floating_border pixel 1
font pango:DejaVu Sans Mono 8
-focus_on_window_activation smart
+# https://i3wm.org/docs/userguide.html#focus_on_window_activation
+focus_on_window_activation focus
### Output configuration
#
@@ -233,6 +234,19 @@ bindsym $mod+r mode "resize"
# }
bar swaybar_command waybar
+#
+# Screenshot:
+#
+bindsym $mod+p exec grim -g "$(slurp)"
+bindsym $mod+Shift+p exec grim
+
for_window [title="Origin"] floating enable
+for_window [class="Unity Hub"] floating enable
+for_window [class="Unity"] floating enable
+for_window [class="Steam"] floating enable
+
+#
+# Addons:
+#
include /etc/sway/config.d/*