sxmo: customize the conky display
This commit is contained in:
parent
694a5383cb
commit
29bf9d410f
23
hosts/modules/gui/sxmo/conky-config
Normal file
23
hosts/modules/gui/sxmo/conky-config
Normal file
|
@ -0,0 +1,23 @@
|
|||
-- configversion: 737cb1de0389cee32a04785691a446a2
|
||||
conky.config = {
|
||||
out_to_wayland = true,
|
||||
alignment = 'middle_middle',
|
||||
own_window_argb_value = 0,
|
||||
own_window_type = 'desktop',
|
||||
default_shade_color = 'grey',
|
||||
draw_shades = true,
|
||||
font = 'Sxmo:size=13',
|
||||
use_xft = true,
|
||||
update_interval = 5,
|
||||
}
|
||||
|
||||
conky.text = [[
|
||||
${alignc}${font Sxmo:size=50:style=Bold}${exec date +"%H"}${font Sxmo:size=50}:${exec date +"%M"}${font}
|
||||
|
||||
${font Sxmo:size=20}${exec date +"%a %d %b %Y"}${font}
|
||||
|
||||
${alignc}${font Sxmo:size=15}${color lightgrey}☵ $memperc%${font}
|
||||
${alignc}${font Sxmo:size=15}${color lightgrey} $cpu%${font}
|
||||
${alignc}${font Sxmo:size=15}${color lightgrey}⇅ ${downspeedf wlan0}K/s${font}
|
||||
${alignc}${font Sxmo:size=15}${color lightgrey} ${exec echo $(( $(cat /sys/class/power_supply/axp20x-battery/charge_full_design) * -60 / $(cat /sys/class/power_supply/axp20x-battery/current_now) )) }m${font}
|
||||
]]
|
|
@ -217,6 +217,8 @@ in
|
|||
# sane.user.fs.".config/waybar/style.css".symlink.text =
|
||||
# builtins.readFile ./waybar-style.css;
|
||||
|
||||
sane.user.fs.".config/sxmo/conky.conf".symlink.target =
|
||||
builtins.readFile ./conky-config;
|
||||
|
||||
## greeter
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user