三、安装 i3
作者:解琛
时间:2020 年 9 月 15 日
sudo yum install -y epel-release
sudo yum install i3 dmenu
打开 i3 的配置文件 ~/.config/i3/config
,修改以下内容。
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command i3status
status_command /home/xiechen/contrib/net-speed.sh
colors {
background #000000
statusline #ffffff
separator #666666
focused_workspace #4c7899 #285577 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
binding_mode #2f343a #900000 #ffffff
}
}
new_window none
new_float normal
hide_edge_borders both
# 使用 super + p 打开浏览器;
bindsym $mod+p exec --no-startup-id firefox