AutoYADM commit: 2025-03-03 14:40:14
This commit is contained in:
parent
f3efc2f71b
commit
e13ef22ffd
5 changed files with 187 additions and 15 deletions
|
@ -1,3 +1,6 @@
|
|||
workspace "music" {
|
||||
open-on-output "Dell"
|
||||
}
|
||||
// This config is in the KDL format: https://kdl.dev
|
||||
// "/-" comments out the following node.
|
||||
// Check the wiki for a full description of the configuration:
|
||||
|
@ -192,6 +195,10 @@ animations {
|
|||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules
|
||||
// Work around WezTerm's initial configure bug
|
||||
// by setting an empty default-column-width.
|
||||
window-rule {
|
||||
match app-id="^spotify$"
|
||||
open-on-workspace "music"
|
||||
}
|
||||
window-rule {
|
||||
// This regular expression is intentionally made as specific as possible,
|
||||
// since this is the default config, and we want no false positives.
|
||||
|
@ -264,6 +271,9 @@ environment {
|
|||
cursor {
|
||||
hide-when-typing
|
||||
}
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
binds {
|
||||
// Keys consist of modifiers separated by + signs, followed by an XKB key name
|
||||
// in the end. To find an XKB name for a particular key, you may use a program
|
||||
|
@ -449,10 +459,16 @@ binds {
|
|||
focus-workspace-up
|
||||
}
|
||||
Mod+L {
|
||||
focus-monitor-left
|
||||
move-workspace-down
|
||||
}
|
||||
Mod+U {
|
||||
focus-monitor-right
|
||||
move-workspace-up
|
||||
}
|
||||
Mod+J {
|
||||
move-workspace-to-monitor-left
|
||||
}
|
||||
Mod+Y {
|
||||
move-workspace-to-monitor-right
|
||||
}
|
||||
Mod+Ctrl+Page_Down {
|
||||
move-column-to-workspace-down
|
||||
|
@ -689,6 +705,10 @@ binds {
|
|||
// since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
|
||||
// Mod+Space { switch-layout "next"; }
|
||||
// Mod+Shift+Space { switch-layout "prev"; }
|
||||
// reload waybar
|
||||
Mod+Shift+W {
|
||||
spawn "systemctl" "--user" "restart" "waybar"
|
||||
}
|
||||
Mod+S {
|
||||
screenshot
|
||||
}
|
||||
|
@ -699,7 +719,10 @@ binds {
|
|||
screenshot-window
|
||||
}
|
||||
Mod+Alt+S {
|
||||
spawn "~/scripts/recorder.sh"
|
||||
spawn "~/scripts/recorder.sh" "screen"
|
||||
}
|
||||
Mod+Shift+Alt+S {
|
||||
spawn "~/scripts/recorder.sh" "region"
|
||||
}
|
||||
Mod+Tab {
|
||||
spawn "~/scripts/niri/window-picker.py"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue