dotfiles/home/dot_config/sway/config.tmpl

35 lines
772 B
Cheetah
Raw Normal View History

2024-09-28 21:02:31 +01:00
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
2025-10-03 11:53:53 +01:00
set $term footclient
2024-09-28 21:02:31 +01:00
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
2025-04-23 11:49:57 +01:00
set $menu wofi --show drun --gtk-dark | xargs swaymsg exec --
2025-04-23 22:44:41 +01:00
set $bg /usr/share/backgrounds/archlinux/wild.png
2024-09-28 21:02:31 +01:00
2025-04-24 11:42:53 +01:00
include /etc/sway/config-vars.d/*
include ~/.config/sway/config.d/*
2024-09-28 21:02:31 +01:00
include /etc/sway/config.d/*
2024-09-30 16:00:43 +01:00
# host specific section
2024-09-28 21:02:31 +01:00
bar {
2025-04-23 11:49:57 +01:00
swaybar_command waybar
2024-09-28 21:02:31 +01:00
}
2025-04-23 11:49:57 +01:00
{{- if eq .chezmoi.hostname "baryte" }}
2024-09-30 16:00:43 +01:00
2025-04-23 11:49:57 +01:00
exec zoom&
2025-04-23 16:34:06 +01:00
exec kanshi&
2024-09-28 21:02:31 +01:00
2024-09-30 16:00:43 +01:00
{{- end }}