herbstluftwm - 共通事項 - メニュー - jgmenu
1. 概要 「polybar」「jgmenu」の設定を試行錯誤中(2021年1月7日)です。 2. ArcoLinux 「ArcoLinux」での設定です。 インストール。 「root」ユーザで yes | pacman -S polybar jgmenu 「picom」を止めようと思ったら、どうも「polybar」と「picom」が同時に動いているように見えます。 「polybar」に「jgcom」を組み込むだけでいいかしら? 「jgmenu」のコンフィグレーションファイル作成。 ログインユーザで jgmenu_run init 「polybar」の設定 vi ~/.config/polybar/config 517~581 行が、「herbstluftwm」の設定です。 font-0 = "Noto Sans:size=10;0" font-1 = "FontAwesome:size=13;0" font-2 = "Noto Sans:size=10;0" font-3 = "Noto Sans Mono:size=10;0" modules-left = ewmh xwindow modules-center = kernel modules-right = pavolume memory2 cpu2 date を下記へ変更(562、567、568行)。 font-0 = "MigMix 1M:size=10;0" font-1 = "FontAwesome:size=13;0" font-2 = "Noto Sans:size=10;0" font-3 = "Noto Sans Mono:size=10;0" modules-left = jgmenu ewmh xwindow modules-center = modules-right = pavolume memory2 cpu2 date 「jgmenu」のアイコン設定。 [module/jgmenu] type = custom/script interval = 120 exec = echo "ArcoLinux" click-left = "jgmenu_run >/dev/null 2>&1 &" format-foreground = ${colors.foreground} format-background = ${colors.background} 1463行の「ArcoLinux」の文字列を「」へ(16進値 f1dc)。 「jgmenu」の表示に関しては、「デスクトップ環境 - 共通事項 - メニュー - jgmenu」をご参照ください。
yes | pacman -S polybar jgmenu
jgmenu_run init
vi ~/.config/polybar/config
font-0 = "Noto Sans:size=10;0" font-1 = "FontAwesome:size=13;0" font-2 = "Noto Sans:size=10;0" font-3 = "Noto Sans Mono:size=10;0" modules-left = ewmh xwindow modules-center = kernel modules-right = pavolume memory2 cpu2 date
font-0 = "MigMix 1M:size=10;0" font-1 = "FontAwesome:size=13;0" font-2 = "Noto Sans:size=10;0" font-3 = "Noto Sans Mono:size=10;0" modules-left = jgmenu ewmh xwindow modules-center = modules-right = pavolume memory2 cpu2 date
[module/jgmenu] type = custom/script interval = 120 exec = echo "ArcoLinux" click-left = "jgmenu_run >/dev/null 2>&1 &" format-foreground = ${colors.foreground} format-background = ${colors.background}