Add workspace and mimeapps entry for teams-for-linux

This commit is contained in:
Evie Litherland-Smith 2023-11-20 11:04:59 +00:00
parent 4cb90dc41d
commit 514f1bfa25
4 changed files with 11 additions and 2 deletions

View file

@ -199,10 +199,12 @@ in ''
bind = SUPER, C, moveworkspacetomonitor, name:chromium current bind = SUPER, C, moveworkspacetomonitor, name:chromium current
bind = SUPER, C, workspace, name:chromium bind = SUPER, C, workspace, name:chromium
bind = SUPER SHIFT, C, movetoworkspace, name:chromium
windowrule = workspace name:chromium, (chromium-browser) windowrule = workspace name:chromium, (chromium-browser)
bind = SUPER, D, moveworkspacetomonitor, name:discord current bind = SUPER, D, moveworkspacetomonitor, name:discord current
bind = SUPER, D, workspace, name:discord bind = SUPER, D, workspace, name:discord
bind = SUPER SHIFT, D, movetoworkspace, name:discord
windowrule = workspace name:discord, (discord) windowrule = workspace name:discord, (discord)
bind = SUPER, S, moveworkspacetomonitor, name:steam current bind = SUPER, S, moveworkspacetomonitor, name:steam current
@ -215,6 +217,11 @@ in ''
bind = SUPER SHIFT, R, movetoworkspace, name:remote bind = SUPER SHIFT, R, movetoworkspace, name:remote
windowrule = workspace name:remote, (Nxplayer.bin) windowrule = workspace name:remote, (Nxplayer.bin)
bind = SUPER, O, moveworkspacetomonitor, name:teams current
bind = SUPER, O, workspace, name:teams
bind = SUPER SHIFT, O, movetoworkspace, name:teams
windowrule = workspace name:teams, (teams-for-linux)
# Special workspaces # Special workspaces
bind = SUPER, comma, workspace, m-1 bind = SUPER, comma, workspace, m-1
bind = SUPER SHIFT, comma, movetoworkspace, r-1 bind = SUPER SHIFT, comma, movetoworkspace, r-1

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
home.packages = with pkgs; [ signal-desktop discord ]; home.packages = with pkgs; [ discord teams-for-linux ];
imports = [ imports = [
./waybar/default.nix ./waybar/default.nix
./anyrun/default.nix ./anyrun/default.nix
@ -40,6 +40,7 @@
"image/png" = [ "swayimg.desktop" ]; "image/png" = [ "swayimg.desktop" ];
"video/mp4" = [ "mpv.desktop" ]; "video/mp4" = [ "mpv.desktop" ];
"text/csv" = [ "calc.desktop" ]; "text/csv" = [ "calc.desktop" ];
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ];
}; };
associations.added = defaultApplications; associations.added = defaultApplications;
}; };

View file

@ -43,6 +43,7 @@
"discord" = "󰙯"; "discord" = "󰙯";
"steam" = "󰓓"; "steam" = "󰓓";
"remote" = "󰢹"; "remote" = "󰢹";
"teams" = "󰊻";
default = "󰋙"; default = "󰋙";
special = "󱗿"; special = "󱗿";
urgent = "󰁡"; urgent = "󰁡";

View file

@ -15,7 +15,7 @@
etc."ppp/options".text = '' etc."ppp/options".text = ''
ipcp-accept-remote ipcp-accept-remote
''; '';
systemPackages = with pkgs; [ openfortivpn teams-for-linux zoom-us ]; systemPackages = with pkgs; [ openfortivpn zoom-us ];
}; };
programs.chromium.homepageLocation = "https://nucleus.ukaea.uk"; programs.chromium.homepageLocation = "https://nucleus.ukaea.uk";
} }