Now waybar shows on all displays (then also on pbp)

This commit is contained in:
Andrea Ciceri 2021-10-01 01:31:42 +02:00
parent eaa919a23a
commit f9bfc48e07
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654

View file

@ -6,47 +6,47 @@
let let
modifier = "Mod4"; modifier = "Mod4";
in in
{ {
enable = true; enable = true;
config = { config = {
modifier = modifier; modifier = modifier;
menu = "${pkgs.bemenu}/bin/bemenu-run -b -m 1 -p 'λ'"; menu = "${pkgs.bemenu}/bin/bemenu-run -b -m 1 -p 'λ'";
output = { output = {
HDMI-A-2 = { HDMI-A-2 = {
#bg = "~/dotfiles/dotfiles/xorg/wallpaper.jpg fill"; #bg = "~/dotfiles/dotfiles/xorg/wallpaper.jpg fill";
}; };
}; };
#fonts = [ "Font Awesome" "Fira Code" ]; #fonts = [ "Font Awesome" "Fira Code" ];
terminal = "${pkgs.foot}/bin/footclient"; terminal = "${pkgs.foot}/bin/footclient";
bars = [ bars = [
{ {
command = "${pkgs.waybar}/bin/waybar"; command = "${pkgs.waybar}/bin/waybar";
} }
]; ];
startup = [ startup = [
{ {
command = "foot --server"; command = "foot --server";
always = true; always = true;
} }
]; ];
window.commands = [ window.commands = [
{ criteria = { app_id = "mpv"; }; command = "sticky enable"; } { criteria = { app_id = "mpv"; }; command = "sticky enable"; }
{ criteria = { app_id = "mpv"; }; command = "floating enable"; } { criteria = { app_id = "mpv"; }; command = "floating enable"; }
{ criteria = { title = "MetaMask Notification.*"; }; command = "floating enable"; } { criteria = { title = "MetaMask Notification.*"; }; command = "floating enable"; }
]; ];
input = { input = {
"*" = { "*" = {
xkb_layout = "us"; xkb_layout = "us";
xkb_variant = "intl"; xkb_variant = "intl";
};
}; };
}; };
extraConfig = ''
bindsym ${modifier}+p move workspace to output right
'';
xwayland = true;
systemdIntegration = true;
}; };
extraConfig = ''
bindsym ${modifier}+p move workspace to output right
'';
xwayland = true;
systemdIntegration = true;
};
}; };
programs.waybar = { programs.waybar = {
@ -56,13 +56,13 @@
{ {
layer = "top"; layer = "top";
position = "top"; position = "top";
output = [ "HDMI-A-2" ]; #output = [ "HDMI-A-2" ];
modules-left = [ modules-left = [
"sway/mode" "sway/mode"
"sway/workspaces" "sway/workspaces"
]; ];
modules-center = []; modules-center = [ ];
modules-right = [ modules-right = [
"idle_inhibitor" "idle_inhibitor"
"tray" "tray"