Update waybar and hyprland config

This commit is contained in:
Evie Litherland-Smith 2023-06-19 10:27:23 +01:00
parent a13e18cdc0
commit 956abb3245

View file

@ -14,26 +14,47 @@
teams-for-linux teams-for-linux
zoom-us zoom-us
]; ];
programs.firefox.package = pkgs.firefox-wayland;
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf source=./common.conf
monitor=eDP-1,preferred,auto,1.00 monitor=eDP-1,preferred,auto,1.00
monitor=DP-2,preferred,auto,auto
monitor=DP-3,preferred,auto,auto,transform,1
windowrule = float, title:^([Zz]oom).*$
windowrule = center, title:^([Zz]oom).*$
# windowrule = workspace 4 silent, ^(Microsoft Teams - Preview)$
windowrule = workspace 3, title:^([Zz]oom).*$
windowrule = workspace 4 silent, ^(Nxplayer.bin)$
''; '';
# wayland.windowManager.sway.config.output.eDP-1.scale = "1.0"; programs.waybar.settings = {
programs.waybar.settings.main = { main = {
"modules-left" = ["wlr/workspaces"]; "output" = "!DP-3";
"modules-center" = ["clock"]; "modules-left" = [
"modules-right" = [ "wlr/workspaces"
"cpu" "cpu"
"memory" "memory"
"temperature" "temperature"
"pulseaudio" ];
"network" "modules-center" = ["clock"];
"bluetooth" "modules-right" = [
"backlight" "pulseaudio"
"battery" "bluetooth"
"battery#bat2" "network#compact"
"tray" "backlight"
]; "battery"
"tray"
];
};
alt = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "DP-3";
"modules-left" = [];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [];
};
}; };
} }