Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use sketchybar #27

Open
Lalit64 opened this issue Dec 30, 2024 · 0 comments
Open

How to use sketchybar #27

Lalit64 opened this issue Dec 30, 2024 · 0 comments

Comments

@Lalit64
Copy link

Lalit64 commented Dec 30, 2024

Hey @GiveNoCode, I have my own config but I've been thinking of switching from simple-bar to sketchybar but I really don't understand how to configure it with nix-darwin and lua. pls help

edit: I keep getting

lua: .../y3qy14bz15w5xkh0dr1dimbhfwdfw1af-hm_config/sketchybarrc:4: module 'helpers' not found:
	no field package.preload['helpers']
	no file './helpers.lua'
	no file '/nix/store/j0qcy4fi5m4bc4xmdngc2pakcqnl30f0-luajit-2.1.1713773202/share/luajit-2.1/helpers.lua'
	no file '/usr/local/share/lua/5.1/helpers.lua'
	no file '/usr/local/share/lua/5.1/helpers/init.lua'
	no file '/nix/store/j0qcy4fi5m4bc4xmdngc2pakcqnl30f0-luajit-2.1.1713773202/share/lua/5.1/helpers.lua'
	no file '/nix/store/j0qcy4fi5m4bc4xmdngc2pakcqnl30f0-luajit-2.1.1713773202/share/lua/5.1/helpers/init.lua'
	no file './helpers.so'
	no file '/usr/local/lib/lua/5.1/helpers.so'
	no file '/nix/store/j0qcy4fi5m4bc4xmdngc2pakcqnl30f0-luajit-2.1.1713773202/lib/lua/5.1/helpers.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	.../y3qy14bz15w5xkh0dr1dimbhfwdfw1af-hm_config/sketchybarrc:4: in main chunk
	[C]: at 0x0104ca08e4

edit 2: using your config I get
file '/nix/store/8avnylhl6jac514y59nbzccs1nizbz56-hm_config' does not exist..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant