added some window rules and changed waybar powerline separators

This commit is contained in:
Dan MacLeod
2025-07-02 21:32:41 +09:30
parent b4235351fa
commit bfe91a5a67
2 changed files with 37 additions and 14 deletions

View File

@@ -279,8 +279,9 @@ layout {
// This line starts waybar, a commonly used bar for Wayland compositors. // This line starts waybar, a commonly used bar for Wayland compositors.
// spawn-at-startup "waybar" // 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 "xwayland-satellite"
spawn-at-startup "cosmic-app-library"
environment { environment {
DISPLAY ":0" DISPLAY ":0"
@@ -347,6 +348,26 @@ window-rule {
default-column-width { proportion 0.66667; } 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. // Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
/-window-rule { /-window-rule {
@@ -400,6 +421,8 @@ binds {
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } 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"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; } 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. // Open/close the Overview: a zoomed-out view of workspaces and windows.
// You can also move the mouse into the top-left hot corner, // You can also move the mouse into the top-left hot corner,

View File

@@ -201,36 +201,36 @@
"escape": true, "escape": true,
}, },
"custom/pl-taskbar": { "custom/pl-taskbar": {
"format": "" "format": ""
}, },
"custom/pl-workspaces": { "custom/pl-workspaces": {
"format": "" "format": ""
}, },
"custom/pl-window": { "custom/pl-window": {
"format": "" "format": ""
}, },
"custom/pl-swaync": { "custom/pl-swaync": {
"format": "" "format": ""
}, },
"custom/pl-clock": { "custom/pl-clock": {
"format": "" "format": ""
}, },
"custom/pl-idle": { "custom/pl-idle": {
"format": "" "format": ""
}, },
"custom/pl-stats": { "custom/pl-stats": {
"format": "" "format": ""
}, },
"custom/pl-pulse": { "custom/pl-pulse": {
"format": "" "format": ""
}, },
"custom/pl-tray": { "custom/pl-tray": {
"format": "" "format": ""
}, },
"custom/pl-swaync-before": { "custom/pl-swaync-before": {
"format": "" "format": ""
}, },
"custom/pl-idle-before": { "custom/pl-idle-before": {
"format": "" "format": ""
}, },
} }