From 1d9c73515ec2af43b381dc2960d058ca1f18e1d3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 15 Dec 2023 12:53:17 +0000 Subject: [PATCH] Remove whatsapp-for-linux and teams-for-linux Add workspace rule and waybar rewrite for WebCord --- home/hyprland/config.nix | 1 + home/hyprland/default.nix | 9 +-------- home/hyprland/waybar/default.nix | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index 9742fc15..51bf49f8 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -201,6 +201,7 @@ in '' bind = SUPER, A, workspace, name:apps bind = SUPER SHIFT, A, movetoworkspace, name:apps windowrule = workspace name:apps, (Signal) + windowrule = workspace name:apps, (WebCord) windowrule = workspace name:apps, chrome-(.*)-Default bind = SUPER, F, moveworkspacetomonitor, name:files current diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index e189cd13..70f14b32 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -1,12 +1,5 @@ { config, lib, pkgs, ... }: { - home.packages = with pkgs; [ - grim - slurp - signal-desktop - webcord - whatsapp-for-linux - teams-for-linux - ]; + home.packages = with pkgs; [ grim slurp signal-desktop webcord ]; imports = [ ./waybar/default.nix ./rofi/default.nix ./gtk.nix ./mako.nix ]; services = { avizo.enable = true; diff --git a/home/hyprland/waybar/default.nix b/home/hyprland/waybar/default.nix index a17f05bb..78da0ecd 100644 --- a/home/hyprland/waybar/default.nix +++ b/home/hyprland/waybar/default.nix @@ -66,6 +66,7 @@ "Microsoft 365 - (.*)" = "󰏆 $1"; "WhatsApp Web" = "󰖣"; "Signal" = "󰒢"; + "(.*)WebCord - (.*)" = "$1󰙯 - $2"; "NoMachine - (.*)" = "󰢹 $1"; }; separate-outputs = true;