Code Monkey home page Code Monkey logo

Comments (4)

JaKooLit avatar JaKooLit commented on August 16, 2024

it is reading the list on ~/.config/waybar/configs and ~/.config/waybar/styles

if your configs are in .nix, it wont read

from hyprland-dots.

solitudealma avatar solitudealma commented on August 16, 2024

it is reading the list on ~/.config/waybar/configs and ~/.config/waybar/styles

if your configs are in .nix, it wont read

I konw your mean. I just use xdg.configFile to link. if i input the name of file, it will be selected. but the list of file name is empty. i cant see anything.

from hyprland-dots.

JaKooLit avatar JaKooLit commented on August 16, 2024

Screenshot_03-May_09-24-28_25962
Screenshot_03-May_09-24-36_20977

I dont have issue on my nixos.. but then, I dont use home manager...

If you have find some error to make it work for you, Im all open ears

from hyprland-dots.

solitudealma avatar solitudealma commented on August 16, 2024

nice, It will be easier if you also use nixos. As you think, I used hm to manage the configuration. But I just use xdg.configFile to link the configuration to the .config directory. This should be exactly the same for you. eg:

xdg.configFile."waybar" = {
   source = ./xxx;
   recursion = true;
}

So I'm not quite sure where the problem is, I deleted the soft linked files because it would affect the nixos build, but the problem is definitely not here. I try in

while IFS= read -r file; do
         if [ -f "$waybar_styles/$file" ]; then
             options+=("$(basename "$file" .css)")
         fi
     done < <(find "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort)

The options are output in this code, but the desired result is not obtained. If you need, I can upload my nixos configuration so that you can reproduce this problem.

from hyprland-dots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.