making waybar work for both hyprland and niri

This commit is contained in:
Chris Cochrun 2025-09-30 11:20:53 -05:00
parent bf932e2ca5
commit fc99a7993b
3 changed files with 4 additions and 4 deletions

View file

@ -670,7 +670,7 @@ in {
width = if laptop then 1450 else 2200;
# Choose the order of the modules "custom/wintitle",
# modules-left = [ "hyprland/workspaces" "hyprland/window" ];
modules-left = [ "niri/workspaces" "niri/window" ];
modules-left = [ "hyprland/workspaces" "hyprland/window" "niri/window" ];
modules-center = [ "clock" ];
modules-right =
[ "cpu" "memory" "pulseaudio" "backlight" "battery" "tray" ];

View file

@ -105,7 +105,7 @@ in
"Super+I".action.spawn = ["alacritty" "--class" "btm" "-e" "btm"];
"Super+Alt+B".action.spawn = ["alacritty" "--class" "bluetui" "-e" "bluetui"];
"Super+Alt+W".action.spawn = ["alacritty" "--class" "impala" "-e" "impala"];
"Super+A".action.spawn = ["alacritty" "--class" "pulsemixer" "-e" "pulsemixer"];
"Super+A".action.spawn = ["alacritty" "--class" "pulsemixer" "-e" "${pkgs.wiremix}/bin/wiremix"];
"Super+Shift+F".action.spawn = ["cosmic-files"];
"Super+Shift+Q".action = quit;
"Super+O".action = toggle-overview;

View file

@ -118,7 +118,7 @@
libreoffice-qt6-fresh
vlc
haskellPackages.greenclip
pulsemixer
wiremix
any-nix-shell
wtype
xdotool