mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
waybar: move wm specific settings to wm modules
This commit is contained in:
parent
07053b3f89
commit
1019dd7ed7
|
@ -24,14 +24,12 @@
|
|||
output = ["*"];
|
||||
position = "top";
|
||||
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-right = [
|
||||
"tray"
|
||||
"bluetooth"
|
||||
# "network"
|
||||
"pulseaudio"
|
||||
# "wireplumber"
|
||||
"group/power"
|
||||
"custom/logout"
|
||||
];
|
||||
|
|
|
@ -21,7 +21,7 @@ window#waybar {
|
|||
color: #ca9ee6;
|
||||
}
|
||||
|
||||
#submap {
|
||||
#submap, #mode {
|
||||
padding: 0 15px;
|
||||
margin: 0 5px;
|
||||
color: #e78284;
|
||||
|
|
|
@ -65,6 +65,12 @@
|
|||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||
};
|
||||
|
||||
programs.waybar.settings = {
|
||||
mainBar = {
|
||||
modules-left = ["hyprland/workspaces" "hyprland/submap"];
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
wayland.windowManager.hyprland.extraConfig = let
|
||||
modifier = "SUPER";
|
||||
|
@ -368,7 +374,7 @@
|
|||
binde=,left,resizeactive,-10 0
|
||||
binde=,up,resizeactive,0 -10
|
||||
binde=,down,resizeactive,0 10
|
||||
bind=,escape,submap,reset
|
||||
bind=,escape,submap,reset
|
||||
submap=reset
|
||||
|
||||
bind=ALT,M,submap,move
|
||||
|
@ -392,7 +398,7 @@
|
|||
# hyprnome
|
||||
bind = , comma, exec, ${hyprnome} --previous --move
|
||||
bind = , period, exec, ${hyprnome} --move
|
||||
bind=,escape,submap,reset
|
||||
bind=,escape,submap,reset
|
||||
submap=reset
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -109,6 +109,12 @@
|
|||
}
|
||||
'';
|
||||
|
||||
programs.waybar.settings = {
|
||||
mainBar = {
|
||||
modules-left = ["river/tags" "river/mode"];
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.river.enable = true;
|
||||
wayland.windowManager.river.extraConfig = let
|
||||
modifier = "Super";
|
||||
|
|
|
@ -47,6 +47,12 @@
|
|||
|
||||
services.cliphist.enable = lib.mkDefault true;
|
||||
|
||||
programs.waybar.settings = {
|
||||
mainBar = {
|
||||
modules-left = ["sway/workspaces" "sway/mode"];
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.sway.enable = true;
|
||||
wayland.windowManager.sway.config = let
|
||||
modifier = "Mod4";
|
||||
|
|
Loading…
Reference in a new issue