From 06903263d5844b87ab7d1e87e2c8c11a4576214d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 23 Aug 2020 12:17:23 +0100 Subject: [PATCH] better bar --- .config/i3/status-double-bat.toml | 3 +++ nixos/i3/home.nix | 5 +---- nixos/i3/kdeconnect.nix | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 nixos/i3/kdeconnect.nix diff --git a/.config/i3/status-double-bat.toml b/.config/i3/status-double-bat.toml index 08797d83..e7cb0e98 100644 --- a/.config/i3/status-double-bat.toml +++ b/.config/i3/status-double-bat.toml @@ -41,6 +41,9 @@ interval = 20 warning = 20.0 alert = 10.0 +[[block]] +block = "sound" + [[block]] block = "bluetooth" mac = "28:11:A5:E1:3C:57" diff --git a/nixos/i3/home.nix b/nixos/i3/home.nix index 79803440..42dcb4e0 100644 --- a/nixos/i3/home.nix +++ b/nixos/i3/home.nix @@ -5,6 +5,7 @@ ./i3.nix ./dunst.nix ./rofi.nix + ./kdeconnect.nix ]; home.sessionVariables = { @@ -16,10 +17,6 @@ enable = true; vSync = true; }; - kdeconnect = { - enable = true; - indicator = true; - }; network-manager-applet.enable = true; pasystray.enable = true; }; diff --git a/nixos/i3/kdeconnect.nix b/nixos/i3/kdeconnect.nix new file mode 100644 index 00000000..456f5b0a --- /dev/null +++ b/nixos/i3/kdeconnect.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: +{ + services.kdeconnect = { + enable = true; + indicator = false; + }; + + home.packages = with pkgs; [ kdeconnect ] ; +}