Skip to content

Instantly share code, notes, and snippets.

@tokyovigilante
Created October 13, 2020 00:58
Show Gist options
  • Save tokyovigilante/1222534c8743c1827933fe4d3cbd6d38 to your computer and use it in GitHub Desktop.
Save tokyovigilante/1222534c8743c1827933fe4d3cbd6d38 to your computer and use it in GitHub Desktop.
set $left h
set $down j
set $up k
set $right l
set $term alacritty
set $menu alacritty --class "alacritty-menu" -e bash -c '~/.config/sway/launcher.sh | xargs -r swaymsg -t command exec'
bindsym $mod+Return exec $term
bindsym $mod+d exec $menu
floating_modifier $mod normal
bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
bar {
swaybar_command waybar
}
# Appearance
font Source Sans Pro
gaps inner 5
gaps outer 0
smart_gaps off
default_border none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment