Use microsoft-edge on work machine, update hyprland accordingly

This commit is contained in:
Evie Litherland-Smith 2023-06-07 17:35:50 +01:00
parent 9a919ac6e9
commit 066464265e
2 changed files with 19 additions and 7 deletions

View file

@ -1,8 +1,9 @@
{...}: {
{pkgs, ...}: {
imports = [../work.nix ../desktop/hyprland.nix];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
home.packages = [pkgs.microsoft-edge];
programs.fish.functions.nvsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
@ -36,7 +37,12 @@
"battery#bat2"
"tray"
];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
"wlr/workspaces" = {
"format-icons" = {
"2" = "󰇩";
"5" = "󰒍";
};
};
};
alt = {
"include" = [
@ -47,7 +53,12 @@
"modules-left" = [];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
"wlr/workspaces" = {
"format-icons" = {
"2" = "󰇩";
"5" = "󰒍";
};
};
};
};
};

View file

@ -4,18 +4,19 @@ monitor=HDMI-A-1,preferred,auto,auto
monitor=DP-1,preferred,auto,auto,transform,1
windowrule = float, title:^([Zz]oom).*$
windowrule = float, ^(Nxplayer.bin)$
windowrule = center, title:^([Zz]oom).*$
windowrule = workspace 4 silent, ^(Microsoft Teams - Preview)$
windowrule = workspace 2 silent, ^(Microsoft-edge)$
windowrule = workspace 4, title:^([Zz]oom).*$
windowrule = workspace 5 silent, ^(Nxplayer.bin)$
windowrule = monitor 1, ^(Microsoft Teams - Preview)$
windowrule = monitor 1, title:^(Zoom)(.*)$
windowrule = monitor 1, ^(Nxplayer.bin)$
wsbind=1,HDMI-A-1
wsbind=2,HDMI-A-1
wsbind=3,HDMI-A-1
wsbind=4,HDMI-A-1
wsbind=5,HDMI-A-1
exec-once = firefox
exec-once = teams
exec-once = microsoft-edge