代码原地址:https://github.com/Airblader/i3.git
我导入了一份到giftee:https://gitee.com/yaozhijin/i3-gaps.git
ppa安装
sudo add-apt-repository ppa:kgilmer/speed-ricersudo apt-get updatesudo apt install i3-gaps# 可能会比较慢
可以切换为国内源,速度会快很多
ubuntu使用国内PPA源
编译安装
在此可以看到编译安装的原文:https://gitee.com/yaozhijin/i3-gaps/wikis/Building-from-source?sort_id=3392318
sudo apt install i3 mesongit clone https://gitee.com/yaozhijin/i3-gaps.gitcd i3-gapsmkdir build && cd buildmeson ..ninjameson install
使用
安装好后在i3 config文件中加入gaps inner 10 ,即可生效。
