Change primary display don't need sketchybar

This commit is contained in:
Tyler Mayoff 2025-02-17 12:54:48 -05:00
parent 6768bdb19e
commit c1e274ab1c
No known key found for this signature in database
GPG key ID: B62A5AFAD8E14845
6 changed files with 44 additions and 64 deletions

View file

@ -40,6 +40,19 @@
file.".gnupg/gpg-agent.conf".text = ''
pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
'';
file.".config/sketchybar/sketchybarrc" = {
executable = true;
text = ''
#!/usr/bin/env lua
package.cpath = package.cpath .. ";${pkgs.sbarlua}/lib/lua/5.4/sketchybar.so"
-- Load the sketchybar-package and prepare the helper binaries
require("helpers")
require("init")
'';
};
};
programs.home-manager.enable = true;

View file

@ -1,6 +1,8 @@
{...}: {
# services.sketchybar = {
# enable = true;
# extraPackages = [];
# };
{pkgs, ...}: {
services.sketchybar = {
# enable = true;
extraPackages = with pkgs; [
sbarlua
];
};
}