28 lines
768 B
Text
28 lines
768 B
Text
# sway config file
|
|
#
|
|
|
|
set $mod Mod1
|
|
set $win Mod4
|
|
|
|
# Font for window titles. Will also be used by the bar unless a different font
|
|
# is used in the bar {} block below.
|
|
font pango:monospace 8
|
|
|
|
# kill focused window
|
|
bindsym $mod+Shift+q kill
|
|
|
|
# reload the configuration file
|
|
bindsym $mod+Shift+x reload
|
|
# restart sway inplace (preserves your layout/session, can be used to upgrade sway)
|
|
bindsym $mod+Shift+o restart
|
|
# exit sway (logs you out of your X session)
|
|
bindsym $mod+Shift+p exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your X session.' -B 'Yes, exit sway' 'swaymsg exit'"
|
|
|
|
default_border pixel
|
|
hide_edge_borders smart
|
|
|
|
input type:keyboard {
|
|
xkb_layout fr
|
|
xkb_variant bepo
|
|
xkb_options ctrl:nocaps
|
|
}
|