2 Commits

Author SHA1 Message Date
Dan MacLeod
4def2c96e7 add intune to niri floating rule 2025-07-03 11:45:59 +09:30
Dan MacLeod
bfe91a5a67 added some window rules and changed waybar powerline separators 2025-07-02 21:32:41 +09:30
2 changed files with 34 additions and 14 deletions

View File

@@ -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"
@@ -335,6 +336,8 @@ window-rule {
match app-id=r#"zen$"# title="^Extension:"
match app-id=r#"com.nextcloud.desktopclient.nextcloud$"#
match app-id=r#"mako"#
match app-id="org.gnome.Nautilus" title="Open Folder"
match app-id="Intune-portal"
open-floating true
}
@@ -347,6 +350,21 @@ 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; }
}
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
@@ -400,6 +418,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,

View File

@@ -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": ""
},
}