我当前使用的 Awesomewm 主题有小图标来管理标签,而不是传统的数字。如何禁止数字显示在图标上方?
答案1
找到了我自己问题的答案!基本上,每个标签在您的rc.lua
文件中都有一个标签(在/etc/xdg/awesome
或 中$HOME/.config/awesome
),因此您可以根据需要重写它们。该行的默认外观(默认文件中的 86 左右)类似于
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, layouts[1])
end
为了删除所有标签上的标签(并使它们适合我的图标,最后有一个小缓冲区),我将它们全部替换为空格:
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ " ", " ", " ", " ", " ", " ", " ", " ", " " }, s, layouts[1])
end