Files
dotfiles/awesome/README.org

29 lines
1.2 KiB
Org Mode
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#+title: Awesome配置
#+author: Zedhugh Chen
* 安装 awesome-copycats
运行如下命令克隆 =awesome-copycats= 配置到 *=~/.config/awesome/=*
#+begin_src sh
git clone --recursive https://github.com/lcpz/awesome-copycats.git ~/.config/awesome
#+end_src
* 将 awesome 配置文件链接到配置目录下
#+begin_src sh
dir=$(pwd)
# 链接配置
ln -sf "${dir}/rc.lua" ~/.config/awesome/
# 链接定制快捷键
ln -sf "${dir}/pravitekeys.lua" ~/.config/awesome/
# 链接定制主题
ln -sf "${dir}/multicolor-theme.lua" ~/.config/awesome/themes/multicolor/theme-personal.lua
# 链接 pulse 音量显示组件
ln -sf "${dir}/pulse.lua" ~/.config/awesome/lain/widget/pulse.lua
#+end_src
* 定制 =multicolor= 主题
定制 =multicolor= 主题的原因有两个:
1. 下拉终端使用 =st= =awesome-copycats= 实现下拉终端时需要设置 =st= 终端的窗口名,
=st= 设置窗口名的命令行参数为 /-n/ 而非 =xterm==rxvt-unicode= 使用的 /-name/
2. 在我们自定义的配置中,会根据显示器数量设置不同的 *tag名称* =awesome-copycats= 默认
的每个屏幕的 =tag= 都相同。