some niri and waybar tweaks

This commit is contained in:
Matt Nish-Lapidus 2025-02-11 12:46:32 -05:00
parent b4c0daf345
commit 3e1a2d075f
7 changed files with 149 additions and 94 deletions

View file

@ -15,6 +15,7 @@ in {
{ command = ["clipse" "-listen"]; }
{ command = ["swayosd-server"]; }
{ command = ["waybar"]; }
# { command = ["eww" "daemon"]; }
{ command = [ "systemctl" "--user" "restart" "hypridle.service" "xwayland-satellite.service" ]; }
];
@ -165,12 +166,19 @@ in {
};
}
# Open the Firefox picture-in-picture player as floating by default.
{ # This app-id regular expression will work for both:
{ # Open the Firefox picture-in-picture player as floating by default.
# This app-id regular expression will work for both:
# host Firefox (app-id is "firefox")
# Flatpak Firefox (app-id is "org.mozilla.firefox")
matches = [ { app-id= "r#\"firefox$\"# title=\"^Picture-in-Picture$\""; } ];
open-floating = true; }
open-floating = true;
}
{ matches = [ { app-id="Renoise"; }
{ app-id="Bitwig"; }
{ app-id="labwc"; }];
open-maximized = true;
}
];
switch-events = with config.lib.niri.actions; {
@ -273,8 +281,8 @@ in {
"Mod+Page_Up".action = focus-workspace-up;
"Mod+U".action = focus-workspace-down;
"Mod+I".action = focus-workspace-up;
"Mod+Alt+Down".action = move-column-to-workspace-down;
"Mod+Alt+Up".action = move-column-to-workspace-up;
"Mod+Ctrl+Page_Down".action = move-column-to-workspace-down;
"Mod+Ctrl+Page_Up".action = move-column-to-workspace-up;
"Mod+Ctrl+U".action = move-column-to-workspace-down;
"Mod+Ctrl+I".action = move-column-to-workspace-up;