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
zoom-us
];
programs.firefox.package = pkgs.firefox-wayland;
wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf
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.main = {
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
programs.waybar.settings = {
main = {
"output" = "!DP-3";
"modules-left" = [
"wlr/workspaces"
"cpu"
"memory"
"temperature"
];
"modules-center" = ["clock"];
"modules-right" = [
"pulseaudio"
"network"
"bluetooth"
"network#compact"
"backlight"
"battery"
"battery#bat2"
"tray"
];
};
alt = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "DP-3";
"modules-left" = [];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [];
};
};
}