From b89e90da316fc1d4ff01108906c16c54eea43e55 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 4 Nov 2023 10:26:47 +0000 Subject: [PATCH] Revert "Remove kdeconnect" This reverts commit 266693a42b505eba9888cbdae785bcc1c508d020. --- flake.nix | 1 + home/hyprland/waybar/modules/mpris.nix | 1 + home/kdeconnect.nix | 8 ++++++++ system/desktop.nix | 1 + 4 files changed, 11 insertions(+) create mode 100644 home/kdeconnect.nix diff --git a/flake.nix b/flake.nix index 1b811444..abc35329 100644 --- a/flake.nix +++ b/flake.nix @@ -45,6 +45,7 @@ ./home/alacritty.nix ./home/default.nix ./home/firefox.nix + ./home/kdeconnect.nix ./home/media.nix ./home/pass.nix ./home/zathura.nix diff --git a/home/hyprland/waybar/modules/mpris.nix b/home/hyprland/waybar/modules/mpris.nix index 6c912cbe..f6f8c6ca 100644 --- a/home/hyprland/waybar/modules/mpris.nix +++ b/home/hyprland/waybar/modules/mpris.nix @@ -5,6 +5,7 @@ in { "player-icons" = { "default" = "󰲸"; "mpv" = "󰤽"; + "kdeconnect" = "󱀟"; "ncspot" = "󰓇"; "Spot" = "󰓇"; }; diff --git a/home/kdeconnect.nix b/home/kdeconnect.nix new file mode 100644 index 00000000..247faef9 --- /dev/null +++ b/home/kdeconnect.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: + +{ + services.kdeconnect = { + enable = true; + indicator = true; + }; +} diff --git a/system/desktop.nix b/system/desktop.nix index f49174b2..d2b743b8 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -67,6 +67,7 @@ dconf.enable = true; light.enable = true; noisetorch.enable = true; + kdeconnect.enable = true; }; gtk.iconCache.enable = true; qt = {