-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcheatsheet
166 lines (122 loc) · 3.86 KB
/
cheatsheet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
EndeavourOS Sway-WM CheatSheet(modified) :
= windows key
# start floating kitty
+Return
# start fixed termite-terminal
+Shift+Return
# kill focused window
+q
# Application menu - wofi:
+d
# Activities:
+p
# Power-Menu:
+x
# Lock the system
+f1
# reload the configuration file
+Shift+c
# change window focus,like vim
+h focus left
+j focus down
+k focus up
+l focus right
# alternatively, you can use the cursor keys:
+Left focus left
+Down focus down
+Up focus up
+Right focus right
# move a focused window
+Shift+h move left
+Shift+j move down
+Shift+k move up
+Shift+l move right
# alternatively, you can use the cursor keys:
+Shift+Left move left
+Shift+Down move down
+Shift+Up move up
+Shift+Right move right
# split in horizontal orientation (changes take place on next opened window):
+b
# split in vertical orientation (changes take place on next opened window):
+v
# enter fullscreen mode for the focused container:
+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split):
+s layout stacking
+o layout tabbed
+e layout toggle split
# toggle tiling / floating:
+Shift+space floating toggle
# change focus between tiling / floating windows:
+space focus mode_toggle
# focus the parent container:
+a focus parent
# resize floating window:
+right mouse button
# move floating window:
+left mouse button
# scratchpad:
+Shift+Minus move scratchpad
+minus scratchpad cycle
# resize mode:
+r
# resize,like vim:
h focus left
j focus down
k focus up
l focus right
# alternatively, you can use the cursor keys:
Left focus left
Down focus down
Up focus up
Right focus right
# Return to default mode:
Return or Escape
# Workspaces:
#
# Switch to workspace
+1 workspace number 1
+2 workspace number 2
+3 workspace number 3
+4 workspace number 4
+5 workspace number 5
+6 workspace number 6
+7 workspace number 7
+8 workspace number 8
+9 workspace number 9
+0 workspace number 10
# Move focused container to workspace:
+Shift+1 move container to workspace number 1
+Shift+2 move container to workspace number 2
+Shift+3 move container to workspace number 3
+Shift+4 move container to workspace number 4
+Shift+5 move container to workspace number 5
+Shift+6 move container to workspace number 6
+Shift+7 move container to workspace number 7
+Shift+8 move container to workspace number 8
+Shift+9 move container to workspace number 9
+Shift+0 move container to workspace number 10
# Multimedia Keys (be aware that these may not work for every keyboard):
They are enabled - you may need to hold down the function key while doing so.
# Screenshots:
PrintSrc for full screenshot
Shift+PrintSrc for screenshot options
# App Shortcuts:
+z thunar
+w firefox
# Other Things:
# Input - ~/.config/sway/config.d/input
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Put your touchpad's IDENFICATOR to replace "Touchpad-ID" (keep the quotation marks)
# Read `man 5 sway-input` for more information about this section.
# Output - ~/.config/sway/config.d/output
# You can get the names of your outputs by running: swaymsg -t get_outputs
# Read `man 5 sway-output` for more information about this section.
# Wallpaper - ~/.config/sway/config.d/theme
# exec swaybg -i /path/to/wallpaper
# Waybar - ~/.config/waybar/config : ~/.config/waybar/style.css
# It is an external bar we have chosen because of the option's it allows.
# If you wish to use the default swaybar - ~/.config/sway/config.d/theme and change waybar to sway-bar
# Read `man 5 sway-bar` for more information about this section
# Autostart - ~/.config/sway/config.d/autostart_applications