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

@@ -279,9 +279,9 @@ layout {
// This line starts waybar, a commonly used bar for Wayland compositors.
// 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 "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 {
DISPLAY ":0"
@@ -336,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
}
@@ -348,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 {
@@ -401,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

@@ -2,7 +2,7 @@
"layer": "top", // Waybar at top layer
"output": "DP-1", // Only display on on monitor
"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
"modules-left": [
"custom/logo",
@@ -41,7 +41,7 @@
},
"wlr/taskbar": {
"active-first": true,
"icon-size": 24,
"icon-size": 20,
"on-click": "activate",
"on-click-middle": "close",
"app_ids-mapping": {
@@ -58,7 +58,7 @@
}
},
"tray": {
// "icon-size": 21,
"icon-size": 20,
"spacing": 10
},
"clock": {
@@ -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": ""
},
}

View File

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