IPC Commands

Complete reference of iNiR IPC targets and functions

iNiR exposes IPC targets you can call from Niri keybinds, scripts, or your terminal.

From terminal:

~code
qs -c ii ipc call <target> <function>

In Niri config:

~code
bind "Key" { spawn "qs" "-c" "ii" "ipc" "call" "<target>" "<function>"; }

Core Panels

#overview

Toggle the workspace overview panel.

~table
FunctionDescription
toggleOpen/close overview
~code
bind "Mod+Space" { spawn "qs" "-c" "ii" "ipc" "call" "overview" "toggle"; }

#overlay

The central overlay. Search, quick actions, widgets.

~table
FunctionDescription
toggleOpen/close overlay
~code
bind "Super+G" { spawn "qs" "-c" "ii" "ipc" "call" "overlay" "toggle"; }

#clipboard

Clipboard history panel.

~table
FunctionDescription
toggleOpen/close panel
openOpen panel
closeClose panel
~code
bind "Super+V" { spawn "qs" "-c" "ii" "ipc" "call" "clipboard" "toggle"; }

#altSwitcher

Alt+Tab window switcher. Works across workspaces.

~table
FunctionDescription
toggleToggle switcher
openOpen switcher
closeClose switcher
nextFocus next window
previousFocus previous window
~code
bind "Alt+Tab" { spawn "qs" "-c" "ii" "ipc" "call" "altSwitcher" "next"; }
bind "Alt+Shift+Tab" { spawn "qs" "-c" "ii" "ipc" "call" "altSwitcher" "previous"; }

Region Tools

#region

Region selection tools. Screenshots, OCR, recording.

~table
FunctionDescription
screenshotTake a region screenshot
searchImage search (Google Lens)
ocrOCR text recognition
recordRecord region (no audio)
recordWithSoundRecord region with audio
~code
bind "Super+Shift+S" { spawn "qs" "-c" "ii" "ipc" "call" "region" "screenshot"; }
bind "Super+Shift+X" { spawn "qs" "-c" "ii" "ipc" "call" "region" "ocr"; }
bind "Super+Shift+A" { spawn "qs" "-c" "ii" "ipc" "call" "region" "search"; }

#voiceSearch

Voice search using Gemini API. Records from microphone, transcribes, opens Google search.

~table
FunctionDescription
startStart recording
stopStop recording
toggleToggle recording
~code
// example — not bound by default
bind "Super+Shift+V" { spawn "qs" "-c" "ii" "ipc" "call" "voiceSearch" "toggle"; }

System

#session

Power menu. Logout, suspend, reboot, shutdown.

~table
FunctionDescription
toggleOpen/close session menu
~code
bind "Super+Shift+E" { spawn "qs" "-c" "ii" "ipc" "call" "session" "toggle"; }

#lock

Lock screen.

~table
FunctionDescription
activateLock the screen
~code
bind "Super+Alt+L" allow-when-locked=true { spawn "qs" "-c" "ii" "ipc" "call" "lock" "activate"; }

#settings

Open the settings window.

~table
FunctionDescription
openOpen settings window
~code
bind "Super+Comma" { spawn "qs" "-c" "ii" "ipc" "call" "settings" "open"; }

#cheatsheet

Keyboard shortcuts reference.

~table
FunctionDescription
toggleOpen/close cheatsheet
~code
bind "Super+Slash" { spawn "qs" "-c" "ii" "ipc" "call" "cheatsheet" "toggle"; }

UI Elements

#sidebarLeft

Left sidebar (AI chat, apps).

~table
FunctionDescription
toggleOpen/close left sidebar

#sidebarRight

Right sidebar (quick toggles, notepad, settings).

~table
FunctionDescription
toggleOpen/close right sidebar

#bar

Top bar visibility.

~table
FunctionDescription
toggleShow/hide bar

#wallpaperSelector

Wallpaper picker grid.

~table
FunctionDescription
toggleOpen/close wallpaper selector
~code
bind "Ctrl+Alt+T" { spawn "qs" "-c" "ii" "ipc" "call" "wallpaperSelector" "toggle"; }

#mediaControls

Floating media controls panel.

~table
FunctionDescription
toggleOpen/close media controls

Media Control

#mpris

Media player control. Automatically detects and uses YtMusic controls when active.

~table
FunctionDescription
pauseAllPause all players
playPauseToggle play/pause
previousPrevious track
nextNext track
~code
// shipped default
bind "Mod+Shift+P" { spawn "qs" "-c" "ii" "ipc" "call" "mpris" "playPause"; }
// hardware media keys also work (XF86AudioPlay, etc.)

#ytmusic

Direct YtMusic player control.

~table
FunctionDescription
playPauseToggle YtMusic play/pause
nextPlay next track
previousPlay previous track
stopStop playback

System Control

#audio

Volume and mute control.

~table
FunctionDescription
volumeUpIncrease volume
volumeDownDecrease volume
muteToggle speaker mute
micMuteToggle microphone mute

#brightness

Display brightness control.

~table
FunctionDescription
incrementIncrease brightness
decrementDecrease brightness

#zoom

Screen zoom for accessibility.

~table
FunctionDescription
zoomInIncrease zoom level
zoomOutDecrease zoom level

#gamemode

Performance mode for gaming. Auto-detects fullscreen apps and disables animations/effects.

~table
FunctionDescription
toggleToggle gamemode on/off
activateForce enable gamemode
deactivateForce disable gamemode
statusPrint current status to logs
~code
// example — not bound by default
bind "Super+F12" { spawn "qs" "-c" "ii" "ipc" "call" "gamemode" "toggle"; }

#panelFamily

Switch between panel styles (ii ↔ waffle).

~table
FunctionDescription
cycleCycle to next panel family
setSet specific family ("ii" or "waffle")
~code
bind "Mod+Shift+W" { spawn "qs" "-c" "ii" "ipc" "call" "panelFamily" "cycle"; }

#notifications

Notification management.

~table
FunctionDescription
testSend test notifications
clearAllDismiss all notifications
toggleSilentToggle Do Not Disturb mode

Waffle-Specific

These targets only work when using the Waffle (Windows 11) panel style.

Waffle start menu / search.

~table
FunctionDescription
toggleOpen/close start menu
openOpen start menu
closeClose start menu

#wactionCenter

Waffle action center (quick settings).

~table
FunctionDescription
toggleOpen/close action center

#wnotificationCenter

Waffle notification center.

~table
FunctionDescription
toggleOpen/close notification center

#wwidgets

Waffle widgets panel.

~table
FunctionDescription
toggleOpen/close widgets
openOpen widgets
closeClose widgets