diff --git a/niri/config.kdl b/niri/config.kdl index df3b642..6bf5e85 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -234,13 +234,13 @@ layout { // radius. It has to assume that windows have square corners, leading to // shadow artifacts inside the CSD rounded corners. This setting fixes // those artifacts. - // + // // However, instead you may want to set prefer-no-csd and/or // geometry-corner-radius. Then, niri will know the corner radius and // draw the shadow correctly, without having to draw it behind the // window. These will also remove client-side shadows if the window // draws any. - // + // // draw-behind-window true // You can change how shadows look. The values below are in logical @@ -279,8 +279,9 @@ layout { // This line starts waybar, a commonly used bar for Wayland compositors. // spawn-at-startup "waybar" -spawn-at-startup "./sway_startup ~/Pictures/Nextcloud/IMG_8618-Enhanced-NR.jpg" +spawn-at-startup "/home/reivernet/.config/niri/sway_startup" "/home/reivernet/Pictures/Nextcloud/IMG_8618-Enhanced-NR.jpg" spawn-at-startup "xwayland-satellite" +spawn-at-startup "cosmic-app-library" environment { DISPLAY ":0" @@ -347,6 +348,26 @@ window-rule { default-column-width { proportion 0.66667; } } +window-rule { + // Solve space property manager + match app-id="solvespace" + + default-column-width { proportion 0.75; } +} + +window-rule { + // Solve space property manager + match title="Property Browser — SolveSpace" + + default-column-width { proportion 0.25; } +} + +window-rule { + // Nautilus open file window + match app-id="org.gnome.Nautilus" title="Open Folder" + open-floating true +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -400,6 +421,8 @@ binds { XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; } + XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; } + XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; } // Open/close the Overview: a zoomed-out view of workspaces and windows. // You can also move the mouse into the top-left hot corner, diff --git a/waybar/config.jsonc b/waybar/config.jsonc index de933ad..b30bbc6 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -201,36 +201,36 @@ "escape": true, }, "custom/pl-taskbar": { - "format": "" + "format": "" }, "custom/pl-workspaces": { - "format": "" + "format": "" }, "custom/pl-window": { - "format": "" + "format": "" }, "custom/pl-swaync": { - "format": "" + "format": "" }, "custom/pl-clock": { - "format": "" + "format": "" }, "custom/pl-idle": { - "format": "" + "format": "" }, "custom/pl-stats": { - "format": "" + "format": "" }, "custom/pl-pulse": { - "format": "" + "format": "" }, "custom/pl-tray": { - "format": "" + "format": "" }, "custom/pl-swaync-before": { - "format": "" + "format": "" }, "custom/pl-idle-before": { - "format": "" + "format": "" }, }