From 27e47fda4cbac6ef13a7dc6910392108d2a05d1f Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Fri, 30 Aug 2019 10:39:24 +0200 Subject: [PATCH] sway: update from upstream --- sway/config | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/sway/config b/sway/config index ba5eecd..3343906 100644 --- a/sway/config +++ b/sway/config @@ -17,7 +17,7 @@ set $right l set $term termite # Your preferred application launcher # Note: it's recommended that you pass the final command to sway -#set $menu dmenu_path | dmenu | xargs swaymsg exec +#set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu termite --name=launcher -e ~/.config/sway/sway-launcher for_window [app_id="^launcher$"] floating enable, border none @@ -34,7 +34,6 @@ output * bg /home/cgirard/Images/wallpaper.jpg fit # # You can get the names of your outputs by running: swaymsg -t get_outputs - ### Idle configuration # # Example configuration: @@ -83,13 +82,13 @@ input * { # # Basics: # - # start a terminal + # Start a terminal bindsym $mod+Return exec $term - # kill focused window + # Kill focused window bindsym $mod+Shift+c kill - # start your launcher + # Start your launcher bindsym $mod+p exec $menu bindsym $mod+Shift+w exec "swaylock -f -c 000000" @@ -100,10 +99,10 @@ input * { # mouse button for dragging. floating_modifier $mod normal - # reload the configuration file + # Reload the configuration file bindsym $mod+q reload - # exit sway (logs you out of your Wayland session) + # Exit sway (logs you out of your Wayland session) 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' # # Moving around: @@ -113,18 +112,18 @@ input * { bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right - # or use $mod+[up|down|left|right] + # Or use $mod+[up|down|left|right] bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right - # _move_ the focused window with the same, but add Shift + # Move the focused window with the same, but add Shift bindsym $mod+Shift+$left move left bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right - # ditto, with arrow keys + # Ditto, with arrow keys bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up @@ -132,7 +131,7 @@ input * { # # Workspaces: # - # switch to workspace + # Switch to workspace bindsym $mod+ampersand workspace 1 bindsym $mod+eacute workspace 2 bindsym $mod+quotedbl workspace 3 @@ -143,7 +142,7 @@ input * { bindsym $mod+underscore workspace 8 bindsym $mod+ccedilla workspace 9 bindsym $mod+agrave workspace 10 - # move focused container to workspace + # Move focused container to workspace bindsym $mod+Shift+ampersand move container to workspace 1 bindsym $mod+Shift+eacute move container to workspace 2 bindsym $mod+Shift+quotedbl move container to workspace 3 @@ -179,7 +178,7 @@ input * { # Swap focus between the tiling area and the floating area bindsym $mod+space focus mode_toggle - # move focus to the parent container + # Move focus to the parent container bindsym $mod+a focus parent # # Scratchpad: @@ -206,13 +205,13 @@ mode "resize" { bindsym $up resize shrink height 10px bindsym $right resize grow width 10px - # ditto, with arrow keys + # Ditto, with arrow keys bindsym Left resize shrink width 10px bindsym Down resize grow height 10px bindsym Up resize shrink height 10px bindsym Right resize grow width 10px - # return to default mode + # Return to default mode bindsym Return mode "default" bindsym Escape mode "default" }