niri: misc
This commit is contained in:
parent
08c55bd439
commit
77e5bfd750
@ -12,11 +12,14 @@ input {
|
|||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
tap
|
tap
|
||||||
|
// disable while typing
|
||||||
|
dwt
|
||||||
}
|
}
|
||||||
|
|
||||||
mouse {}
|
mouse {}
|
||||||
|
|
||||||
warp-mouse-to-focus
|
warp-mouse-to-focus
|
||||||
|
focus-follows-mouse max-scroll-amount="10%"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "HDMI-A-1" {
|
output "HDMI-A-1" {
|
||||||
@ -137,13 +140,8 @@ window-rule {
|
|||||||
block-out-from "screen-capture"
|
block-out-from "screen-capture"
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace "chat" {
|
|
||||||
open-on-output "HDMI-A-1"
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match title="discord"
|
match title="discord"
|
||||||
open-on-workspace "chat"
|
|
||||||
open-maximized true
|
open-maximized true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -157,7 +155,7 @@ binds {
|
|||||||
Alt+7 { focus-workspace 7; }
|
Alt+7 { focus-workspace 7; }
|
||||||
Alt+8 { focus-workspace 8; }
|
Alt+8 { focus-workspace 8; }
|
||||||
Alt+9 { focus-workspace 9; }
|
Alt+9 { focus-workspace 9; }
|
||||||
Alt+0 { focus-workspace "chat"; }
|
Alt+0 { focus-workspace 10; }
|
||||||
Alt+Shift+1 { move-column-to-workspace 1; }
|
Alt+Shift+1 { move-column-to-workspace 1; }
|
||||||
Alt+Shift+2 { move-column-to-workspace 2; }
|
Alt+Shift+2 { move-column-to-workspace 2; }
|
||||||
Alt+Shift+3 { move-column-to-workspace 3; }
|
Alt+Shift+3 { move-column-to-workspace 3; }
|
||||||
@ -167,7 +165,7 @@ binds {
|
|||||||
Alt+Shift+7 { move-column-to-workspace 7; }
|
Alt+Shift+7 { move-column-to-workspace 7; }
|
||||||
Alt+Shift+8 { move-column-to-workspace 8; }
|
Alt+Shift+8 { move-column-to-workspace 8; }
|
||||||
Alt+Shift+9 { move-column-to-workspace 9; }
|
Alt+Shift+9 { move-column-to-workspace 9; }
|
||||||
Alt+Shift+0 { move-column-to-workspace "chat"; }
|
Alt+Shift+0 { move-column-to-workspace 10; }
|
||||||
Alt+Shift+Slash { show-hotkey-overlay; }
|
Alt+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
|
||||||
Alt+Shift+Return { spawn "newterm.sh"; }
|
Alt+Shift+Return { spawn "newterm.sh"; }
|
||||||
@ -177,6 +175,8 @@ binds {
|
|||||||
Alt+Shift+D { spawn "qbprof" "dsc"; }
|
Alt+Shift+D { spawn "qbprof" "dsc"; }
|
||||||
Ctrl+Alt+L { spawn "swaylock"; }
|
Ctrl+Alt+L { spawn "swaylock"; }
|
||||||
|
|
||||||
|
Alt+V { spawn "style.sh"; }
|
||||||
|
|
||||||
Alt+Shift+Z { spawn "clipedit.sh"; }
|
Alt+Shift+Z { spawn "clipedit.sh"; }
|
||||||
Alt+Z { spawn "newterm.sh" "-e" "bookmk"; }
|
Alt+Z { spawn "newterm.sh" "-e" "bookmk"; }
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# window swallow emulation for Niri
|
# window swallow emulation for Niri
|
||||||
# (https://github.com/YaLTeR/niri/discussions/762)
|
# (https://github.com/YaLTeR/niri/discussions/762)
|
||||||
# requires at least commit d5cbc35
|
# requires at least commit d5cbc35 / version 0.1.10
|
||||||
#
|
#
|
||||||
# this script shrinks the terminal into a column with the new window.
|
# this script shrinks the terminal into a column with the new window.
|
||||||
# bind it in your shell as an alias like "hide".
|
# bind it in your shell as an alias like "hide".
|
||||||
@ -43,4 +43,4 @@ shift
|
|||||||
|
|
||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
niri msg action set-window-height --id "$TERM_ID" 100%
|
niri msg action reset-window-height --id "$TERM_ID"
|
||||||
|
Loading…
Reference in New Issue
Block a user