5 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
Dan MacLeod
b4235351fa Updated primary niri config 2025-06-27 11:19:06 +09:30
danmac
aeeb00aaa9 fixed to minimise the waybar height 2025-06-26 23:03:38 +09:30
danmac
46c48602f6 updated danmac@rnet-beelink bg image 2025-06-26 22:00:07 +09:30
3 changed files with 40 additions and 20 deletions

View File

@@ -234,13 +234,13 @@ layout {
// radius. It has to assume that windows have square corners, leading to // radius. It has to assume that windows have square corners, leading to
// shadow artifacts inside the CSD rounded corners. This setting fixes // shadow artifacts inside the CSD rounded corners. This setting fixes
// those artifacts. // those artifacts.
// //
// However, instead you may want to set prefer-no-csd and/or // However, instead you may want to set prefer-no-csd and/or
// geometry-corner-radius. Then, niri will know the corner radius and // geometry-corner-radius. Then, niri will know the corner radius and
// draw the shadow correctly, without having to draw it behind the // draw the shadow correctly, without having to draw it behind the
// window. These will also remove client-side shadows if the window // window. These will also remove client-side shadows if the window
// draws any. // draws any.
// //
// draw-behind-window true // draw-behind-window true
// You can change how shadows look. The values below are in logical // You can change how shadows look. The values below are in logical
@@ -279,9 +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 "swaybg" "-m" "fill" "-i" "/usr/share/backgrounds/gnome/swoosh-l.jxl" 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 "swayidle" "-w" "timeout" "601" "niri msg action power-off-monitors" "timeout" "600" "swaylock -f -i /usr/share/backgrounds/gnome/swoosh-l.jxl" "before-sleep" "swaylock -f -i /usr/share/backgrounds/gnome/swoosh-l.jxl" spawn-at-startup "cosmic-app-library"
environment { environment {
DISPLAY ":0" DISPLAY ":0"
@@ -336,6 +336,8 @@ window-rule {
match app-id=r#"zen$"# title="^Extension:" match app-id=r#"zen$"# title="^Extension:"
match app-id=r#"com.nextcloud.desktopclient.nextcloud$"# match app-id=r#"com.nextcloud.desktopclient.nextcloud$"#
match app-id=r#"mako"# match app-id=r#"mako"#
match app-id="org.gnome.Nautilus" title="Open Folder"
match app-id="Intune-portal"
open-floating true open-floating true
} }
@@ -348,6 +350,21 @@ 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; }
}
// 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 {
@@ -401,6 +418,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

@@ -2,7 +2,7 @@
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"output": "DP-1", // Only display on on monitor "output": "DP-1", // Only display on on monitor
"position": "top", // Waybar position (top|bottom|left|right) "position": "top", // Waybar position (top|bottom|left|right)
"height": 36, // Waybar height (to be removed for auto height) "height": 28, // Waybar height (to be removed for auto height)
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"custom/logo", "custom/logo",
@@ -41,7 +41,7 @@
}, },
"wlr/taskbar": { "wlr/taskbar": {
"active-first": true, "active-first": true,
"icon-size": 24, "icon-size": 20,
"on-click": "activate", "on-click": "activate",
"on-click-middle": "close", "on-click-middle": "close",
"app_ids-mapping": { "app_ids-mapping": {
@@ -58,7 +58,7 @@
} }
}, },
"tray": { "tray": {
// "icon-size": 21, "icon-size": 20,
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
@@ -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": ""
}, },
} }

View File

@@ -12,6 +12,7 @@
#waybar { #waybar {
background-color: alpha(@base, 0.7); background-color: alpha(@base, 0.7);
/* background: transparent; */ /* background: transparent; */
margin: 0px;
} }
#custom-logo { #custom-logo {
@@ -19,7 +20,7 @@
background-color: @base; background-color: @base;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 24px; background-size: 40%;
padding: 0px 8px 0px 24px; padding: 0px 8px 0px 24px;
} }
@@ -34,7 +35,7 @@
#custom-pl-pulse, #custom-pl-pulse,
#custom-pl-idle-before, #custom-pl-idle-before,
#custom-pl-tray { #custom-pl-tray {
font-size: 26px; font-size: 21px;
} }
#workspaces *, #workspaces *,