some more config, want to turn waybar into simple battery bar

This commit is contained in:
twoneis 2024-08-23 14:42:25 +02:00
parent 4621354963
commit c912f2cf06
3 changed files with 40 additions and 19 deletions

View file

@ -1,6 +1,8 @@
{ inputs, lib, config, pkgs, ... }: let
inherit (lib) mkIf;
inherit (config) conf;
swayosd-style = pkgs.writeText "swayosd.css"
(import ./swayosd.css.nix { config = config; }).style;
in {
imports = [
./xwl-satellite.service.nix
@ -30,13 +32,15 @@ in {
home-manager.users.${conf.username} = {
home.packages = with pkgs; [
brightnessctl
swaybg
swayidle
swayosd
gammastep
];
services.swayosd = {
enable = true;
topMargin = 0.8;
stylePath = swayosd-style;
};
programs.niri = {
settings = import ./niri.conf.nix { config = config; };
};