Skip to content

Custom Lua changes are not being detected #135

Description

@phoenixr-codes

Describe the bug
When i edit my custom lua config in ~/.config/sleex/custom/and then reload Hyprland and Quickshell, then the changes are not adapted.

To Reproduce
Steps to reproduce the behavior:

  1. Open a custom config like ~/.config/sleex/custom/keybinds.lua
  2. Edit, for example add
    hl.bind("SUPER+period", hl.dsp.global("quickshell:overviewEmojiToggle"), { desc = "Emoji >> clipboard" })
  3. Save file
  4. Open dashboard
  5. Reload Hyprland & Quickshell

Expected behavior
I expect a proper reload of custom configs or an error report when config is invalid either automatically on saving the file (preferred as it's the same behavior for the shipped default config files) or when a reload is triggered manually through the dashboard.

Version (please complete the following information):

  • OS: EndeavourOS
  • Sleex version: 1.32.r684.e329696-1 (sleex-git from AUR)

Additional context
As a workaround, a reload can be triggered by editing one of the config files in /etc/sleex/ so just do

sudo touch /etc/sleex/hyprland/keybinds.lua

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions