iAoe444 / EveryDay_GitHub

1 stars 0 forks source link

i3wm配置 #8

Open iAoe444 opened 4 years ago

iAoe444 commented 4 years ago

设置容器边框颜色 4.20

加入以下配置文件

# class                 border  backgr. text    indicator child_border
client.focused          #4c7899 #285577 #ffffff #2e9ef4   #285577
client.focused_inactive #333333 #5f676a #ffffff #484e50   #5f676a
client.unfocused        #333333 #222222 #888888 #292d2e   #222222
client.urgent           #2f343a #900000 #ffffff #900000   #900000
client.placeholder      #000000 #0c0c0c #ffffff #000000   #0c0c0c

client.background       #ffffff
iAoe444 commented 4 years ago

获取wm_class的方法

Linux: Get WM_CLASS of Window - Stack Pointer

WM_CLASS用于配置类似于

for_window [class="Gcolor3"] floating enable

这里面的class,一开始我不知道这个要怎么查,后来查了官方文档后,发现这个叫做WM_CLASS,类似于应用程序的id吧,那么怎么获取到正确的WM_CLASS呢,使用以下命令

xprop | grep WM_CLASS | awk '{print $4}'

接下来使用鼠标点击对应窗口就可以了

iAoe444 commented 4 years ago

退出i3wm的方法 | 在i3wm注销的方法

i3-msg exit

发送exit命令给i3