diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-03-27 12:50:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-03-27 12:50:09 -0400 |
commit | 6f53322774a55c2887103153b73ff46f8f0634ed (patch) | |
tree | ebbdbbcfde567b662c10166fc934034ddff0393d /config | |
parent | Loosen restrictions on commands, update docs (diff) | |
download | sway-6f53322774a55c2887103153b73ff46f8f0634ed.tar.gz sway-6f53322774a55c2887103153b73ff46f8f0634ed.tar.zst sway-6f53322774a55c2887103153b73ff46f8f0634ed.zip |
Update default config
Diffstat (limited to 'config')
-rw-r--r-- | config | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -24,6 +24,8 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
24 | # Example output configuration: | 24 | # Example output configuration: |
25 | # | 25 | # |
26 | # output HDMI-A-1 resolution 1920x1080 position 1920,0 | 26 | # output HDMI-A-1 resolution 1920x1080 position 1920,0 |
27 | # | ||
28 | # You can get the names of your outputs by running sway-msg -t get_outputs | ||
27 | 29 | ||
28 | ### Key bindings | 30 | ### Key bindings |
29 | # | 31 | # |
@@ -48,9 +50,6 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
48 | # reload the configuration file | 50 | # reload the configuration file |
49 | bindsym $mod+Shift+c reload | 51 | bindsym $mod+Shift+c reload |
50 | 52 | ||
51 | # restart sway inplace (preserves your layout/session, can be used to upgrade sway) | ||
52 | bindsym $mod+Shift+r restart | ||
53 | |||
54 | # exit sway (logs you out of your wayland session) | 53 | # exit sway (logs you out of your wayland session) |
55 | bindsym $mod+Shift+e exit | 54 | bindsym $mod+Shift+e exit |
56 | # | 55 | # |
@@ -102,6 +101,8 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
102 | bindsym $mod+Shift+8 move container to workspace 8 | 101 | bindsym $mod+Shift+8 move container to workspace 8 |
103 | bindsym $mod+Shift+9 move container to workspace 9 | 102 | bindsym $mod+Shift+9 move container to workspace 9 |
104 | bindsym $mod+Shift+0 move container to workspace 10 | 103 | bindsym $mod+Shift+0 move container to workspace 10 |
104 | # Note: workspaces can have any name you want, not just numbers. | ||
105 | # We just use 1-10 as the default. | ||
105 | # | 106 | # |
106 | # Layout stuff: | 107 | # Layout stuff: |
107 | # | 108 | # |
@@ -144,13 +145,14 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
144 | # Status Bar: | 145 | # Status Bar: |
145 | # | 146 | # |
146 | bar { | 147 | bar { |
147 | position top | 148 | position top |
148 | colors { | 149 | colors { |
149 | statusline #ffffff | 150 | statusline #ffffff |
150 | background #323232 | 151 | background #323232 |
151 | inactive_workspace #32323200 #32323200 #5c5c5c | 152 | inactive_workspace #32323200 #32323200 #5c5c5c |
152 | } | 153 | } |
153 | } | 154 | } |
155 | # Read sway-bar(5) for more information about this section. | ||
154 | 156 | ||
155 | # You may want this: | 157 | # You may want this: |
156 | # | 158 | # |