Skip to content

[Bug] Battery info is not shown in Settings module #727

Description

@ammarasyad
Image Currently on latest ashell version (0.8.0) on CachyOS with Hyprland. Removing and re-adding the Settings module with ashell open crashes ashell (launched from my terminal) with the message:

fish: Job 1, 'ashell &' terminated by signal SIGSEGV (Address boundary error)

I apologize if this was reported beforehand.

Logs doesn't show anything off:

INFO [ashell::config] Decoding config file "/home/user/.config/ashell/config.toml"
INFO [ashell::config] Config file loaded successfully
WARN [ashell::modules::clock] Clock module is deprecated and will be removed in a future release. Please migrate to the Tempo module.
WARN [wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
WARN [wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window

config.yaml:

[modules]
left = [ "Workspaces", "SystemInfo", "Power Usage", "Tray" ]
center = [ "WindowTitle" ]
right = [ "Sway", [ "Tempo", "Privacy", "Settings" ] ]

[[CustomModule]]
name = "Sway"
type = "Button"
icon = "" # default icon
icons.'dnd.*' = "" # icon if regex of "alt" is true, multiple such options can be given
alert = ".*notification" # to show a red dot next to it
listen_cmd = "swaync-client -swb"
command = "swaync-client -t -sw"

[[CustomModule]]
name = "Power Usage"
type = "Text"
listen_cmd = "sh -c 'while true; do cat /tmp/power_usage; sleep 1; done'"

[settings]
lock_cmd = "hyprlock &"

[system_info]
indicators = [ "Cpu", "Memory", "Temperature", "DownloadSpeed", "UploadSpeed" ]

[system_info.temperature]
sensor = "coretemp Package id 0"

[window_title]
truncate_title_after_length=75

[appearance]
opacity = 0.4

primary_color = "#7aa2f7"
success_color = "#9ece6a"
text_color = "#a9b1d6"

workspace_colors = [ "#7aa2f7", "#9ece6a" ]

[appearance.menu]
opacity = 0.7
backdrop = 0.3

[appearance.danger_color]
base = "#f7768e"
weak = "#e0af68"

[appearance.background_color]
base = "#1a1b26"
weak = "#24273a"
strong = "#414868"

[appearance.secondary_color]
base = "#0c0d14"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds infoMore information is required from the issue author before this can be investigated

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions