mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 04:31:54 -05:00
waybar: move wm specific settings to wm modules
This commit is contained in:
parent
07053b3f89
commit
1019dd7ed7
|
@ -24,14 +24,12 @@
|
||||||
output = ["*"];
|
output = ["*"];
|
||||||
position = "top";
|
position = "top";
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
modules-left = ["hyprland/workspaces" "river/tags" "sway/workspaces" "hyprland/submap"];
|
modules-left = lib.mkDefault ["hyprland/workspaces" "hyprland/submap"];
|
||||||
modules-center = ["clock"];
|
modules-center = ["clock"];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
# "network"
|
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
# "wireplumber"
|
|
||||||
"group/power"
|
"group/power"
|
||||||
"custom/logout"
|
"custom/logout"
|
||||||
];
|
];
|
||||||
|
|
|
@ -21,7 +21,7 @@ window#waybar {
|
||||||
color: #ca9ee6;
|
color: #ca9ee6;
|
||||||
}
|
}
|
||||||
|
|
||||||
#submap {
|
#submap, #mode {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
color: #e78284;
|
color: #e78284;
|
||||||
|
|
|
@ -65,6 +65,12 @@
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.waybar.settings = {
|
||||||
|
mainBar = {
|
||||||
|
modules-left = ["hyprland/workspaces" "hyprland/submap"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland.enable = true;
|
wayland.windowManager.hyprland.enable = true;
|
||||||
wayland.windowManager.hyprland.extraConfig = let
|
wayland.windowManager.hyprland.extraConfig = let
|
||||||
modifier = "SUPER";
|
modifier = "SUPER";
|
||||||
|
|
|
@ -109,6 +109,12 @@
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
programs.waybar.settings = {
|
||||||
|
mainBar = {
|
||||||
|
modules-left = ["river/tags" "river/mode"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.river.enable = true;
|
wayland.windowManager.river.enable = true;
|
||||||
wayland.windowManager.river.extraConfig = let
|
wayland.windowManager.river.extraConfig = let
|
||||||
modifier = "Super";
|
modifier = "Super";
|
||||||
|
|
|
@ -47,6 +47,12 @@
|
||||||
|
|
||||||
services.cliphist.enable = lib.mkDefault true;
|
services.cliphist.enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
programs.waybar.settings = {
|
||||||
|
mainBar = {
|
||||||
|
modules-left = ["sway/workspaces" "sway/mode"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.sway.enable = true;
|
wayland.windowManager.sway.enable = true;
|
||||||
wayland.windowManager.sway.config = let
|
wayland.windowManager.sway.config = let
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
|
|
Loading…
Reference in a new issue