This commit is contained in:
2026-02-09 09:17:08 -06:00
parent 9d18d477d5
commit 112ff5c88e
39 changed files with 1660 additions and 88 deletions

View File

@@ -21,13 +21,24 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="App Launcher" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "launcher" "toggle"; }
Mod+S hotkey-overlay-title="Control Center" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "controlCenter" "toggle"; }
//Mod+S hotkey-overlay-title="Control Center" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "controlCenter" "toggle"; }
Mod+L hotkey-overlay-title="Lock the Screen" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "lockScreen" "lock"; }
Mod+Escape hotkey-overlay-title="Power Options" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; }
Mod+E hotkey-overlay-title="File Manager" { spawn "nemo"; }
Mod+B hotkey-overlay-title="Firefox" { spawn "firefox-wayland"; }
Mod+V hotkey-overlay-title="Clipboard History" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "launcher" "clipboard"; }
//niri-sidebar
// Toggle the focused window into/out of the sidebar
Mod+X { spawn-sh "/usr/bin/niri-sidebar toggle-window"; }
// Toggle sidebar visibility (hide/show)
Mod+Shift+X { spawn-sh "/usr/bin/niri-sidebar toggle-visibility"; }
// Flip the order of the sidebar
Mod+Ctrl+X { spawn-sh "/usr/bin/niri-sidebar flip"; }
// Force reorder (useful if something gets misaligned manually)
Mod+Ctrl+Shift+X { spawn-sh "/usr/bin/niri-sidebar reorder"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
// For example, this is a standard bind to toggle the screen reader (orca).
@@ -90,10 +101,10 @@ binds {
// To avoid scrolling through workspaces really fast, you can use
// the cooldown-ms property. The bind will be rate-limited to this value.
// You can set a cooldown on any bind, but it's most useful for the wheel.
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
Mod+Shift+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+Shift+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
Mod+Ctrl+Shift+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
Mod+Ctrl+Shift+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
Mod+WheelScrollRight { focus-column-right; }
Mod+WheelScrollLeft { focus-column-left; }
@@ -102,10 +113,10 @@ binds {
// Usually scrolling up and down with Shift in applications results in
// horizontal scrolling; these binds replicate that.
Mod+Shift+WheelScrollDown { focus-column-right; }
Mod+Shift+WheelScrollUp { focus-column-left; }
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
Mod+WheelScrollDown { focus-column-right; }
Mod+WheelScrollUp { focus-column-left; }
Mod+Ctrl+WheelScrollDown { move-column-right; }
Mod+Ctrl+WheelScrollUp { move-column-left; }
// Similarly, you can bind touchpad scroll "ticks".
// Touchpad scrolling is continuous, so for these binds it is split into

View File

@@ -9,6 +9,7 @@ spawn-at-startup "/usr/bin/wireplumber"
spawn-at-startup "/usr/bin/pipewire-pulse"
spawn-at-startup "/usr/bin/nextcloud"
spawn-at-startup "/usr/bin/swayidle" "-w"
spawn-at-startup "~/.local/bin/niri-sidebar" "listen"
workspace "chat" {
open-on-output "DP-3"

View File

@@ -1,3 +1,7 @@
//Ensure theme is set
spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "gtk-theme" "'Adwaita-dark'"
spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "color-scheme" "'Adwaita-dark'"
// Settings that influence how windows are positioned and sized.
// Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Layout
@@ -56,7 +60,7 @@ layout {
// layer-shell panels and regular gaps.
struts {
// left 64
// right 64
// right 200
// top 64
// bottom 64
}
@@ -93,11 +97,11 @@ animations {
// enable transparency
window-rule {
match is-active=false
opacity 1.0 //inactive transparency
opacity 0.8 //inactive transparency
}
window-rule {
match is-active=true
opacity 1.0 //active transparency
opacity 0.95 //active transparency
}
window-rule {
draw-border-with-background false