summary refs log tree commit diff stats
path: root/config/bindings.go
diff options
context:
space:
mode:
authorWagner Riffel <wgrriffel@gmail.com>2019-09-03 16:34:04 -0300
committerDrew DeVault <sir@cmpwn.com>2019-09-04 16:30:57 -1000
commitfeacca3c5caffb11be1f5f7cbfef01400b5bc944 (patch)
tree7f54b1affcfc2d905613de9e00b95ab4cba45a77 /config/bindings.go
parent6838c23478944a9b45df1fa9a0f432ec77423987 (diff)
downloadaerc-feacca3c5caffb11be1f5f7cbfef01400b5bc944.tar.gz
all: use fmt.Errorf for fomartting errors
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'config/bindings.go')
-rw-r--r--config/bindings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bindings.go b/config/bindings.go
index 46e6924..a19d4f3 100644
--- a/config/bindings.go
+++ b/config/bindings.go
@@ -122,7 +122,7 @@ func ParseKeyStrokes(keystrokes string) ([]KeyStroke, error) {
 			if key, ok := keyNames[strings.ToLower(name)]; ok {
 				strokes = append(strokes, key)
 			} else {
-				return nil, errors.New(fmt.Sprintf("Unknown key '%s'", name))
+				return nil, fmt.Errorf("Unknown key '%s'", name)
 			}
 		case '>':
 			return nil, errors.New("Found '>' without '<'")
='lines'>
00

using -Os again, zoom is ignored in floating mode or on floating clients' href='/acidbong/suckless/dwm/commit/config.mk?h=5.7.2&id=ecc95c903ba6c9a548588a79c1093e6372555f2c'>ecc95c9 ^
12b1d43 ^
9ed5de0 ^

d7e1708 ^
71fd06f ^




95766d6 ^
1076f2b
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