Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

niri/cfg/keybinds.kdl

Raw
binds {
    Mod+F1 {
        show-hotkey-overlay
    }
    XF86Launch1 hotkey-overlay-title="Niri: Show hotkey overlay" {
        show-hotkey-overlay
    }
    Mod+Return hotkey-overlay-title="Open a Terminal: Wezterm" {
        spawn "uwsm" "app" "-s" "app-graphical.slice" "--" "wezterm" "start" "--always-new-process"
    }
    Mod+Space hotkey-overlay-title="Nuguland: launcher" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "nuguland" "openLauncher"
    }
    Mod+V repeat=false allow-inhibiting=false hotkey-overlay-title="Nuguland: vault" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "vault" "open"
    }
    Mod+grave repeat=false allow-inhibiting=false hotkey-overlay-title="Nuguland: noko capture" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "noko" "trigger"
    }
    Mod+Shift+O repeat=false hotkey-overlay-title="Nuguland: toggle bar orientation" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "nuguland" "setOrientation" "toggle"
    }
    Mod+B hotkey-overlay-title="Open Browser: firefox" {
        spawn "uwsm" "app" "-s" "app-graphical.slice" "--" "firefox"
    }
    Mod+A hotkey-overlay-title="Open Mail: aerc" {
        spawn "uwsm" "app" "-s" "app-graphical.slice" "--" "wezterm" "start" "--always-new-process" "--class" "aerc" "--" "aerc"
    }
    Mod+XF86Mail hotkey-overlay-title="Open Mail: aerc" {
        spawn "uwsm" "app" "-s" "app-graphical.slice" "--" "wezterm" "start" "--always-new-process" "--class" "aerc" "--" "aerc"
    }
    Mod+ALT+L hotkey-overlay-title="Nuguland: lock" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "nuguland" "lockRequest"
    }
    Mod+Shift+Q hotkey-overlay-title="Nuguland: power" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "nuguland" "openRegisteredPopout" "power"
    }
    Mod+TAB hotkey-overlay-title="Niri: Cycle right window" {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "sh" "-c" "niri msg action focus-column-right; niri msg action move-column-to-last; niri msg action focus-window-previous"
    }
    Mod+E hotkey-overlay-title="File Manager: Yazi" {
        spawn "uwsm" "app" "-s" "app-graphical.slice" "--" "wezterm" "start" "--always-new-process" "--" "yazi"
    }
    XF86AudioRaiseVolume allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "volume" "increase"
    }
    XF86AudioLowerVolume allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "volume" "decrease"
    }
    XF86AudioMute repeat=false allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "volume" "muteOutput"
    }
    XF86AudioMicMute repeat=false allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "volume" "muteInput"
    }
    XF86AudioNext allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "media" "next"
    }
    XF86AudioPrev allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "media" "previous"
    }
    XF86AudioPlay repeat=false allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "media" "playPause"
    }
    XF86AudioPause repeat=false allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "media" "playPause"
    }
    XF86MonBrightnessUp allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "brightness" "increase"
    }
    XF86MonBrightnessDown allow-when-locked=true {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "brightness" "decrease"
    }
    Mod+Q repeat=false {
        close-window
    }
    Mod+M repeat=false {
        maximize-column
    }
    Mod+F repeat=false {
        maximize-window-to-edges
    }
    Mod+Shift+F repeat=false {
        fullscreen-window
    }
    Mod+T repeat=false hotkey-overlay-title="Niri: toggle floating/tiling" {
        toggle-window-floating
    }
    Mod+W repeat=false hotkey-overlay-title="Niri: cycle column widths" {
        switch-preset-column-width
    }
    Mod+C {
        center-column
    }
    Mod+H {
        focus-column-left
    }
    Mod+L {
        focus-column-right
    }
    Super+WheelScrollUp cooldown-ms=150 {
        focus-column-right
    }
    Super+WheelScrollDown cooldown-ms=150 {
        focus-column-left
    }
    Mod+K {
        focus-window-up
    }
    Mod+J {
        focus-window-down
    }
    Mod+CTRL+H {
        move-column-left
    }
    Mod+CTRL+L {
        move-column-right
    }
    Mod+CTRL+K {
        move-window-up
    }
    Mod+CTRL+J {
        move-window-down
    }
    Mod+Shift+CTRL+Left {
        move-column-to-monitor-left
    }
    Mod+Shift+CTRL+Right {
        move-column-to-monitor-right
    }
    Mod+Shift+CTRL+UP {
        move-column-to-monitor-up
    }
    Mod+Shift+CTRL+Down {
        move-column-to-monitor-down
    }
    Mod+1 {
        focus-workspace "code"
    }
    Mod+2 {
        focus-workspace "media"
    }
    Mod+3 {
        focus-workspace "games"
    }
    Mod+4 {
        focus-workspace "browser"
    }
    Mod+5 {
        focus-workspace "vault"
    }
    Mod+Shift+1 {
        move-column-to-workspace "code"
    }
    Mod+Shift+2 {
        move-column-to-workspace "media"
    }
    Mod+Shift+3 {
        move-column-to-workspace "games"
    }
    Mod+Shift+4 {
        move-column-to-workspace "browser"
    }
    Mod+Shift+5 {
        move-column-to-workspace "vault"
    }
    Print {
        screenshot
    }
    Mod+S {
        screenshot
    }
    Mod+Ctrl+S {
        screenshot-window
    }
    Mod+Ctrl+Shift+S {
        screenshot-screen
    }
    Mod+Escape hotkey-overlay-title="Nuguland: dismiss toasts" allow-inhibiting=false {
        spawn "uwsm" "app" "-s" "session-graphical.slice" "--" "qs" "ipc" "-c" "nuguland" "call" "nuguland" "notificationsDismissToasts"
    }
    Mod+Shift+Escape repeat=false allow-inhibiting=false hotkey-overlay-title="Niri: toggle shortcut inhibition" {
        toggle-keyboard-shortcuts-inhibit
    }
    CTRL+ALT+Delete {
        quit
    }
    Mod+Shift+P {
        power-off-monitors
    }
    Mod+O repeat=false {
        toggle-overview
    }
}