231 current 2025-01-11 21:09:28 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -10,11 +10,29 @@
|
||||
mpdSupport = true;
|
||||
pulseSupport = true;
|
||||
};
|
||||
|
||||
colors = {
|
||||
background = "#0d0d0d";
|
||||
foreground = "#ffffff";
|
||||
theme = "#89adfa";
|
||||
};
|
||||
|
||||
bluetoothScript = pkgs.callPackage ./scripts/bluetooth.nix {};
|
||||
|
||||
bctl = ''
|
||||
[module/bluetooth]
|
||||
type = custom/script
|
||||
interval = 10
|
||||
exec = ${bluetoothScript}/bin/bluetooth-ctl
|
||||
label-foreground = ${colors.foreground}
|
||||
format-foreground = ${colors.theme}
|
||||
'';
|
||||
in {
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
package = mypolybar;
|
||||
extraConfig = builtins.readFile ./config.ini;
|
||||
config = ./config.ini;
|
||||
extraConfig = bctl;
|
||||
# my savior: https://www.reddit.com/r/NixOS/comments/v8ikwq/polybar_doesnt_start_at_launch/
|
||||
script = ''
|
||||
# echo "none"
|
||||
|
||||
Reference in New Issue
Block a user