Skip to content

Commit 7bdf7cd

Browse files
committed
i3wm: 添加窗口边框
1 parent 0d8d1f8 commit 7bdf7cd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: i3wm设置窗口的边框
3+
category: tools
4+
tags: i3wm
5+
comments: true
6+
---
7+
8+
## 设置窗口边框
9+
10+
```shell
11+
for_window [class="urxvt"] border pixel 5
12+
```
13+
14+
如何查找窗口的`class`属性
15+
16+
```shell
17+
xprop | grep -i 'class'
18+
```
19+
然后点击想要查询的窗口,会看到相应的输出,如:
20+
21+
> WM_CLASS(STRING) = "urxvt", "URxvt"
22+
23+

0 commit comments

Comments
 (0)