From 39b38c8d8e27e1ae8f59ab2007b29b3325b98948 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 20 Jul 2023 07:21:22 +0100 Subject: [PATCH] Remove kanshi, more trouble than help... --- Makefile | 1 - hosts/Ronin/home.nix | 40 ---------------------------------------- 2 files changed, 41 deletions(-) diff --git a/Makefile b/Makefile index 7cc2ebb8..b3c32d87 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ update: hyprland: -hyprctl reload - -pkill -1 kanshi waybar: -pkill -9 waybar diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 3dc20e55..9cce4e32 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -30,46 +30,6 @@ in { home-manager.enable = true; neovim.package = pkgs.neovim-nightly; }; - services.kanshi = { - enable = true; - systemdTarget = "hyprland-session.target"; - profiles = let - restart_hyprpaper = "pkill hyprpaper; ${pkgs.hyprland}/bin/hyprctl dispatch exec hyprpaper"; - in { - undocked = { - outputs = [ - { - criteria = "eDP-1"; - status = "enable"; - } - ]; - exec = [ - restart_hyprpaper - "rfkill unblock wlan" - ]; - }; - docked = { - outputs = [ - { - criteria = "eDP-1"; - status = "disable"; - } - { - criteria = "Iiyama North America PLB2403WS 0574281251316"; - status = "enable"; - } - { - criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L"; - status = "enable"; - } - ]; - exec = [ - restart_hyprpaper - "rfkill block wlan" - ]; - }; - }; - }; xdg.configFile."hypr/display.conf".text = '' monitor=eDP-1,preferred,auto,1.5 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1